package tlstunnel

  1. Overview
  2. Docs
Tunnel -- a TLS reverse proxy

Install

Dune Dependency

Authors

Maintainers

Sources

tlstunnel-0.2.0.tbz
sha256=c7c0c52197611c69fa551690570caa6def9b1432e74d61f313866ed1246b1703
md5=3702a4a7fcac59fb83dc9f9c6607f11c

Description

Who needs a stunnel if you have a tls tunnel?

tlstunnel is picky; it won't accept connections:

  • which do not contain the secure renegotiation extension
  • which speak SSL version 3
  • if the given certificate chain is not valid (or contains an X.509 version 1 certificate, or less than 1024 bits RSA public key

Published: 08 Apr 2018

README

TLS tunnel -- a TLS reverse proxy

Who needs a stunnel if you have a tls tunnel?

tlstunnel is picky; it won't accept connections:

  • which do not contain the secure renegotiation extension

  • which speak SSL version 3

  • if the given certificate chain is not valid (or contains an X.509 version 1 certificate, or less than 1024 bits RSA public key

Installation

You first need OCaml (at least 4.02.0) and OPAM (at least 1.2.2) from your distribution.

Run opam install tlstunnel after opam init finished.

Execution

A sample command line is:

tlstunnel -b 127.0.0.1:8080 -f 4433 -cert server.pem

which listens on TCP port 4433 with the given certificate chain and private key (both in server.pem), and forwards connections to 127.0.0.1 on port 8080.

An optional argument is -l FILE to log into a file instead of to stdout. Try --help for all command line arguments.

Dependencies (10)

  1. cmdliner
  2. sexplib
  3. lwt >= "3.0.0" & < "5.0.0"
  4. nocrypto >= "0.4.0"
  5. x509 >= "0.6.1" & < "0.7.0"
  6. tls >= "0.9.0" & < "1.0.0"
  7. topkg build
  8. ocamlbuild build
  9. ocamlfind build
  10. ocaml

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.