Commit Graph
111 Commits
Author SHA1 Message Date
世界 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
世界 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
世界 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
世界 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
世界 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
世界 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
世界 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
世界 ddbf34639a Fix local DNS server ignoring systemd-resolved global DNS servers 2026-10-02 18:00:08 +08:00
世界 288411b0b9 Fix crash when interface monitor is unavailable 2026-09-06 14:56:27 +08:00
世界 6720a27109 Handle network update callbacks in background 2026-08-30 17:41:46 +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
世界 5c50f7a084 Use connected sockets for QUIC clients 2026-08-30 17:41:45 +08:00
NagaseMinatoand世界 eb6db316cc dns: Fix preferred_by local support for platform local transport 2026-08-30 17:41:45 +08:00
世界 e797c2d0ba Update tailscale to v1.102.1 2026-08-30 17:41:45 +08:00
世界 6e09f2892a Add JSON schema support 2026-08-30 17:41:44 +08:00
世界 88ab140cf9 dns: Probe connection reuse support for TCP transports 2026-08-30 17:41:44 +08:00
世界 33e42bf423 Fix TCP DNS retry 2026-08-30 17:41:44 +08:00
世界 e4c8b49eaf Improve network reset 2026-08-30 17:41:43 +08:00
世界 5d424ea2ac refactor: Async DNS 2026-08-30 17:41:43 +08:00
世界 0a4e4c8061 boxdd: Add insecure mode 2026-08-30 17:41:43 +08:00
世界 bcae189da3 Fix local DNS transport on darwin 2026-08-30 17:41:42 +08:00
世界 485761cbe8 Improve DHCP DNS server initialize
Avoid querying DHCP DNS servers on cellular networks
2026-08-30 17:41:41 +08:00
世界 2d581b35f3 Refactor darwin local DNS to raw mDNSResponder call 2026-08-30 17:41:41 +08:00
世界 704853b3be Fix lint errors 2026-08-30 17:41:40 +08:00
世界 caf940c805 dns: Add mDNS server 2026-08-30 17:41:40 +08:00
世界 14b8f1bd4d dns: Add preferred_by rule item 2026-08-30 17:41:40 +08:00
世界 f8a623e0c6 dns: Add neighbor-based hostname resolution to local server 2026-08-30 17:41:40 +08:00
世界 9ab4c0f5cb Fix darwin cgo DNS again 2026-08-30 17:41:40 +08:00
世界 c82163f287 Standardize hosts path 2026-08-30 17:41:39 +08:00
世界 2515811356 Refactor: HTTP clients, unified HTTP2/QUIC options, Apple engines 2026-08-30 17:41:39 +08:00
世界 fe88004eaf Fix darwin cgo DNS again 2026-08-30 17:41:39 +08:00
世界 22e852cf36 Fix darwin local DNS transport 2026-08-30 17:41:39 +08:00
世界 077a4a0b54 Fix DHCP DNS server search domain handling 2026-08-12 13:29:01 +08:00