-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
tproxy 代理的QUIC网站走了 direct #1804
Comments
目前只能drop掉udp 443解决了,太不靠谱了 |
我疏忽了,没有认真搜历史issue,加上我这个一共三个issue相同问题: 看 sing-box的文档:https://sing-box.sagernet.org/zh/configuration/route/sniff/ 那么 @nekohasekai 世界大佬, sing-box的tproxy的sniffing是真的可以sniffing QUIC的吗,还是只是文档都一样,实际不支持 |
理论上xray-core目前确实支持quic sniffing。 隔壁v2ray的quic sniffing实现是近期才修复的 v2fly/v2ray-core#2335 ,实施于 v5.4.0(pre-release)。也许是因为xray-core存在同样的bug?你可以先去试试隔壁修复后的quic sniffing好不好使。 |
上次我去看sniffing文档里没有quic 但是我检查过相关代码确实存在sniffing quic的相关代码 但是群里有人说没用 我猜应该是坏了 就没管 可能后来有谁看代码里有就加上了让lz踩坑了() |
所有的 quic sniffing 应该都是我写的,如果 sing-box 的不能用,请开 issue;xray 的不能用你可以同步一下代码( |
2023/03/19 08:50:54 [Info] app/dns: DOH//1.1.1.1 got answer: quic.nginx.org. TypeA -> [35.214.218.230] 417.026704ms 2023/03/19 08:50:56 192.168.1.4:12622 accepted tcp:35.214.218.230:443 [proxy] |
由于这个 #1885 客户端日志: 服务端日志(我开了routeonly,所以透明代理传递IP到vps了): 2023/05/07 00:09:20 [240:3]:55842 accepted tcp:35.214.218.230:443 [VLESS-GRPC-Reality >> direct] |
{
"tag":"transparent",
"port": 12345,
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"followRedirect": true
},
"sniffing": {
"enabled": true,
"destOverride": [
"streamSettings": {
"sockopt": {
"tproxy": "tproxy", // 透明代理使用 TPROXY 方式
"mark":255
}
}
},
出站是 cf cdn+ vmess + wss
2023/03/15 18:26:27 DOH//1.1.1.1 got answer: quic.nginx.org -> [35.214.218.230] 207.605394ms
2023/03/15 18:26:27 DOH//1.1.1.1 got answer: quic.nginx.org -> [] 208.256312ms
2023/03/15 18:26:27 192.168.1.4:9198 accepted tcp:35.214.218.230:443 [transparent -> proxy]
2023/03/15 18:26:27 192.168.1.4:9199 accepted tcp:35.214.218.230:443 [transparent -> proxy]
2023/03/15 18:26:30 192.168.1.4:53128 accepted udp:35.214.218.230:443 [transparent -> direct]
xray的 tproxy透明代理 sniffing quic是不是有bug? 先是[transparent -> proxy],之后变成[transparent -> direct]
上面是测试nginx的quic demo,DNS和路由都加了代理,
测试YouTube也是相同问题, 开ipv6 tproxy, youtube也是一样,虽然后面回落到只走tcp了,这DNS不泄露,也给通过quic漏了,xray 1.8.0版本,v2fly改天测试看看是不是也是这样,
会不会就是年久失修的udp断流问题呢: v2ray/v2ray-core#1432
The text was updated successfully, but these errors were encountered: