Commit Graph
299 Commits
Author SHA1 Message Date
世界 59069b3373 Fix route-level network strategy ignoring outbound restrictions 2026-11-25 21:25:46 +08:00
世界 fe485b5d25 Fix tor process killed before halt on close 2026-11-25 21:25:46 +08:00
世界 0c4e55ab86 Fix tor outbound blocking startup until bootstrap completes
Stop waiting for Tor to bootstrap in Start: it only ends on a 100%
bootstrap, so an unreachable Tor network blocked every inbound forever.
Clear DisableNetwork with SETCONF directly, since EnableNetwork ignores
a rejected SETCONF.

Keep reading the control connection for the whole Tor lifetime so log
events are delivered after Start returns instead of piling up in Tor.
The HandleNextEvent loop starts only after the synchronous control
commands, since it spins while a synchronous reply is pending. Drop the
DEBUG log subscription, which costs Tor a debug log per cell.
2026-11-25 21:25:46 +08:00
世界 241af4fac8 Fix tailscale 4via6 MagicDNS names returning NXDOMAIN 2026-11-25 21:25:46 +08:00
世界 0b70cbeb5d Fix cloudflared origin responses delimited by connection close 2026-11-25 21:25:46 +08:00
世界 25a5e29528 Fix cloudflared feature lookup ignoring configured resolver 2026-11-25 21:25:46 +08:00
世界 b384461e83 Fix shadowsocks connections attributed to other users on SSM API updates 2026-11-25 21:25:46 +08:00
世界 ef408a1e10 Fix vless and trojan crash when TLS is disabled 2026-11-25 21:25:46 +08:00
世界 8a1ddcebd3 Bound SOCKS and HTTP outbound handshakes by timeout 2026-11-25 21:25:12 +08:00
世界 c7f675a68b Apply handshake timeout to ShadowTLS v3 standard TLS handshake 2026-11-25 21:25:12 +08:00
世界 5ac9b57f2c Fix HTTP inbounds aborting connections after error responses 2026-11-25 21:25:12 +08:00
世界 7dc9c39a27 Align tun auto-redirect DNS hijack and default marks with sing-tun 2026-11-24 22:45:25 +08:00
世界 eacdf91f16 Fix DNS response truncation sharing records and background refresh polluting cache 2026-11-24 22:45:25 +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
世界 70e4310bfa Fix network strategy falling back to other interfaces on address family failures 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
世界 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 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