Commit graph

21 commits

Author SHA1 Message Date
世界
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
世界
a691a44023
Refactor lifecycle to scoped cleanup 2026-10-09 12:36:03 +08:00
世界
07130365d1
Improve idle connection management 2026-10-02 18:00:09 +08:00
世界
fd9a076d25
Close idle connections of unreferenced outbounds and DNS servers 2026-10-02 18:00:09 +08:00
世界
6720a27109
Handle network update callbacks in background 2026-08-30 17:41:46 +08:00
世界
2bbff23640
Improve UDP batch support 2026-08-30 17:41:40 +08:00
世界
cb0051d64d
Fix inconsistent URLTest results 2026-07-27 15:51:12 +08:00
世界
7d847c0583
Fix check vless packet encoding 2026-06-19 23:27:29 +08:00
世界
d2fa21d07b
Deprecate Socksaddr.IsFqdn: do not reject potentially valid domain names 2026-03-16 09:37:59 +08:00
世界
8ae93a98e5
Remove overdue deprecated features 2026-03-01 12:30:43 +08:00
世界
9110851af3
ktls: Add warning for inappropriate scenarios 2026-01-17 05:44:43 +08:00
世界
107f92381b
Add support for kTLS
Reference: https://gitlab.com/go-extension/tls
2026-01-17 05:44:42 +08:00
neletor
1f03080540
Add support for ech retry configs 2026-01-17 05:44:26 +08:00
世界
378e39f70c
Update golangci-lint to v2 2025-08-13 23:37:40 +08:00
wwqgtxx
3518ce083b
Fix packetaddr panic 2025-08-01 16:50:54 +08:00
世界
988ac62a1b
refactor: Outbound domain resolver 2025-07-08 13:12:14 +08:00
dyhkwong
2cf989d306
Fix inbound with v2ray transport missing InboundOptions 2025-06-25 13:20:00 +08:00
世界
0c66888691
Fix lint 2025-01-13 15:14:30 +08:00
世界
68781387fe
refactor: WireGuard endpoint 2025-01-13 15:14:30 +08:00
世界
19fb214226
refactor: Modular inbound/outbound manager 2025-01-13 15:14:29 +08:00
世界
e233fd4fe5
refactor: Modular inbounds/outbounds 2025-01-13 15:14:29 +08:00