proxy server in python with upstream support
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

A simple proxy server with configurable upstream proxy support.


./ -u socks://localhost:1080
./ -u rules:rules.lst

The rules file looks like the following:

.*twitter\.com socks://localhost:2091
.*twimg\.com socks://localhost:2091

.*tsinghua\.edu\.cn direct:

.* socks://localhost:2090

To Do

+ HttpProxyConnector
+ Keep-alive connections (both proxy connection and outgoing connection)
+ Authentication