Commit Graph
189 Commits
Author SHA1 Message Date
世界 4d6bcb1a5b Validate DNS server references when creating box 2026-11-25 23:44:43 +08:00
世界 61c94949cf Fix DNS stream length prefix for compressed messages 2026-11-25 23:44:43 +08:00
世界 3d071e6e41 Fix concurrent DNS writes corrupting shared connections 2026-11-25 23:44:43 +08:00
世界 b64a231dc8 Fix mDNS queries waiting for the whole DNS timeout 2026-11-25 23:44:43 +08:00
世界 e13e6ce67b Reserve FakeIP addresses before allocation 2026-11-25 23:44:43 +08:00
世界 eacdf91f16 Fix DNS response truncation sharing records and background refresh polluting cache 2026-11-24 22:45:25 +08:00
世界 298d6b7e36 Fix DHCP DNS state leaking across networks and sticking on transient failures 2026-11-24 22:45:25 +08:00
世界 66502b6206 Remove dnsinfo and pass physical interface to Darwin mDNSResponder 2026-11-24 22:45:25 +08:00
世界 0964977b76 Fix FakeIP store validation, reset locking and reverse entry cleanup 2026-11-24 22:45:20 +08:00
世界 4913f787fb Fix endpoint lifecycle ordering and device reconfiguration 2026-11-24 22:45:20 +08:00
世界 37fffa325b Fix URLTest selection and idle connection references 2026-11-24 22:45:20 +08:00
世界 d553a29433 Fix DNS reverse mapping pollution and ECH public name matching 2026-11-24 22:45:19 +08:00
世界 0cdfc45e26 Fix ECH client cache sharing, retry and protocol wiring 2026-11-24 22:45:19 +08:00
世界 e027a77e6f Fix systemd-resolved D-Bus connection lifecycle 2026-11-19 02:10:33 +00: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
世界 f2816c2582 Fix sniffed ECH public name overriding DNS mapped domain 2026-11-14 05:28:22 +00:00
世界 61977994c3 Record HTTPS address hints in DNS reverse mapping 2026-11-14 05:28:12 +00:00
世界 7a9660846b Fix DNS reverse mapping domain and lifetime 2026-11-08 13:03:55 +00:00
世界 04b42a8123 Fix DNS connection setup blocking TUN packet processing 2026-11-03 03:40:09 +00:00
世界 a0bd909429 Fix concurrent DNS request packing mutating shared message 2026-11-03 03:40:09 +00:00
世界 0164ce7b8e Fix shared connections inheriting external interrupt mark 2026-10-23 19:57:08 +08:00
世界 db4e5da711 Check DNS address filter rules on cache hit 2026-10-23 19:57:08 +08:00
世界 42f487bd0d Fix IPv6 literal host handling 2026-10-23 19:57:05 +08:00
世界 a130b482d4 Flush systemd-resolved cache on DNS changes 2026-10-23 19:57:04 +08:00
世界 54c60dc7e6 Fix DHCP DNS search domain expansion 2026-10-23 19:57:03 +08:00
世界 e2008d6b7d Always compress DNS responses 2026-10-23 19:57:02 +08:00
世界 6fb6770cec Keep systemd-resolved servers when configuration is unchanged 2026-10-23 19:57:02 +08:00
世界 a8a2964592 Fix systemd-resolved detection for local DNS server 2026-10-23 19:57:02 +08:00
世界 78d44d52d9 Reset network on DNS server changes 2026-10-09 12:36:03 +08:00
世界 a691a44023 Refactor lifecycle to scoped cleanup 2026-10-09 12:36:03 +08:00
世界 a364ff4794 Remove unimplemented hot reload from managers 2026-10-09 12:36:03 +08:00
世界 52f9bad034 Fix protocol input validation 2026-10-09 12:36:03 +08:00
世界 07130365d1 Improve idle connection management 2026-10-02 18:00:09 +08:00
世界 eb7deeae8a Improve power report attribution and sampling 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
世界 ddbf34639a Fix local DNS server ignoring systemd-resolved global DNS servers 2026-10-02 18:00:08 +08:00
世界 78afbb2e62 Respect DNS query timeouts during deduplication 2026-09-21 12:26:53 +08:00
世界 a1f948c330 Fix implicit default DNS server and outbound skipping initialize stage 2026-09-20 22:24:38 +08:00
世界 288411b0b9 Fix crash when interface monitor is unavailable 2026-09-06 14:56:27 +08:00
世界 94ae161956 dns: Reject resolver discovery queries 2026-09-03 15:13:51 +08:00
世界 c53c2375c4 Improve power report 2026-08-30 17:41:47 +08:00
世界 82098a8760 Add power report service 2026-08-30 17:41:46 +08:00
世界 6720a27109 Handle network update callbacks in background 2026-08-30 17:41:46 +08:00
世界 b3a45e0839 Add query_client_subnet and query_dnssec DNS rule items and remove_client_subnet DNS route action option 2026-08-30 17:41:45 +08:00
世界 4e91d92c5f Refactor local DNS cache partitioning 2026-08-30 17:41:45 +08:00
世界 87c4f84a89 Fix search domain handling in DNS transports 2026-08-30 17:41:45 +08:00
世界 0e75f5f45c Partition local DNS caches by interface signature 2026-08-30 17:41:45 +08:00
世界 28b25598ed Refactor local DNS transport 2026-08-30 17:41:45 +08:00
世界 059508ed7a Avoid clearing DNS caches during network resets 2026-08-30 17:41:45 +08:00