11python-proxy
22============
33
4- |made-with-python | |PyPI version fury.io | |PyPI license | |HitCount | |GitHub stars |
4+ |made-with-python | |PyPI- version | |PyPI- license | |PyPI-format | |Hit-Count | | GitHub- stars |
55
66.. |made-with-python | image :: https://img.shields.io/badge/Made%20with-Python-1f425f.svg
77 :target: https://www.python.org/
8- .. |PyPI version fury.io | image :: https://badge.fury.io/py/ansicolortags .svg
8+ .. |PyPI- version | image :: https://badge.fury.io/py/pproxy .svg
99 :target: https://pypi.python.org/pypi/pproxy/
10- .. |PyPI license | image :: https://img.shields.io/pypi/l/ansicolortags .svg
10+ .. |PyPI- license | image :: https://img.shields.io/pypi/l/pproxy .svg
1111 :target: https://pypi.python.org/pypi/pproxy/
12- .. |HitCount | image :: http://hits.dwyl.io/qwj/badges.svg
13- :target: http://hits.dwyl.io/qwj/badges
14- .. |GitHub stars | image :: https://img.shields.io/github/stars/qwj/python-proxy.svg?style=social&label=Star&maxAge=2592000
12+ .. |PyPI-format | image :: https://img.shields.io/pypi/format/pproxy.svg
13+ :target: https://pypi.python.org/pypi/pproxy/
14+ .. |Hit-Count | image :: http://hits.dwyl.io/qwj/python-proxy.svg
15+ :target: https://pypi.python.org/pypi/pproxy/
16+ .. |GitHub-stars | image :: https://img.shields.io/github/stars/qwj/python-proxy.svg?style=social&label=Star&maxAge=2592000
1517 :target: https://github.com/qwj/python-proxy/stargazers/
1618
1719HTTP/Socks/Shadowsocks/ShadowsocksR/Redirect asynchronous tunnel proxy implemented in Python3 asyncio.
@@ -21,9 +23,15 @@ QuickStart
2123
2224.. code :: rst
2325
24- $ pip3 install pproxy
26+ $ pip3 install pproxy pycryptodome
27+ Successfully installed pproxy-1.4.2 pycryptodome-3.6.4
2528 $ pproxy
26- Serving on :8080 by http,socks
29+ Serving on :8080 by http,socks
30+ ^C
31+ $ pproxy -i ss://chacha20:abc@:8080 -r ss://aes-256-cfb:123@12.34.56.78:8000 -v
32+ Serving on :8080 by ss (chacha20)
33+ DIRECT: 0 (0.0K/s,0.0K/s) PROXY: 5 (5.0K/s,8.0K/s)
34+
2735
2836 Features
2937--------
@@ -144,75 +152,75 @@ URI Syntax
144152 - Cipher is consisted by cipher name, colon ':' and cipher key.
145153 - Full supported cipher list: (Pure python ciphers has ciphername suffix -py)
146154
147- +-----------------+------------+-----------+-------------+
148- | Cipher | Key Length | IV Length | Score (0-5) |
149- +=================+============+===========+=============+
150- | table-py | any | 0 | 0 (lowest) |
151- +-----------------+------------+-----------+-------------+
152- | rc4, rc4-py | 16 | 0 | 0 (lowest) |
153- +-----------------+------------+-----------+-------------+
154- | rc4-md5 | 16 | 16 | 0.5 |
155- | | | | |
156- | rc4-md5-py | | | |
157- +-----------------+------------+-----------+-------------+
158- | chacha20 | 32 | 8 | 5 (highest) |
159- | | | | |
160- | chacha20-py | | | |
161- +-----------------+------------+-----------+-------------+
162- | chacha20-ietf-py| 32 | 12 | 5 |
163- +-----------------+------------+-----------+-------------+
164- | salsa20 | 32 | 8 | 4.5 |
165- | | | | |
166- | salsa20-py | | | |
167- +-----------------+------------+-----------+-------------+
168- | aes-128-cfb | 16 | 16 | 3 |
169- | | | | |
170- | aes-128-cfb-py | | | |
171- | | | | |
172- | aes-128-cfb8-py | | | |
173- | | | | |
174- | aes-128-cfb1-py | | | |
175- +-----------------+------------+-----------+-------------+
176- | aes-192-cfb | 24 | 16 | 3.5 |
177- | | | | |
178- | aes-192-cfb-py | | | |
179- | | | | |
180- | aes-192-cfb8-py | | | |
181- | | | | |
182- | aes-192-cfb1-py | | | |
183- +-----------------+------------+-----------+-------------+
184- | aes-256-cfb | 32 | 16 | 4.5 |
185- | | | | |
186- | aes-256-cfb-py | | | |
187- | | | | |
188- | aes-256-ctr-py | | | |
189- | | | | |
190- | aes-256-ofb-py | | | |
191- | | | | |
192- | aes-256-cfb8-py | | | |
193- | | | | |
194- | aes-256-cfb1-py | | | |
195- +-----------------+------------+-----------+-------------+
196- | camellia-256-cfb| 32 | 16 | 4 |
197- | | | | |
198- | camellia-192-cfb| 24 | 16 | 4 |
199- | | | | |
200- | camellia-128-cfb| 16 | 16 | 4 |
201- +-----------------+------------+-----------+-------------+
202- | bf-cfb | 16 | 8 | 1 |
203- | | | | |
204- | bf-cfb-py | | | |
205- +-----------------+------------+-----------+-------------+
206- | cast5-cfb | 16 | 8 | 2.5 |
207- +-----------------+------------+-----------+-------------+
208- | des-cfb | 8 | 8 | 1.5 |
209- +-----------------+------------+-----------+-------------+
210- | rc2-cfb-py | 16 | 8 | 2 |
211- +-----------------+------------+-----------+-------------+
212- | idea-cfb-py | 16 | 8 | 2.5 |
213- +-----------------+------------+-----------+-------------+
214- | seed-cfb-py | 16 | 16 | 2 |
215- +-----------------+------------+-----------+-------------+
155+ +-----------------+------------+-----------+-------------+
156+ | Cipher | Key Length | IV Length | Score (0-5) |
157+ +=================+============+===========+=============+
158+ | table-py | any | 0 | 0 (lowest) |
159+ +-----------------+------------+-----------+-------------+
160+ | rc4, rc4-py | 16 | 0 | 0 (lowest) |
161+ +-----------------+------------+-----------+-------------+
162+ | rc4-md5 | 16 | 16 | 0.5 |
163+ | | | | |
164+ | rc4-md5-py | | | |
165+ +-----------------+------------+-----------+-------------+
166+ | chacha20 | 32 | 8 | 5 (highest) |
167+ | | | | |
168+ | chacha20-py | | | |
169+ +-----------------+------------+-----------+-------------+
170+ | chacha20-ietf-py| 32 | 12 | 5 |
171+ +-----------------+------------+-----------+-------------+
172+ | salsa20 | 32 | 8 | 4.5 |
173+ | | | | |
174+ | salsa20-py | | | |
175+ +-----------------+------------+-----------+-------------+
176+ | aes-128-cfb | 16 | 16 | 3 |
177+ | | | | |
178+ | aes-128-cfb-py | | | |
179+ | | | | |
180+ | aes-128-cfb8-py | | | |
181+ | | | | |
182+ | aes-128-cfb1-py | | | |
183+ +-----------------+------------+-----------+-------------+
184+ | aes-192-cfb | 24 | 16 | 3.5 |
185+ | | | | |
186+ | aes-192-cfb-py | | | |
187+ | | | | |
188+ | aes-192-cfb8-py | | | |
189+ | | | | |
190+ | aes-192-cfb1-py | | | |
191+ +-----------------+------------+-----------+-------------+
192+ | aes-256-cfb | 32 | 16 | 4.5 |
193+ | | | | |
194+ | aes-256-cfb-py | | | |
195+ | | | | |
196+ | aes-256-ctr-py | | | |
197+ | | | | |
198+ | aes-256-ofb-py | | | |
199+ | | | | |
200+ | aes-256-cfb8-py | | | |
201+ | | | | |
202+ | aes-256-cfb1-py | | | |
203+ +-----------------+------------+-----------+-------------+
204+ | camellia-256-cfb| 32 | 16 | 4 |
205+ | | | | |
206+ | camellia-192-cfb| 24 | 16 | 4 |
207+ | | | | |
208+ | camellia-128-cfb| 16 | 16 | 4 |
209+ +-----------------+------------+-----------+-------------+
210+ | bf-cfb | 16 | 8 | 1 |
211+ | | | | |
212+ | bf-cfb-py | | | |
213+ +-----------------+------------+-----------+-------------+
214+ | cast5-cfb | 16 | 8 | 2.5 |
215+ +-----------------+------------+-----------+-------------+
216+ | des-cfb | 8 | 8 | 1.5 |
217+ +-----------------+------------+-----------+-------------+
218+ | rc2-cfb-py | 16 | 8 | 2 |
219+ +-----------------+------------+-----------+-------------+
220+ | idea-cfb-py | 16 | 8 | 2.5 |
221+ +-----------------+------------+-----------+-------------+
222+ | seed-cfb-py | 16 | 16 | 2 |
223+ +-----------------+------------+-----------+-------------+
216224
217225 - Some pure python ciphers (aes-256-cfb1-py) is quite slow, and is not recommended to use without PyPy speedup. Try install pycryptodome _ and use C version cipher instead.
218226 - To enable OTA encryption with shadowsocks, add '!' immediately after cipher name.
0 commit comments