* feat(config): move QUIC MTU discovery toggle into QuicOptions
* fix(subscription): import QUIC disable-mtu-discovery for TUIC and Juicity
* feat(outbound): wire QUIC disable_mtu_discovery for TUIC and Juicity
* docs(config,subscription): document shared QUIC MTU discovery support
* refactor(config,subscription): simplify QUIC wire and Clash MTU wiring
* test(subscription,outbound): tighten records MTU assertions and trim Clash test
* docs(config,subscription): trim duplicate QUIC MTU docs and clarify wording
* test(outbound): compare the fewest allocations over several samples
The stats_alloc counters are process-wide and libtest's main thread can
allocate inside a measured region, which only ever adds to a count. Take
the minimum of five samples per side instead of a single reading.
* test(outbound): start the health loop before advancing paused time
The loop schedules its jittered first tick (up to 5 s) when first polled,
which happened after the 6 s advance, so about one run in 80 had the
periodic cycle land inside the wait and probe the pinned member twice.
* test(dns): pin the receive task's last pool reference on one thread
On two workers the receive task could resume from its yield and drop its
pool reference before the query task counted it. The bind-and-drop dead
port could also be reused by another test's echo server, which answered.
* test(dns): check the reset log in a child process
tracing caches callsite interest process-wide; when another test thread
registered the reset callsite while this test installed its subscriber,
the event stayed disabled and the captured log was empty.
* ci(workflows): retry apt and curl downloads
The 2026-11-11 Ubuntu mirror outage failed 67 jobs on apt, which had no
retries. Every apt-get now sets Acquire::Retries=5, and curl retries
five times on any error.
* feat(alive): pause idle probes for every group policy
* docs(groups): describe idle probe pause for every group policy
* fix(alive): recover dead idle members and wake reload selections
* perf(pr-527): coalesce idle-group activity tracking into one lock
* fix(pr-527): isolate active selectors and direct idle group membership
* fix(pr-527): target idle recovery to unreachable groups and custom check urls
* fix(pr-527): defer probe wakeups and publish idle state atomically
* test(pr-527): add behavioral tests for idle probe policies and recovery
* docs(pr-527): sync docs, rules and trim comments for idle probe changes
* fix(pr-527): avoid reentrant group-manager lock on custom url wake
* fix(pr-527): align idle recovery with datapath reachability
* test(pr-527): fix vacuous or flaky tests and close ablation gaps
* docs(pr-527): align control-plane reload docs and test comments
* fix(pr-527): avoid duplicate custom-url probes on wake
* perf(pr-527): avoid hot-path lock and monotonic clock in idle activity
* perf(pr-527): isolate hot alive map locks onto separate cache lines
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* refactor(outbound): make the SOCKS5 handshake and Shadowsocks stream generic over their transport
* feat(outbound): add a tunneled dial entry and run TLS and REALITY over it
* feat(outbound): implement tunneled dial for SOCKS5, Shadowsocks, Trojan, VLESS and VMess
* feat(config): parse chain nodes as hops from entry to exit
* feat(config): reject chains with missing, ambiguous or unsupported hops
* feat(outbound): build chain runtimes from the hops of their own generation
* feat(outbound): dial chain nodes hop by hop
* feat(core): present chain nodes in the APIs and skip address probes for them
* docs(outbound): describe chain nodes
* feat(config): resolve group edges and compose exit routes in one place
* feat(config): parse and validate the group exit field
* refactor(outbound): take group depth and cycle cutting from the group graph
* feat(outbound): cache route runtimes per generation and dial routes over their hops
* feat(outbound): route group selections through their exits as typed targets
* refactor(core): collect group leaves with the shared group traversal
* fix(core): key pooled DNS transports by the dialed target
* docs(config): describe the group exit field and how its routes grow
* feat(config): accept more exit routes: past depth 8, via later final namesakes, around cycles
* feat(config): tell which chain exits can carry UDP over a stream
* feat(outbound): carry UDP over a tunneled stream for Trojan and VLESS
* feat(outbound): dial chain UDP hop by hop
* feat(outbound): answer UDP capability for nodes and routes from one query
* feat(core): share one chain association per client source when the exit registers it
* feat(core): dial route UDP and count it against the failing hop or the exit
* feat(outbound): give routes UDP candidates when their exit carries UDP
* fix(core): publish group UDP connectivity from the shared capability query
* test(outbound): run the Xray chain UDP case in the weekly exact lane
* docs(outbound): describe UDP through chain nodes and exit groups
* test(core): pin the DNS packet transport refusal of group exit routes
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* refactor(outbound): make the SOCKS5 handshake and Shadowsocks stream generic over their transport
* feat(outbound): add a tunneled dial entry and run TLS and REALITY over it
* feat(outbound): implement tunneled dial for SOCKS5, Shadowsocks, Trojan, VLESS and VMess
* feat(config): parse chain nodes as hops from entry to exit
* feat(config): reject chains with missing, ambiguous or unsupported hops
* feat(outbound): build chain runtimes from the hops of their own generation
* feat(outbound): dial chain nodes hop by hop
* feat(core): present chain nodes in the APIs and skip address probes for them
* docs(outbound): describe chain nodes
* feat(config): resolve group edges and compose exit routes in one place
* feat(config): parse and validate the group exit field
* refactor(outbound): take group depth and cycle cutting from the group graph
* feat(outbound): cache route runtimes per generation and dial routes over their hops
* feat(outbound): route group selections through their exits as typed targets
* refactor(core): collect group leaves with the shared group traversal
* fix(core): key pooled DNS transports by the dialed target
* docs(config): describe the group exit field and how its routes grow
* feat(config): accept more exit routes: past depth 8, via later final namesakes, around cycles
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* refactor(outbound): make the SOCKS5 handshake and Shadowsocks stream generic over their transport
* feat(outbound): add a tunneled dial entry and run TLS and REALITY over it
* feat(outbound): implement tunneled dial for SOCKS5, Shadowsocks, Trojan, VLESS and VMess
* feat(config): parse chain nodes as hops from entry to exit
* feat(config): reject chains with missing, ambiguous or unsupported hops
* feat(outbound): build chain runtimes from the hops of their own generation
* feat(outbound): dial chain nodes hop by hop
* feat(core): present chain nodes in the APIs and skip address probes for them
* docs(outbound): describe chain nodes
* fix(chain): pin Quinn for stream submission receipts
* fix(chain): bind admitted hops and memberships to physical node IDs
* fix(dns): skip endpointless nodes in the subscription host index
* fix(chain): retain dial admission and final-hop authority across retries
* fix(chain): preserve carrier failure provenance through nested streams
* fix(health): skip raw endpoint probes only for virtual chains
* fix(probes): pin physical peers to their admitted DNS authority
* fix(health): publish node registrations with their runtime generation
* fix(observe): require local stream submission for QUIC chain requests
* fix(relay): preserve physical WebSocket and VMess completion evidence
* test(chain): verify physical exits and ownership with independent peers
* fix(clash): retain manual delay for the same unregistered physical node
* test(observe): distinguish pending receipts after setup errors and cancellation
* fix(outbound): compile owned VLESS tasks without flow observation
* docs(chain): document physical hops and probe ownership
* docs(clash): distinguish display samples from health history
* refactor(runtime): compare retained node configuration without cloning
* fix(probes): skip peer DNS for unavailable destinations
* refactor(probes): cache physical peers before resolving aliases
* fix(quic): track the accepted payload of a single scatter write
* test(clash): return the resume sender with the rebuild task
* test(clash): return the delay fixture future directly
* fix(dns): select pinned destination policy before query admission
* test(chain): keep both streams alive until both peers verify delivery
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* fix(relay): bound copy drain from the first EOF
* fix(relay): measure copy drain idle time on a monotonic clock
* test(dns): assert the score outcome of a retried exchange
* refactor(outbound): make the SOCKS5 handshake and Shadowsocks stream generic over their transport
* feat(outbound): add a tunneled dial entry and run TLS and REALITY over it
* feat(outbound): implement tunneled dial for SOCKS5, Shadowsocks, Trojan, VLESS and VMess
* fix(pr-509): refuse TLS ECH discovery over a tunneled hop
* docs(pr-509): correct the tunnel dial option and classifier docs
* fix(pr-509): count a tunneled request as sent once every relay below has written it
* refactor(pr-509): move the SOCKS5 CONNECT tests into their own module
* test(pr-509): assert the target a tunneled VMess hop sends
* test(pr-509): check tunnel refusals by type, not message
* refactor(pr-509): implement SsTransport only for boxed proxy streams
* docs(pr-509): correct VLESS tunnel and REALITY fixture docs
* test(pr-509): assert the target a tunneled Shadowsocks hop sends
* test(pr-509): cover the SOCKS5 credential flush over a buffering carrier
* test(pr-509): assert SOCKS5 publishes request-sent before confirmation
* docs(pr-509): correct Shadowsocks stream and test comments
* fix(pr-509): keep ECH for a tunneled TLS hop whose server name is an IP
* fix(pr-509): forward vectored writes through the WebSocket pipe
* fix(pr-509): write queued gRPC DATA under the request that queued it
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* docs(start): add service, log and OpenWrt guidance from the doona manual
* docs(reference): add startup and geodata diagnostics, link UI topics to doona
* fix(outbound): send the WebSocket Host name as SNI
* fix(outbound): drop IPv6 brackets from the WebSocket Host SNI
* test(outbound): assert the SNI a WebSocket TLS dial sends
* fix(observe): widen kernel route trace dictionary budget
A LAN-scale policy (96 compiled routes) exceeded the 64 KiB per-policy
rule-text dictionary budget, silently disabling kernel route trace
decoding with only a reload warning. Raise MAX_DICTIONARY_BYTES to
128 KiB and MAX_RETAINED_BYTES to 2 MiB. The dictionaries are userspace
frozen rule-text tables (the kernel keeps fixed-size witnesses only):
no eBPF ABI, kernel map or packet-path change. OWNER_BYTES derives
from MAX_RETAINED_BYTES and stays far inside the flow store budget.
Syncs the numbers stated in the en and zh reference/api.md.
* docs(pr-502): state the 128 KiB / 2 MiB trace dictionary limits
* test(pr-502): expect a full trace layout to fit the widened dictionary budget
* test(pr-502): cover the widened dictionary and retained trace budgets
* docs(pr-502): note the startup warning in the trace dictionary changelog
* docs(pr-502): keep the trace dictionary changelog bullet on one line
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* test(dns): rebind the listener test on its own loopback address
* test(udp): keep the source reply targets off the shared loopback port pool
* test(dns): keep the UDP pool rebind tests off the shared loopback port pool
* test(udp): prove endpoint socket release through a weak handle