* 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
* 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>
* 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
* feat(dns): add optional TCP syslog auditing
* fix(dns): keep syslog sender identity only in the header
* fix(pr-462): keep audit events whose answers cannot be rendered
* fix(pr-462): warn once per DNS syslog outage and on queue saturation
* perf(pr-462): build singleflight answers only for attached followers
* test(pr-462): move DNS syslog validation tests into their own module
* test(pr-462): prove transparent UDP DNS queries reach syslog
* test(pr-462): tighten DNS audit test fixtures and assertions
* docs(pr-462): list DNS syslog switches as strict booleans
* docs(pr-462): keep DNS audit contracts in the design docs
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* fix(native-api): probe group members concurrently
Group probes ran one attempt at a time under a single 30-second job
deadline, so a few slow members left every later member at "deadline".
Attempts now run up to URLTEST_MAX_CONCURRENT at a time, matching the
URLTest group loop. Probe target resolution errors are logged instead of
surfacing only as address_unavailable.
* fix(native-api): fall back to bootstrap DNS for probe targets
Probe target names resolved only through the pinned DNS generation, so
routing that cannot answer honk's own queries, such as asis, left every
probe at address_unavailable. Other name lookups already fall back to
bootstrap DNS; probes now do the same when no address family gets an
answer. Negative answers and reject rules still stand.
* feat(dns): resolve node hosts through subtag() DNS rules
* docs(dns): document subtag() node host resolution
* test(pr-463): renumber DNS reference conformance fences after the node host example
* refactor(pr-463): store node host tags in the generation map directly
* fix(pr-463): report the exchange failure of a claimed node host lookup
* fix(pr-463): decline unclaimed node hosts before building a lookup
* fix(pr-463): treat a quoted subtag() argument as an exact tag like the group filter
* fix(pr-463): skip family preference probes in claimed node host lookups
* docs(pr-463): limit the node host claim to bootstrap-path downloads
* docs(pr-463): correct node host evaluation comments
* test(pr-463): cover the XHTTP download host in the node host index
* refactor(pr-463): spell the node host lookup as a BoxFuture
* test(pr-463): reject a proxied first declaration of a subtag() upstream
* test(pr-463): fail the bootstrap hook test when a literal reaches the hook
* fix(pr-463): name the host and partial family failure in claimed lookup logs
* test(pr-463): fail claimed node hosts while DNS is paused and release them on reload
* test(pr-463): cover exact and regex subtag tag matching
* refactor(pr-463): split subtag() arguments in their parser
* docs(pr-463): distinguish node endpoints from proxied download targets
* fix(pr-463): mark uncaptured node-host rule decisions as partial evidence
* perf(pr-463): precompute node-host policy outcomes per DNS generation
* perf(pr-463): reuse the upgraded store when recording a flow gap
* fix(subscription): name the outbound a failed download went through
* fix(subscription): stage HTTP status rejections and direct connection errors
* fix(subscription): keep the cause and node in staged download errors
* fix(pr-451): retain fetch diagnostics during shutdown
* refactor(pr-451): project provider diagnostics in one pass
* test(pr-451): separate failure contracts from routing cases
* refactor(pr-451): remove the single-use download result alias
* perf(pr-451): clone completion diagnostics only for reporters
* docs(pr-451): clarify classified fetch diagnostic availability
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* build(deps): move to aya 0.16
* fix(ebpf): adapt the datapath to aya-ebpf 0.3
* fix(ebpf): adapt the loader to aya 0.16
* docs(pr-436): refresh Aya API ownership guidance
* fix(pr-436): make shared map payloads padding-free
---------
Co-authored-by: eries <coloredflowers@outlook.com>
* fix(ebpf): parse Ethernet frames that reach L3-bound interfaces
* docs(pr-427): state that link_header keeps trailing Ethernet bytes
* perf(pr-427): veto bare IP by EtherType before probing the header offset