Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22466

"Morphex's Blogologue": A simple TCP Proxy

$
0
0
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.

Viewing all articles
Browse latest Browse all 22466

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>