Commit Graph
14 Commits
Author SHA1 Message Date
世界 0cdfc45e26 Fix ECH client cache sharing, retry and protocol wiring 2026-11-24 22:45:19 +08:00
世界 9d3a1825d5 Fetch ECH config from DNS for QUIC
QUIC clients took the standard TLS config directly, so with ECH enabled
and no static config, hysteria, hysteria2, tuic and DNS over QUIC never
queried the ECH config list and sent the real server name in the clear
without reporting an error. Query it before the QUIC handshake as the
TCP path does.
2026-11-16 06:50:44 +00:00
世界 961b56b176 Use domain resolver for ECH config queries
When ECH is enabled without a static config, the HTTPS record query for
the ECH config list went through the DNS rules instead of the domain
resolver, and the migration of outbound DNS rule items to the domain
resolver left no way to select a DNS server for it. A rule rejecting
HTTPS records refused the query, and a default DNS server detoured
through the same outbound waited for its own connection until the query
timed out.

Send the query to the domain resolver of the dial fields, then the
default domain resolver, then the only DNS server, and fail it when
none of them is available. DNS servers must set their own domain
resolver for it, as they do for a domain server address.
2026-11-16 06:50:44 +00:00
世界 0a4e4c8061 boxdd: Add insecure mode 2026-08-30 17:41:43 +08:00
世界 8ae93a98e5 Remove overdue deprecated features 2026-03-01 12:30:43 +08:00
世界 0585f6d065 Add ECH support for NaiveProxy outbound and tls.ech.query_server_name option
- Enable ECH for NaiveProxy outbound with DNS resolver integration
- Add query_server_name option to override domain for ECH HTTPS record queries
- Update cronet-go dependency and remove windows_386 support
2026-01-17 05:47:42 +08:00
世界 146383499e Fix race codes 2025-09-12 21:58:48 +08:00
世界 e81a76fdf9 Fix DNS exchange 2025-09-12 18:05:02 +08:00
世界 378e39f70c Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
Restia-Ashbelland世界 c0588c30d7 Add ECH support for uTLS 2025-07-08 13:14:44 +08:00
世界 24c940c51c Improve TLS fragments 2025-07-08 13:14:44 +08:00
世界 1f3097da00 Fix fetch ECH configs 2025-07-08 13:12:33 +08:00
ReleTorand世界 a5e47f4e0f Fix fetch ECH configs 2025-07-08 13:12:30 +08:00
世界 7743c6e881 Migrate to stdlib ECH support 2025-07-08 13:12:19 +08:00