Go to file
2012-04-22 13:35:08 +02:00
extra Revert CDP syntax to be OpenSSL 0.9.x compatible 2012-04-18 00:05:15 +02:00
.gitignore Add test server cert with OCSP and CDP extensions 2012-04-17 22:44:06 +02:00
attrib.h Add __attribute__((pure)) 2012-04-22 13:25:57 +02:00
BSDmakefile Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cache.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cache.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachedsess.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachedsess.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachedsess.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachefkcrt.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachefkcrt.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachefkcrt.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachemgr.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachemgr.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachemgr.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachessess.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachessess.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachessess.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachetgcrt.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachetgcrt.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cachetgcrt.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cert.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cert.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
cert.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
dynbuf.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
dynbuf.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
GNUmakefile Add test server cert with OCSP and CDP extensions 2012-04-17 22:44:06 +02:00
khash.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
log.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
log.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
logbuf.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
logbuf.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
logger.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
logger.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
main.c Move volatile build-time information into separate compilation unit 2012-04-13 22:40:36 +02:00
main.t Use FORCE target to force rebuild of version.o 2012-04-13 22:55:48 +02:00
nat.c Undefine IPv6 compat defs to fix nat_version() 2012-04-13 21:14:33 +02:00
nat.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
opts.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
opts.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
opts.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
proxy.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
proxy.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
pxyconn.c Skip whitespace when parsing HTTP headers 2012-04-22 13:35:08 +02:00
pxyconn.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
pxysslshut.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
pxysslshut.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
pxythrmgr.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
pxythrmgr.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
README Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
ssl.c Refactor ssl_x509_names_to_str() for maintainability 2012-04-17 23:35:43 +02:00
ssl.h Refactor ssl_x509_names_to_str() for maintainability 2012-04-17 23:35:43 +02:00
ssl.t Refactor ssl_x509_names_to_str() for maintainability 2012-04-17 23:35:43 +02:00
sslsplit.1 Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
sys.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
sys.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
sys.t Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
thrqueue.c Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
thrqueue.h Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
TODO Initial import of sslsplit-0.4.2 2012-04-13 14:47:30 +02:00
util.c Skip whitespace when parsing HTTP headers 2012-04-22 13:35:08 +02:00
util.h Skip whitespace when parsing HTTP headers 2012-04-22 13:35:08 +02:00
version.c Move volatile build-time information into separate compilation unit 2012-04-13 22:40:36 +02:00
version.h Move volatile build-time information into separate compilation unit 2012-04-13 22:40:36 +02:00

SSLsplit - transparent and scalable SSL/TLS interception
Copyright (C) 2009-2012, Daniel Roethlisberger <daniel@roe.ch>
http://www.roe.ch/SSLsplit


## Overview

SSLsplit is a tool for man-in-the-middle attacks against SSL/TLS encrypted
network connections.  Connections are transparently intercepted through a
network address translation engine and redirected to SSLsplit.  SSLsplit
terminates SSL/TLS and initiates a new SSL/TLS connection to the original
destination address, while logging all data transmitted.

SSLsplit supports plain TCP, plain SSL, HTTP and HTTPS connections over both
IPv4 and IPv6.  For SSL and HTTPS connections, SSLsplit generates and signs
forged X509v3 certificates on-the-fly, based on the original server certificate
subject DN and subjectAltName extension.  SSLsplit fully supports Server Name
Indication (SNI) and is able to work with RSA, DSA and ECDSA keys and DHE and
ECDHE cipher suites.  SSLsplit can also use existing certificates of which the
private key is available, instead of generating forged ones.  SSLsplit supports
NULL-prefix CN certificates.

See the manual page sslsplit(1) for details on using SSLsplit and setting up
the various NAT engines.


## Requirements

SSLsplit depends on the OpenSSL and libevent 2.x libraries.
The build depends on GNU make and a POSIX.2 environment in PATH.
The (optional) unit tests depend on check.

SSLsplit currently supports the following operating systems and NAT engines:
-   FreeBSD: pf rdr, ipfw fwd, ipfilter rdr
-   OpenBSD: pf rdr
-   Linux: netfilter REDIRECT and TPROXY
-   Mac OS X: ipfw fwd


## Installation

make
make test       # optional unit tests
make install    # optional install

Dependencies are autoconfigured using pkgconfig.  If dependencies are not
picked up, you can specify their respective locations manually by setting
OPENSSL_BASE, LIBEVENT_BASE and/or CHECK_BASE to the respective prefixes.

You can override the default install prefix (/usr/local) by setting PREFIX.


## Development

SSLsplit is being developed on Github.  For bug reports, please use the Github
issue tracker.  For patch submissions, please send me pull requests.

https://github.com/droe/sslsplit


## License

SSLsplit is provided under the simplified BSD license.
SSLsplit contains components licensed under the MIT license.
See the respective source file headers for details.


## Credits

SSLsplit was inspired by ssl-mitm by Claes M. Nyberg and sslsniff by Moxie
Marlinspike, but shares no source code with them.

SSLsplit includes khash by Attractive Chaos (khash.h).