snail007 6 mēneši atpakaļ
vecāks
revīzija
e78c56389b
4 mainītis faili ar 86 papildinājumiem un 16 dzēšanām
  1. 21 4
      README.md
  2. 22 4
      README_ZH.md
  3. 21 4
      docs/manual/manual.md
  4. 22 4
      docs/manual/zh/manual.md

+ 21 - 4
README.md

@@ -400,7 +400,24 @@ Description:
 
 5.`#` at the beginning of the comment.
 
-### 12. Client IP Blacklist and Whitelist
+### 12. Port Black List 
+
+socks/http(s)/sps proxy all support port blacklist. 
+
+Use the `--stop-port` parameter to specify a port blacklist file, then when the user connects to the ports in the file, the connection can be made. 
+
+The port blacklist file content format is as follows: 
+
+```text 
+3306  
+22 
+``` 
+
+Note: 
+1. One port per line. 
+2. The ones starting with `#` are comments.
+
+### 13. Client IP Blacklist and Whitelist
 
 socks/http(s)/sps/tcp/udp/dns/ intranet penetration bridge/intranet penetration tbridge, support client IP black and white list.
 
@@ -424,7 +441,7 @@ Description:
 
 2.`#` at the beginning of the comment.
 
-### 13. Protocol loading file
+### 14. Protocol loading file
 
 There are many places in the proxy's various proxy functions to set a file. For example: --blocked Specifies a domain name list file that goes directly to the upper level. The parameter value is the path of the file.
 
@@ -437,11 +454,11 @@ b. "str://" at the beginning of the English comma separated multiple, such as: s
 The proxy's blocked, direct, stop, only, hosts, resolve.rules, rewriter.rules, ip.allow, ip.deny files support protocol loading.
 
 
-### 14.Concurrent client connections
+### 15. Concurrent client connections
 
 socks5\sps\http proxies, the parameter that controls the number of concurrent client connections is: `--max-conns-rate`, which controls the maximum number of client connections per second, default: 20, 0 is unlimited
 
-### 15 Listen on multiple ports
+### 16. Listen on multiple ports
 
 "tcp / http / socks / sps" supports listen on multiple ports and range ports.
 Under normal circumstances, it is sufficient to listen on one port, but if you need to listen on multiple ports, the -p parameter is supported.

+ 22 - 4
README_ZH.md

@@ -453,7 +453,25 @@ a.com
 
 5.`#`开头的为注释。
 
-### 12. 客户端IP黑白名单
+### 12. 端口黑名单
+
+socks/http(s)/sps代理都支持端口黑名单。
+
+用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。
+
+端口黑名单文件内容格式如下:
+
+```text  
+3306
+22
+```  
+
+说明:
+
+1.一行一个端口。  
+2.`#`开头的为注释。
+
+### 13. 客户端IP黑白名单
 
 socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持客户端IP黑白名单。
 
@@ -477,7 +495,7 @@ socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持
 
 2.`#`开头的为注释。
 
-### 13. 协议加载文件
+### 14. 协议加载文件
 
 proxy的各种代理功能里面很多地方都有参数设置一个文件,比如:--blocked 指定一个直接走上级的域名列表文件,参数值是文件的路径,
 
@@ -489,11 +507,11 @@ b.”str://“开头的英文逗号分割的多个,比如:str://xxx,yyy
 
 proxy的blocked,direct,stop,only,hosts,resolve.rules,rewriter.rules,ip.allow,ip.deny 文件支持协议加载。
 
-### 14. 客户端并发连接数
+### 15. 客户端并发连接数
 
 socks5\sps\http代理,控制客户端并发连接数参数是:`--max-conns-rate`,控制每秒客户端的最大连接数,默认20, 0为不限制.
 
-### 15 监听多个端口
+### 16. 监听多个端口
 
 `tcp/http/socks/sps`支持同时监听多个端口以及范围端口。 一般情况下监听一个端口就可以,不过如果需要同时监听多个两个端口,或者范围端口,那么-p参数是支持的,  
 格式是:`-p 0.0.0.0:80,0.0.0.0:443,0.0.0.0:8000-9000,:5000-6000`,多个绑定用逗号分隔即可。

+ 21 - 4
docs/manual/manual.md

@@ -202,7 +202,24 @@ Description:
 
 5.`#` at the beginning of the comment.
 
-### 12. Client IP Blacklist and Whitelist
+### 12. Port Black List 
+
+socks/http(s)/sps proxy all support port blacklist. 
+
+Use the `--stop-port` parameter to specify a port blacklist file, then when the user connects to the ports in the file, the connection can be made. 
+
+The port blacklist file content format is as follows: 
+
+```text 
+3306  
+22 
+``` 
+
+Note: 
+1. One port per line. 
+2. The ones starting with `#` are comments.
+
+### 13. Client IP Blacklist and Whitelist
 
 socks/http(s)/sps/tcp/udp/dns/ intranet penetration bridge/intranet penetration tbridge, support client IP black and white list.
 
@@ -226,7 +243,7 @@ Description:
 
 2.`#` at the beginning of the comment.
 
-### 13. Protocol loading file
+### 14. Protocol loading file
 
 There are many places in the proxy's various proxy functions to set a file. For example: --blocked Specifies a domain name list file that goes directly to the upper level. The parameter value is the path of the file.
 
@@ -239,11 +256,11 @@ b. "str://" at the beginning of the English comma separated multiple, such as: s
 The proxy's blocked, direct, stop, only, hosts, resolve.rules, rewriter.rules, ip.allow, ip.deny files support protocol loading.
 
 
-### 14.Concurrent client connections
+### 15. Concurrent client connections
 
 socks5\sps\http proxies, the parameter that controls the number of concurrent client connections is: `--max-conns-rate`, which controls the maximum number of client connections per second, default: 20, 0 is unlimited
 
-### 15 Listen on multiple ports
+### 16. Listen on multiple ports
 
 "tcp / http / socks / sps" supports listen on multiple ports and range ports.
 Under normal circumstances, it is sufficient to listen on one port, but if you need to listen on multiple ports, the -p parameter is supported.

+ 22 - 4
docs/manual/zh/manual.md

@@ -226,7 +226,25 @@ a.com
 
 5.`#`开头的为注释。
 
-### 12. 客户端IP黑白名单
+### 12. 端口黑名单
+
+socks/http(s)/sps代理都支持端口黑名单。
+
+用--stop-port参数指定一个端口黑名单列表文件,那么当用户连接文件里面这些端口的时候连接就会被断开。
+
+端口黑名单文件内容格式如下:
+
+```text  
+3306
+22
+```  
+
+说明:
+
+1.一行一个端口。  
+2.`#`开头的为注释。
+
+### 13. 客户端IP黑白名单
 
 socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持客户端IP黑白名单。
 
@@ -250,7 +268,7 @@ socks/http(s)/sps/tcp/udp/dns/内网穿透bridge/内网穿透tbridge,都支持
 
 2.`#`开头的为注释。
 
-### 13. 协议加载文件
+### 14. 协议加载文件
 
 proxy的各种代理功能里面很多地方都有参数设置一个文件,比如:--blocked 指定一个直接走上级的域名列表文件,参数值是文件的路径,
 
@@ -262,11 +280,11 @@ b.”str://“开头的英文逗号分割的多个,比如:str://xxx,yyy
 
 proxy的blocked,direct,stop,only,hosts,resolve.rules,rewriter.rules,ip.allow,ip.deny 文件支持协议加载。
 
-### 14. 客户端并发连接数
+### 15. 客户端并发连接数
 
 socks5\sps\http代理,控制客户端并发连接数参数是:`--max-conns-rate`,控制每秒客户端的最大连接数,默认20, 0为不限制.
 
-### 15 监听多个端口
+### 16. 监听多个端口
 
 `tcp/http/socks/sps`支持同时监听多个端口以及范围端口。 一般情况下监听一个端口就可以,不过如果需要同时监听多个两个端口,或者范围端口,那么-p参数是支持的,  
 格式是:`-p 0.0.0.0:80,0.0.0.0:443,0.0.0.0:8000-9000,:5000-6000`,多个绑定用逗号分隔即可。