]> ruderich.org/simon Gitweb - tlsproxy/tlsproxy.git/log
tlsproxy/tlsproxy.git
13 years agoNEWS: Add. 0.1
Simon Ruderich [Fri, 11 Mar 2011 23:55:51 +0000 (00:55 +0100)]
NEWS: Add.

13 years agoREADME: Add.
Simon Ruderich [Fri, 11 Mar 2011 23:49:34 +0000 (00:49 +0100)]
README: Add.

13 years agotests/tests.sh: Add missing license.
Simon Ruderich [Fri, 11 Mar 2011 23:21:33 +0000 (00:21 +0100)]
tests/tests.sh: Add missing license.

13 years ago.gitignore: Ignore .o files.
Simon Ruderich [Fri, 11 Mar 2011 23:15:47 +0000 (00:15 +0100)]
.gitignore: Ignore .o files.

13 years ago.gitignore: Ignore files created by tests/.
Simon Ruderich [Fri, 11 Mar 2011 23:15:27 +0000 (00:15 +0100)]
.gitignore: Ignore files created by tests/.

13 years ago.gitignore: Use absolute paths, starting from repository root.
Simon Ruderich [Fri, 11 Mar 2011 23:13:30 +0000 (00:13 +0100)]
.gitignore: Use absolute paths, starting from repository root.

13 years agotests: Add. Test basic behavior.
Simon Ruderich [Fri, 11 Mar 2011 23:12:29 +0000 (00:12 +0100)]
tests: Add. Test basic behavior.

13 years agosrc/tlsproxy.c: Only handle SIGINT in DEBUG mode.
Simon Ruderich [Fri, 11 Mar 2011 21:46:55 +0000 (22:46 +0100)]
src/tlsproxy.c: Only handle SIGINT in DEBUG mode.

It's useful for valgrind in DEBUG mode, but makes it more difficult to
terminate tlsproxy (Ctrl-C no longer works) in case of a
stalled/unfinished connection.

13 years agosrc/tlsproxy-add: Add, adds server certificates to tlsproxy.
Simon Ruderich [Fri, 11 Mar 2011 21:37:54 +0000 (22:37 +0100)]
src/tlsproxy-add: Add, adds server certificates to tlsproxy.

13 years agosrc/tlsproxy-setup: Print message when done.
Simon Ruderich [Fri, 11 Mar 2011 21:37:34 +0000 (22:37 +0100)]
src/tlsproxy-setup: Print message when done.

13 years agosrc/Makefile.am: Distribute tlsproxy-setup.
Simon Ruderich [Fri, 11 Mar 2011 02:42:42 +0000 (03:42 +0100)]
src/Makefile.am: Distribute tlsproxy-setup.

13 years agosrc/tlsproxy-setup.sh: Rename to tlsproxy-setup.
Simon Ruderich [Fri, 11 Mar 2011 02:41:13 +0000 (03:41 +0100)]
src/tlsproxy-setup.sh: Rename to tlsproxy-setup.

13 years agosrc/tlsproxy.c: Fix error message.
Simon Ruderich [Fri, 11 Mar 2011 02:26:36 +0000 (03:26 +0100)]
src/tlsproxy.c: Fix error message.

13 years agosrc/connection.c: Fix memory leak in initialize_tls_session_*().
Simon Ruderich [Fri, 11 Mar 2011 02:22:29 +0000 (03:22 +0100)]
src/connection.c: Fix memory leak in initialize_tls_session_*().

13 years agosrc/tlsproxy-setup.sh: Add. Creates files to use tlsproxy.
Simon Ruderich [Fri, 11 Mar 2011 02:03:50 +0000 (03:03 +0100)]
src/tlsproxy-setup.sh: Add. Creates files to use tlsproxy.

13 years agosrc/connection.c: Use "invalid" certificate when the server certificate changes.
Simon Ruderich [Fri, 11 Mar 2011 02:02:00 +0000 (03:02 +0100)]
src/connection.c: Use "invalid" certificate when the server certificate changes.

This special "invalid" certificate lets the client know there was a
problem.

13 years agoVerify the server certificate against a stored copy.
Simon Ruderich [Thu, 10 Mar 2011 23:26:08 +0000 (00:26 +0100)]
Verify the server certificate against a stored copy.

13 years agosrc/connection.c: Finish the TLS connection instead of closing it.
Simon Ruderich [Thu, 10 Mar 2011 23:20:06 +0000 (00:20 +0100)]
src/connection.c: Finish the TLS connection instead of closing it.

This ensures the transmission was complete.

13 years agosrc/connection.c: Move path related defines to tlsproxy.h.
Simon Ruderich [Thu, 10 Mar 2011 23:18:36 +0000 (00:18 +0100)]
src/connection.c: Move path related defines to tlsproxy.h.

Thus all file constants are stored in one place.

13 years agosrc/: Move log related functions/defines to log.[hc].
Simon Ruderich [Thu, 10 Mar 2011 22:17:49 +0000 (23:17 +0100)]
src/: Move log related functions/defines to log.[hc].

13 years agoIntercept TLS connections between client and server.
Simon Ruderich [Tue, 8 Mar 2011 02:47:29 +0000 (03:47 +0100)]
Intercept TLS connections between client and server.

Talk to the client as TLS server and to the server as TLS client and
transferring data transparently between them.

_No_ fingerprint validation of the server certificate is done yet!

13 years agosrc/tlsproxy.c: Ignore SIGPIPEs.
Simon Ruderich [Tue, 8 Mar 2011 02:17:14 +0000 (03:17 +0100)]
src/tlsproxy.c: Ignore SIGPIPEs.

13 years agosrc/connection.c: Align WARNING (now "WARN ") in log_message().
Simon Ruderich [Mon, 7 Mar 2011 20:30:09 +0000 (21:30 +0100)]
src/connection.c: Align WARNING (now "WARN ") in log_message().

13 years agosrc/connection.c: Close connections only in one place.
Simon Ruderich [Mon, 7 Mar 2011 20:29:05 +0000 (21:29 +0100)]
src/connection.c: Close connections only in one place.

13 years agosrc/: Improve debug output/logging.
Simon Ruderich [Mon, 7 Mar 2011 19:59:29 +0000 (20:59 +0100)]
src/: Improve debug output/logging.

13 years agosrc/: Prefix all global variables with global_.
Simon Ruderich [Mon, 7 Mar 2011 17:06:56 +0000 (18:06 +0100)]
src/: Prefix all global variables with global_.

13 years agosrc/tlsproxy.c: Fix missing -t in print_usage().
Simon Ruderich [Mon, 7 Mar 2011 17:05:17 +0000 (18:05 +0100)]
src/tlsproxy.c: Fix missing -t in print_usage().

13 years agosrc/connection.c: Fix switched variables in read_from_write_to().
Simon Ruderich [Mon, 7 Mar 2011 16:47:05 +0000 (17:47 +0100)]
src/connection.c: Fix switched variables in read_from_write_to().

13 years agosrc/connection.c: Add missing close() in handle_connection().
Simon Ruderich [Mon, 7 Mar 2011 16:46:07 +0000 (17:46 +0100)]
src/connection.c: Add missing close() in handle_connection().

13 years agosrc/connection.c: Minor source comment fixes.
Simon Ruderich [Mon, 7 Mar 2011 16:45:10 +0000 (17:45 +0100)]
src/connection.c: Minor source comment fixes.

13 years agosrc/*.c: Always use constants on the left in comparisons.
Simon Ruderich [Mon, 7 Mar 2011 05:52:41 +0000 (06:52 +0100)]
src/*.c: Always use constants on the left in comparisons.

13 years agosrc/tlsproxy.c: Improve command line argument error messages.
Simon Ruderich [Mon, 7 Mar 2011 05:33:05 +0000 (06:33 +0100)]
src/tlsproxy.c: Improve command line argument error messages.

13 years agosrc/*: Cleanup includes.
Simon Ruderich [Mon, 7 Mar 2011 00:41:06 +0000 (01:41 +0100)]
src/*: Cleanup includes.

13 years agosrc/*: Split src/tlsproxy.c in several files.
Simon Ruderich [Mon, 7 Mar 2011 00:31:16 +0000 (01:31 +0100)]
src/*: Split src/tlsproxy.c in several files.

13 years agoconfigure.ac: Simpler check for libraries.
Simon Ruderich [Sun, 6 Mar 2011 15:21:22 +0000 (16:21 +0100)]
configure.ac: Simpler check for libraries.

13 years agosrc/tlsproxy.c: Add thread support.
Simon Ruderich [Sun, 6 Mar 2011 01:39:05 +0000 (02:39 +0100)]
src/tlsproxy.c: Add thread support.

By default 10 threads are spawned.

13 years agosrc/tlsproxy.c: Fix wrong timeout for poll(), -1 is infinity.
Simon Ruderich [Sun, 6 Mar 2011 00:34:55 +0000 (01:34 +0100)]
src/tlsproxy.c: Fix wrong timeout for poll(), -1 is infinity.

13 years ago.gitignore: Also ignore config.h.in~.
Simon Ruderich [Sat, 5 Mar 2011 23:12:47 +0000 (00:12 +0100)]
.gitignore: Also ignore config.h.in~.

13 years agosrc/tlsproxy.c: Fix possible warning.
Simon Ruderich [Sat, 5 Mar 2011 22:25:47 +0000 (23:25 +0100)]
src/tlsproxy.c: Fix possible warning.

13 years agoSwitch to GNU autotools.
Simon Ruderich [Sat, 5 Mar 2011 22:16:55 +0000 (23:16 +0100)]
Switch to GNU autotools.

13 years agotlsproxy.c: Free resources when receiving SIGINT.
Simon Ruderich [Sun, 27 Feb 2011 13:36:12 +0000 (14:36 +0100)]
tlsproxy.c: Free resources when receiving SIGINT.

13 years agotlsproxy.c: Use getopt() to parse command line arguments.
Simon Ruderich [Sun, 27 Feb 2011 02:44:36 +0000 (03:44 +0100)]
tlsproxy.c: Use getopt() to parse command line arguments.

13 years agoMakefile: Add.
Simon Ruderich [Sun, 27 Feb 2011 01:54:35 +0000 (02:54 +0100)]
Makefile: Add.

13 years agotlsproxy.c: Add more debug output.
Simon Ruderich [Sun, 27 Feb 2011 01:47:56 +0000 (02:47 +0100)]
tlsproxy.c: Add more debug output.

13 years agotlsproxy.c: Add -proxy command line option to use another TLS proxy.
Simon Ruderich [Sun, 27 Feb 2011 01:47:01 +0000 (02:47 +0100)]
tlsproxy.c: Add -proxy command line option to use another TLS proxy.

13 years agotlsproxy.c: Add read_http_request().
Simon Ruderich [Sun, 27 Feb 2011 01:22:05 +0000 (02:22 +0100)]
tlsproxy.c: Add read_http_request().

13 years agoInitial commit.
Simon Ruderich [Sun, 27 Feb 2011 00:30:56 +0000 (01:30 +0100)]
Initial commit.

tlsproxy is (at the moment) a transparent TLS proxy for HTTPS
connections.