thinxer / tornado-proxy-server

proxy server in python with upstream support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A simple proxy server with configurable upstream proxy support.

Usages

./server.py
./server.py -u socks://localhost:1080
./server.py -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

About

proxy server in python with upstream support


Languages

Language:Python 100.0%