Skip to content

Commit c3e33d9

Browse files
authored
v1.6.3
1 parent 5b4efca commit c3e33d9

1 file changed

Lines changed: 22 additions & 18 deletions

File tree

‎README.rst‎

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ python-proxy
1212
.. |GitHub-stars| image:: https://img.shields.io/github/stars/qwj/python-proxy.svg?style=social&label=Star&maxAge=2592000
1313
:target: https://github.com/qwj/python-proxy/stargazers/
1414

15-
HTTP/Socks/Shadowsocks/ShadowsocksR/Redirect asynchronous tunnel proxy implemented in Python3 asyncio.
15+
HTTP/Socks4/Socks5/Shadowsocks/ShadowsocksR/Redirect asynchronous tunnel proxy implemented in Python3 asyncio.
1616

1717
QuickStart
1818
----------
@@ -22,7 +22,7 @@ QuickStart
2222
$ pip3 install pproxy
2323
Successfully installed pproxy-1.6
2424
$ pproxy
25-
Serving on :8080 by http,socks
25+
Serving on :8080 by http,socks4,socks5
2626
^C
2727
$ pproxy -i ss://chacha20:abc@:8080
2828
Serving on :8080 by ss (chacha20-py)
@@ -58,6 +58,7 @@ Features
5858
- PAC support for javascript configuration.
5959
- Iptables NAT redirect packet tunnel.
6060
- PyPy3 support with JIT speedup.
61+
- System proxy auto-setting support.
6162

6263
.. _One-Time-Auth: https://shadowsocks.org/en/spec/one-time-auth.html
6364

@@ -103,24 +104,25 @@ Usage
103104
104105
$ pproxy -h
105106
usage: pproxy [-h] [-i LISTEN] [-r RSERVER] [-b BLOCK] [-a ALIVED] [-v]
106-
[--ssl SSLFILE] [--pac PAC] [--get GETS] [--test TESTURL]
107-
[--version]
107+
[--ssl SSLFILE] [--pac PAC] [--get GETS] [--sys]
108+
[--test TESTURL] [--version]
108109
109110
Proxy server that can tunnel among remote servers by regex rules. Supported
110-
protocols: http,socks,shadowsocks,shadowsocksr,redirect
111+
protocols: http,socks4,socks5,shadowsocks,shadowsocksr,redirect
111112
112113
optional arguments:
113-
-h, --help show this help message and exit
114-
-i LISTEN proxy server setting uri (default: http+socks://:8080/)
115-
-r RSERVER remote server setting uri (default: direct)
116-
-b BLOCK block regex rules
117-
-a ALIVED interval to check remote alive (default: no check)
118-
-v print verbose output
119-
--ssl SSLFILE certfile[,keyfile] if server listen in ssl mode
120-
--pac PAC http PAC path
121-
--get GETS http custom {path,file}
122-
--test TESTURL test this url for all remote proxies and exit
123-
--version show program's version number and exit
114+
-h, --help show this help message and exit
115+
-i LISTEN proxy server setting uri (default: http+socks://:8080/)
116+
-r RSERVER remote server setting uri (default: direct)
117+
-b BLOCK block regex rules
118+
-a ALIVED interval to check remote alive (default: no check)
119+
-v print verbose output
120+
--ssl SSLFILE certfile[,keyfile] if server listen in ssl mode
121+
--pac PAC http PAC path
122+
--get GETS http custom {path,file}
123+
--sys change system proxy setting (mac, windows)
124+
--test TEST test this url for all remote proxies and exit
125+
--version show program's version number and exit
124126
125127
Online help: <https://github.com/qwj/python-proxy>
126128
@@ -135,7 +137,9 @@ URI Syntax
135137
+--------+-----------------------------+
136138
| http | http protocol |
137139
+--------+-----------------------------+
138-
| socks | socks5 protocol |
140+
| socks4 | socks4 protocol |
141+
+--------+-----------------------------+
142+
| socks5 | socks5 protocol |
139143
+--------+-----------------------------+
140144
| ss | shadowsocks protocol |
141145
+--------+-----------------------------+
@@ -150,7 +154,7 @@ URI Syntax
150154
| direct | direct connection |
151155
+--------+-----------------------------+
152156

153-
- Valid schemes: http://, http+socks://, http+ssl://, ss+secure://, http+socks+ss://
157+
- Valid schemes: http://, http+socks4+socks5://, http+ssl://, ss+secure://, http+socks5+ss://
154158
- Invalid schemes: ssl://, secure://
155159
- cipher
156160
- Cipher is consisted by cipher name, colon ':' and cipher key.

0 commit comments

Comments
 (0)