Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]socks5请求支持关闭udp的domain unmapping #434

Open
zhfish opened this issue Mar 25, 2024 · 0 comments
Open

[Feature Request]socks5请求支持关闭udp的domain unmapping #434

zhfish opened this issue Mar 25, 2024 · 0 comments

Comments

@zhfish
Copy link

zhfish commented Mar 25, 2024

流量路径: tun2proxy -> gost(socks5) -> socks5_ip
目前用的socks5_ip,在某些客户端上(https://github.com/blechschmidt/tun2proxy) 使用
gost会报

{"handler":"auto","kind":"service","level":"error","listener":"tcp","msg":"bad address type","service":"service-0",
"time":"2024-03-24T23:15:37.501+08:00"}   

经过一些测试,在sing-box里找到一个开关可以使用
sing-box如果不开开关,也会报错

https://sing-box.sagernet.org/zh/configuration/shared/listen

udp_disable_domain_unmapping
如果启用,对于地址为域的 UDP 代理请求,将在响应中发送原始包地址而不是映射的域。
此选项用于兼容不支持接收带有域地址的 UDP 包的客户端,如 Surge。

请求帮忙给gost也加上此类开关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant