tun全局的前提下,使用同ip的socks5代理速度很慢,比http代理响应结果速度差好几倍
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 38.2k
- Forks
- 4.6k
- Avg merge
- 19d 15h
- Merged PRs (30d)
- 1
Description
Operating system
Linux
System version
all
Installation type
Original sing-box Command Line
If you are using a graphical client, please provide the version of the client.
No response
Version
Description
很奇怪的一个现象,测试了好几个版本,不同服务器,客户端在国内或者国外,均出现一个情况。
tun全局上网,客户端设备执行 curl -x socks5://usr:pwd@ip:port ip.sb (注公网代理非127.0.0.1:xxxx) ,返回查询结果是 curl -x http://usr:pwd@ip:port ip.sb 速度的两三倍,如果s5作为outbound,detour 到vless等协议outbound,一样比http速度差几倍,日志中并没有看见什么特殊的规则处理日志。毕竟s5代理使用的场景比较多。
本地如此,全部移到外网测试也是同样效果。
Reproduction
很抱歉只有现象,确实没有日志可以提供,很容易复现问题。
Logs
Supporter
- I am a sponsor
Integrity requirements
- I confirm that I have read the documentation, understand the meaning of all the configuration items I wrote, and did not pile up seemingly useful options or default values.
- I confirm that I have provided the server and client configuration files and process that can be reproduced locally, instead of a complicated client configuration file that has been stripped of sensitive data.
- I confirm that I have provided the simplest configuration that can be used to reproduce the error I reported, instead of depending on remote servers, TUN, graphical interface clients, or other closed-source software.
- I confirm that I have provided the complete configuration files and logs, rather than just providing parts I think are useful out of confidence in my own intelligence.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported curl comparisons using the same proxy IP and credentials: compare socks5 and HTTP proxy behavior under global TUN mode, including SOCKS5 as an outbound detoured to VLESS. The issue provides no version, configuration, logs, or controlled reproduction, so first collect a minimal local setup and timing results; done means identifying and documenting a reproducible cause or narrowing the difference to a specific path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100