This commit is contained in:
snail007
2025-06-09 14:29:43 +08:00
parent cf0873e14e
commit 27af51353d
8 changed files with 19 additions and 11 deletions
+2
View File
@@ -1648,6 +1648,8 @@ through "HTTP proxy" or "SOCKS5 proxy", if the client accesses an http or https
from the transmitted data. The sniffed domain name will be placed in the `sniff_domain` parameter of the "traffic reporting"
API, so the domain name can be obtained through the "traffic reporting" API.
To enable domain name sniffing, you can use the `--sniff-domain` parameter.
### 6.22 Help
`proxy help sps`
+2
View File
@@ -1743,6 +1743,8 @@ iptables -t nat -A OUTPUT -p tcp -j PROXY
为了避免这种情况,proxy提供了一个域名嗅探功能,当客户端连接SPS代理的时候,无论是通过 “HTTP代理” 还是 “SOCKS5代理”,当客户端访问的是 http
或 https 网址的时候,proxy 都会嗅探传输数据中的域名,嗅探到的域名会放在“流量上报”接口的`sniff_domain`参数里面,这样就可以在“流量上报”接口获取域名。
默认情况下,sps的域名嗅探功能是关闭的,如果需要开启,可以通过参数`--sniff-domain`开启。
### 6.22 查看帮助
`proxy help sps`