Commit graph

301 commits

Author SHA1 Message Date
世界
6a579c3585
Fix platform auto-redirect close order 2026-11-16 16:49:35 +00:00
世界
7aa0f1a96e
Forward endpoint local flows to tun 2026-11-16 16:49:35 +00:00
世界
a6f633cc32
Apply backpressure to masque inbound packets 2026-11-16 16:49:35 +00:00
世界
db8e77d44a
Rework forward NAT with UDP mapping and fragment support 2026-11-16 16:49:35 +00:00
世界
df2818a9a0
Fix protocol input validation 2026-11-16 16:49:35 +00:00
世界
58c4dd0b7c
Fix per-destination backpressure to endpoints 2026-11-16 16:49:35 +00:00
世界
b636135703
Fix on-demand endpoint resume 2026-11-16 16:49:35 +00:00
世界
dab5231b9d
Add dns_server_address and dns_search_domain rule items 2026-11-16 16:49:35 +00:00
世界
bc26566310
Fix bridge forwarding with auto-redirect 2026-11-16 16:49:35 +00:00
世界
71b821ef6a
Add MASQUE support 2026-11-16 16:49:35 +00:00
世界
3d6508c097
Rewrite HTTP proxy protocol 2026-11-16 16:49:35 +00:00
世界
2ad805e18c
Fix Android auto-redirect routing 2026-11-16 16:49:35 +00:00
世界
9da230c23e
Add tailcat support 2026-11-16 16:49:35 +00:00
世界
f6dcd338f1
Remove dependency on gVisor 2026-11-16 16:49:35 +00:00
世界
4ca9df17ed
Add go TUN stack 2026-11-16 16:49:34 +00:00
世界
43bf47f0bb
Improve idle connection management 2026-11-16 16:49:34 +00:00
世界
e304b0a602
Close idle connections of unreferenced outbounds and DNS servers 2026-11-16 16:49:34 +00:00
世界
bc88b597a0
Migrate anytls into our own library
The official anytls code is of poor quality and consumes excessive memory
2026-11-16 16:49:34 +00:00
世界
7dac1c0c53
Implement fully functional auto redirect for Android 2026-11-16 16:49:34 +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
世界
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