Repository navigation
Hysteria: Upgrade to official v2.12.2 - #6565
Conversation
|
现在这两个地方冲突 Xray-core/transport/internet/tls/config.go Lines 410 to 415 in 5ca6f4b @Fangliding GetCertificate 可以让它为 nil 吗 |
|
这是个仅服务端参数 ray无脑填反正标准库会无视 这个魔改quic-go不支持那客户端清掉就是 |
|
GetTLSConfig 要判断客户端还比较麻烦,先在 hy2 启用 ChromeParrot 时自己设置了 PortMapping 效果不错,我这边的 ipv4 也能成功打洞了,此前不行 |
|
2.12.0 只同步了 disable gso 可配置,mimic 和 ipt 这类需要 extra binary + cmd line 的我认为不适合进 core DisableGSO 如果套了任意一个 mask 那么此参数也无需显示配置来使用 mimic |
|
2.12.1 的 StatelessResetKey 刚好解决了 #6408 idle 的问题,但对于服务端的重启这种仍然需要等待超时 配置了 StatelessResetKey 后改变了服务端默认行为,之前是静默,现在会显示回应一个包 xp3 因为是基于 http,所以没有 idle 问题,没有配置 StatelessResetKey |
|
@LjhAUMEM ready 了吗 |
|
除了 infra 部分的 brutalDisableLossCompensation 我有点犹豫外其他都 ready 了 |
|
@LjhAUMEM rebase |
|
HyNetworks/hysteria@f06fda4 |
Yep, I missed that—thanks for the reminder; I'll add it in a bit. |
|
ready |
|
配置 masquerade 应该实际使用浏览器访问确保达到预期,所以不做多余的输入校验了,如果是从 hy2 复制过来的则不会有问题 |
Hysteria app/v2.12.2 added Unix sockets as masquerade proxy targets, which the upstream sync (XTLS#6565, XTLS#6705) brought over without the URL checks of Hysteria's newUnixMasqueradeProxyTarget. Any URL without a scheme counted as a socket path, so "example.com/site" or a relative path started the server, and a unix: URL silently dropped its host, userinfo, query and fragment. The server then answered every unauthenticated probe with 502 Bad Gateway instead of the masqueraded site. Accept, as Hysteria does, unix:///path and absolute paths without a scheme; reject the rest when the listener starts. A second test sends an unauthenticated HTTP/3 request, as a prober would, and checks that it reaches the site behind the socket with its Host and path intact. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The Hysteria features were already at 2.12.2 through upstream XTLS#6565 and XTLS#6705 although the fork list still said 2.12.1. Record 2.13.0, Chrome 154 parroting, the Hysteria-compatible masquerade socket URLs and ECH key generation, and the QUIC and TLS sniffing that now reassembles split ClientHellos without modifying the sniffed datagrams. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Hysteria app/v2.12.1 made the server answer packets for unknown connections with QUIC stateless resets, and app/v2.12.2 added quic.disableStatelessReset to turn them off. The upstream sync (XTLS#6565) brought both; only the default was tested. Send a short header packet for an unknown connection, as an unauthenticated prober can, and check that a stateless reset comes back only while the option is off. Ignoring the option makes the disabled case fail with a 42-byte reply, and never setting the key makes the default case time out. Co-Authored-By: Claude Opus 5.5 <[email protected]>
2.9.3
2.10.0
2.11.0
2.12.0
2.12.1 & 2.12.2
linked issue #6408 #6598