Itsusinn / tuic

A maintained TUIC fork
GNU General Public License v3.0
26 stars 7 forks source link

无法正确处理QUIC/H2嵌套 #10

Closed Dounutsubtly closed 1 week ago

Dounutsubtly commented 2 weeks ago

其一为Firefox无法连接支持h2的websockets,并且由于其降级机制问题,导致完全无法连接 about:config中关闭network.http.http2.websockets后正常

其二为支持QUIC的网站均被自动降级

Itsusinn commented 2 weeks ago

firefox是如何代理的?手动添加的socks代理服务器吗?用的啥客户端,我看看能不能复现

Dounutsubtly commented 2 weeks ago

直接读取的系统代理

Dounutsubtly commented 2 weeks ago

晚点再研究,先Close了

Dounutsubtly commented 2 weeks ago

找到原因了,调了一天给我整麻了

Dounutsubtly commented 2 weeks ago

第二个 QUIC 的问题暂时没有解决,不过不是优先选项,浏览器降级机制都能正常使用。

Itsusinn commented 2 weeks ago

我试了试,129ff+1.0.3tuic-server是可以通的

Itsusinn commented 2 weeks ago

我试了试,129ff+1.0.3tuic-server是可以通的

从ff开发者工具里看到握手使用的是http/1.1

Dounutsubtly commented 2 weeks ago

about:config中network.http.http2.websockets是开启的吗 另外我的客户端一直是nekoray,和nekobox一样是singbox内核

Dounutsubtly commented 2 weeks ago

内核方面应该是和 @Fhokud 一样的,之前因为client一直被defender报毒就用的nekoray,会出现ff连接ws会失败的问题

Itsusinn commented 2 weeks ago

network.http.http2.websockets是true

此外在ff131上确实出现了连接失败,但在重试两次后就好了,很是奇怪。tuic server报的错误的reset by peer

Itsusinn commented 2 weeks ago

关于http3,系统代理可能无法正确代理udp流量 我使用了clashmeta的tun,且关闭firefox的socks5代理,测试了网站 https://cloudflare-quic.com/ 为http3连接

Fhokud commented 2 weeks ago

关于firefox的quic,Firefox好像是在走代理的时候是不是会不使用http3的,改为使用TUN/TAP就可以正常http3,似乎为了应对类似 TCP in TCP的问题

quic.nginx.org