Commit graph

282 commits

Author SHA1 Message Date
世界
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
世界
9e27f3413b
Fix unbounded ICMP sockets in direct outbound
The direct outbound opens one ICMP socket for each echo flow. The
sockets were kept for one minute after the last packet and their
number was not limited, so scanning hosts through the outbound could
accumulate an unbounded number of sockets, which has been reported to
panic the kernel on macOS.

Close idle flows after ICMPTimeout as the stacks do, and keep at most
1024 flows, closing a least recently active one when the limit is
reached.
2026-11-16 06:46:49 +00:00
世界
2b45ea59bd
Fix missing handshake timeout in SSH outbound 2026-11-14 06:27:29 +00:00
世界
0b83b66c47
Fix GSO frames with more segments than a TUN read batch
Some checks are pending
Build / Build Darwin binaries (push) Blocked by required conditions
Build / Build Darwin binaries-1 (push) Blocked by required conditions
Build / Build Darwin binaries-2 (push) Blocked by required conditions
Build / Build Windows binaries (push) Blocked by required conditions
Build / Build Windows binaries-1 (push) Blocked by required conditions
Build / Build Windows binaries-2 (push) Blocked by required conditions
Build / Build Android library (386) (push) Blocked by required conditions
Build / Build Android library (amd64) (push) Blocked by required conditions
Build / Build Android library (arm) (push) Blocked by required conditions
Build / Build Android library (arm64) (push) Blocked by required conditions
Build / Build Android (other) (push) Blocked by required conditions
Build / Build Android (other-legacy) (push) Blocked by required conditions
Build / Publish Android (push) Blocked by required conditions
Build / Build Windows client (arm64) (push) Blocked by required conditions
Build / Build Windows client (x64) (push) Blocked by required conditions
Build / Build Windows client (x86) (push) Blocked by required conditions
Build / Build Linux client (arm64) (push) Blocked by required conditions
Build / Build Linux client (armv7l) (push) Blocked by required conditions
Build / Build Linux client (x64) (push) Blocked by required conditions
Build / Build Apple library (ios-arm64) (push) Blocked by required conditions
Build / Build Apple library (macos-amd64) (push) Blocked by required conditions
Build / Build Apple library (macos-arm64) (push) Blocked by required conditions
Build / Build Apple library (tvos-arm64) (push) Blocked by required conditions
Build / Build Apple release clients (push) Blocked by required conditions
Build / Build Apple release clients-1 (push) Blocked by required conditions
Build / Build Apple App Store clients (push) Blocked by required conditions
Build / Build Apple App Store clients-1 (push) Blocked by required conditions
Build / Build Apple App Store clients-2 (push) Blocked by required conditions
Build / Upload builds (push) Blocked by required conditions
Build / Cache GC (push) Blocked by required conditions
2026-11-09 15:02:49 +00:00
世界
586b48065c
Fix link-local destinations rejected as TUN loopback 2026-11-09 14:37:27 +00:00
世界
f82c724b3d
Drop direct outbound UDP packets to unresolved domains 2026-11-09 11:38:54 +00:00
世界
ddf3d10b19
Fix disabled UDP domain unmapping ignored by direct outbound 2026-11-09 11:38:26 +00:00
世界
6a8ad09383
Fix Tailscale endpoint not rebinding after network changes 2026-11-09 10:30:02 +00:00
世界
878a861e3f
Fix reversed order of cached sniff payloads 2026-11-08 12:55:01 +00:00
世界
0164ce7b8e
Fix shared connections inheriting external interrupt mark 2026-10-23 19:57:08 +08:00
世界
03335338a0
Fix outbound group resolution and interruption for nested groups 2026-10-23 19:57:08 +08:00
世界
760f1edce5
Fix direct outbound ignoring fallback delay 2026-10-23 19:57:08 +08:00
世界
b5c6f6c859
Fix URLTest session warmup for session-based outbounds 2026-10-23 19:57:08 +08:00
世界
b722a038e6
Fix TUN loopback protection for ICMP 2026-10-23 19:57:06 +08:00
世界
c90ccd7535
Reject duplicate tags in outbound groups 2026-10-23 19:57:06 +08:00
世界
1cc885e040
Provide default route to Tailscale 2026-10-23 19:57:06 +08:00
世界
c8ba005e84
Reject Tailscale SSH user switch without privilege 2026-10-23 19:57:05 +08:00
世界
7a0ae5f358
Fix tailscale short name and DNS route matching 2026-10-23 19:57:05 +08:00
世界
38bf6879bb
Fix network strategy for ICMP 2026-10-23 19:57:04 +08:00
世界
a130b482d4
Flush systemd-resolved cache on DNS changes 2026-10-23 19:57:04 +08:00
世界
18aa2cdfe7
Fix IPv6 interface rule without auto route 2026-10-23 19:57:03 +08:00
世界
75eef09514
Fix tun platform interface checks 2026-10-23 19:57:03 +08:00
世界
6564c26d40
Fix IPv6 original destination port on big-endian 2026-10-23 19:57:02 +08:00
世界
7f1a439ff0
Fix process search for redirect inbound 2026-10-23 19:57:02 +08:00
世界
e2008d6b7d
Always compress DNS responses 2026-10-23 19:57:02 +08:00
世界
80c1171410
tailscale: Fix SSH auth banners never sent 2026-10-09 12:36:03 +08:00
世界
02537831e1
Move auto-redirect and bridge index allocation out of constructors 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
世界
d41e1745e6
Fix UDP fragmentation 2026-10-02 18:00:09 +08:00
世界
0efa644942
Fix tun GSO check 2026-10-02 18:00:09 +08:00
世界
17c52d03b3
Fix hysteria2 realm STUN resolution ignoring default domain resolver 2026-09-24 17:23:36 +08:00
世界
3f0958bf58
Fix read loops spinning on persistent errors 2026-09-20 22:24:38 +08:00
世界
9be5fcf4e1
Fix dial contexts cancelled while connections are still in use 2026-09-20 22:24:38 +08:00
世界
d6ec014ca4
Fix omitempty for JSON struct fields
Claude-Session: https://claude.ai/code/session_01NxBrtZjwwaJC8uxCNbgmKu
2026-09-08 15:03:09 +08:00
世界
515a73e4ee
Fix selector not interrupting routed connections 2026-09-08 13:19:30 +08:00
世界
0d7fae13bc
Fix process search for socks UDP associate 2026-09-06 15:54:54 +08:00
世界
288411b0b9
Fix crash when interface monitor is unavailable 2026-09-06 14:56:27 +08:00
世界
b807ff30d0
Reduce rule matching memory allocations 2026-09-01 21:32:13 +08:00
世界
66beaf541e
Test nested groups recursively in URLTest 2026-08-30 17:41:47 +08:00
世界
2a38f30125
Add Tailscale certificate API commands 2026-08-30 17:41:47 +08:00
世界
c53c2375c4
Improve power report 2026-08-30 17:41:47 +08:00
世界
103e266ebc
Fix QUIC congestion control
- Remove `bbr_standard`, `bbr2` and `bbr2_variant` from the naive inbound
- Report injected congestion controllers with connection-wide packet numbers in quic-go
2026-08-30 17:41:47 +08:00
世界
a349a0d769
Fix naive quic congestion control 2026-08-30 17:41:47 +08:00
世界
310206a889
Fix naive performance 2026-08-30 17:41:47 +08:00