Commit Graph
2977 Commits
Author SHA1 Message Date
世界 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
世界 ef408a1e10 Fix vless and trojan crash when TLS is disabled 2026-11-25 21:25:46 +08:00
世界 d31a43ff31 Fix OOM killer not resetting again after a reset leaves memory above armed 2026-11-25 21:25:46 +08:00
世界 7a0448f3f4 Fix TCP keep-alive ignored on TFO connections 2026-11-25 21:25:46 +08:00
世界 e012b57212 Fix h2mux client deadlock with Go 1.27 HTTP/2 wrapper 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
世界 27c872d81f Bound httpupgrade and websocket upgrade handshakes by context and timeout 2026-11-25 21:25:12 +08:00
世界 19478a1bfb Fix early websocket conn declaring lazy headroom 2026-11-25 21:25:12 +08:00
世界 9d5f442361 Fix websocket frames split by concurrent control frames 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
世界 46acf61419 Wrap HTTP/2 errors in v2rayhttp server writes 2026-11-25 21:25:12 +08:00
世界 b126cbe02c Fix repeated close of HTTP/2 response bodies 2026-11-25 21:25:12 +08:00
世界 1bc8801ab6 Fix unused field lint in v2rayhttp force close 2026-11-25 20:19:05 +08:00
世界 fde8bf9249 Release cache database writer lock when rollback panics 2026-11-24 22:45:30 +08:00
世界 b7faa4a5d4 Fix xudp unexpected frame error reading wrong byte 2026-11-24 22:45:28 +08:00
世界 e4573eb179 Hand raw sockets to quic-go on obfuscated servers 2026-11-24 22:45:27 +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
世界 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
世界 f365a5ac99 Remove dead sing-ffi Makefile targets 2026-11-24 22:45:23 +08:00
世界 ef3c5a4f0a Fix listener interface follow race and oversized UDP write errors 2026-11-24 22:45:23 +08:00
世界 929eb38cc8 Accept SOCKS UDP associate datagrams from any host 2026-11-24 22:45:23 +08:00
世界 cb3b7a7c4b Fix kTLS read waiter disconnecting on TLS 1.3 session tickets 2026-11-24 22:45:20 +08:00
世界 0964977b76 Fix FakeIP store validation, reset locking and reverse entry cleanup 2026-11-24 22:45:20 +08:00
世界 c95deb2ee8 Fix rule-set startup ordering and close races 2026-11-24 22:45:20 +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
世界 3b4ea5cc83 Fix CGO write barrier crash in Darwin certificate anchors 2026-11-24 22:45:19 +08:00
世界 f41c2e62ca Fix public key verification with empty certificate chain 2026-11-24 22:45:19 +08:00
世界 d553a29433 Fix DNS reverse mapping pollution and ECH public name matching 2026-11-24 22:45:19 +08:00
世界 0cdfc45e26 Fix ECH client cache sharing, retry and protocol wiring 2026-11-24 22:45:19 +08:00
世界 f0fbf236f8 Fix data race between rule-set updates and matching 2026-11-19 02:25:30 +00:00
世界 a17bc0ff4e Fix Fortinet login failures starting SAML 2026-11-19 02:12:42 +00:00
世界 e027a77e6f Fix systemd-resolved D-Bus connection lifecycle 2026-11-19 02:10:33 +00:00
世界 f4e75a44e1 Fix cronet-go build with Go 1.27.4 2026-11-18 11:23:37 +00:00
世界 b449501f1f Fix auto-redirect not hijacking DNS from link-local sources 2026-11-17 04:42:48 +00:00
世界 b61ad737e8 Fix v2ray-plugin mux reads into short buffers 2026-11-16 16:49:29 +00:00
世界 7c4ea11299 Fix auto-redirect routing replies of tun flows out directly 2026-11-16 07:03:21 +00:00
世界 a9c5944e05 Fix auto-redirect not capturing traffic marked by other programs 2026-11-16 07:03:21 +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