Commit Graph
5593 Commits
Author SHA1 Message Date
Shtorm defc9493eb fix: Release closed inbound connections 2026-11-30 20:12:03 +03:00
Shtorm aed3730e09 fix: Preserve XHTTP and REALITY options in VLESS links 2026-11-30 19:52:06 +03:00
Shtorm 006de2feb8 merge: Merge upstream v1.14.6 2026-11-30 19:46:00 +03:00
世界 a713aee305 Bump version 2026-11-27 23:53:39 +08:00
世界 5c03f548d5 Limit HTTP request header size in HTTP and mixed inbounds 2026-11-27 21:18:25 +08:00
世界 593b9b2e6b Fix record type width in badtls writeRecordLocked 2026-11-27 19:59:58 +08:00
世界 89d4eea09c Fix oomprofile heap snapshots with Go 1.27 2026-11-27 19:43:34 +08:00
世界 4840891bbc Drop Go 1.25 from test configuration 2026-11-27 19:43:28 +08:00
世界 1070f8f500 Update Go to 1.26.11 2026-11-27 19:43:28 +08:00
世界 d016839c00 Update tfo-go to v2.4.2 2026-11-27 18:08:30 +08:00
世界 a6844a780b Bump version 2026-11-27 00:12:15 +08:00
世界 b3724b5b63 Fix generate_completions build 2026-11-26 23:53:53 +08:00
世界 99f20dda88 Fix oom-killer JSON cache cleanup 2026-11-26 23:53:53 +08:00
世界 463c44e7f9 Update Go to 1.27.4 2026-11-26 23:53:53 +08:00
世界 8dbc70becf Fix naive outbound stalls and OOM on network reset 2026-11-26 16:51:44 +08:00
世界 a459df92d2 Disable DNS over TLS on the TUN link for systemd-resolved 2026-11-26 12:11:18 +08:00
世界 ff43da2785 Fix hysteria2 salamander XOR performance 2026-11-26 12:11:18 +08:00
世界 93f5075d0c Fix OpenConnect sessions through detour 2026-11-26 12:11:18 +08:00
世界 4391fe167c Add tunneled HTTP client and config parse check to libbox 2026-11-26 12:11:18 +08:00
世界 060f54a9a5 Fix naive outbound crashes, IPv6-only resolution and eMudhra trust
- Fix Go GC write barrier crashes from the uninitialized C header array
- Fix naive server resolution on IPv6-only networks
- Block compromised eMudhra intermediates
2026-11-26 06:16:50 +08:00
世界 b1daa1ce06 Fix bridge IPv6 forwarding purging SLAAC default routes 2026-11-25 23:46:47 +08:00
世界 1e0365bdde Fix OpenVPN OCC messages reaching the tunnel in static key mode 2026-11-25 23:44:43 +08:00
世界 5eaf5d89eb Replace deprecated syscall.RouteRIB in darwin power report 2026-11-25 23:44:43 +08:00
世界 4d6bcb1a5b Validate DNS server references when creating box 2026-11-25 23:44:43 +08:00
世界 9e0a6a3931 Validate route rule outbounds when creating box 2026-11-25 23:44:43 +08:00
世界 88920c9fba Fix hijack-dns not closing finished TCP connections 2026-11-25 23:44:43 +08:00
世界 ea36cc8896 Report cache file reset failures 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
世界 b3548ad89d Fix tproxy packet writer leaking sockets 2026-11-25 23:44:43 +08:00
世界 adf73b68ca Track process rules in updated rule-sets 2026-11-25 23:44:43 +08:00
世界 d90278cd51 Fix address filter matching for inverted legacy DNS rules with rule-sets
A rule-set that is not merged into the outer rule is an additional
condition of it, so its match still depends on deferred address filter
conditions after the outer destination address items match. Pre-lookup
matching cleared that dependency with the outer rule's satisfied groups,
so inverted rules combining destination address items with such a
rule-set were rejected before the lookup instead of being decided by the
response.
2026-11-25 23:44:43 +08:00
世界 43a6cf39f5 Fix network environment collecting all routes of the default interface 2026-11-25 23:44:43 +08:00
世界 becfb0d6ad Remove stale listen fields from tun docs 2026-11-25 23:44:43 +08:00
世界 86cbf8d6c7 Enable IP forwarding for auto-redirect 2026-11-25 23:44:43 +08:00
世界 46af2314fa Wait for client payload before kicking early conn handshake 2026-11-25 21:25:47 +08:00
世界 59069b3373 Fix route-level network strategy ignoring outbound restrictions 2026-11-25 21:25:46 +08:00
世界 ce2448e1a9 Fix WireGuard TCP keepalive overriding the default interval 2026-11-25 21:25:46 +08:00
世界 fe7d9661e4 Fix WireGuard detour bind dropping packets from other peer addresses
A single peer with a fixed address was dialed through the detour as a
connected UDP socket, so the kernel discarded authenticated packets the
peer sent from any other address, e.g. a server answering from another
of its addresses. Listen instead, keeping the peer address as the
destination for the detour.
2026-11-25 21:25:46 +08:00
世界 6df1274519 Fix WireGuard detour bind stalling until device wake 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
世界 1011659782 Fix ALPN negotiation for inbounds with ACME
acme-tls/1 was stored in the server NextProtos so that TLS-ALPN-01
validation could negotiate it. With no other ALPN configured, the server
then only offered acme-tls/1 and rejected every client that sends ALPN
with no_application_protocol, and NextProtos() reported it as configured,
so protocols that set their default ALPN only on an empty list (hysteria,
hysteria2, QUIC, HTTP upgrade, naive, DERP) never did.

Negotiate acme-tls/1 only for RFC 8737 validation ClientHellos through
GetConfigForClient and leave NextProtos to the inbound. Inline ACME is now
a certificate provider like certificate_provider.
2026-11-25 21:25:46 +08:00
世界 d17f68f626 Fix STUN test when server address is an IP literal 2026-11-25 21:25:46 +08:00