A simple TCP Proxy
So as I was working on the SMPS, simple message passing system, I looked at ways of protecting it on the public net.Port knocking was one thing I looked at, and although it looked fine, I thought this was an opportunity to hone my Python/programming skills, and freshen up a bit on programming.
So I ended up writing a simple TCP proxy, and a working copy is here:
https://github.com/morphex/stp/tree/e781e84eee7b510879593d1a...
The test_http.sh script will setup a proxy in front of a local webserver.
The STP seems a bit sluggish when a lot of connections are made, but I'll have a look at how to optimize that performance.
[Permalink] [By morphex] [An SSL TCP client/server implementation in Python (Atom feed)] [26 Jul 23:52 Europe/Oslo]