267 Commits
Author SHA1 Message Date
M0re Co1ors b71b6b65d4 fix(datapath): follow-ups to the datapath fixes (#149)
* fix(ebpf): key the IPv6 new-flow budget by /64

* fix(ebpf): match IPv6 fragments on address and identification only

* fix(ebpf): record an expiry hint only after the ring accepts it

* refactor(core): size UDP commit batch buffers by request count

* test(core): drop tests that pass without their change and widen deadline margins

* docs(datapath): describe the /64 budget, IPv6 fragment keys and hint recording

* docs(agents): restore the ActivateDirect grace and dead-outbound health invariants

* docs(datapath): state the per-CPU ceiling of the new-flow budget

* fix(ebpf): keep the IPv6 new-flow budget per source address

* docs(datapath): per-address IPv6 budget, accurate map ceiling, hint cost and UDP health wording
2026-10-20 12:37:46 +08:00
M0re Co1orsandZakk 5b854151c4 fix(ebpf): datapath correctness, long-connection keepalive and commit latency (#148)
* fix(native-ui): embed doona beta.20

* fix(udp): preserve and share QUIC source associations

* refactor(udp): add multi-target transport contract for shared sources

* fix(udp): route shared-source protocols through one generic source arm

* fix(udp): share one SOCKS5 association per client source

* fix(udp): share one Shadowsocks association across destinations

* fix(udp): share one Juicity UDP stream per client source and return real peers

* fix(udp): share one Trojan UDP stream per client source

* fix(udp): share AnyTLS source over non-connect UoT

* test(udp): benchmark production UDP send and receive

* fix(udp): share VLESS UoT v2 and H2MUX over addressed framing

* fix(udp): keep foreign domain names off the per-packet wire

* perf(udp): keep Hy2 address buffer out of the send future

* refactor(udp): select shared sources through the protocol registry

* docs(udp): document shared-source full-cone behavior and correct node defaults

* test(udp): prove shared-source full-cone through the real kernel path

* test(udp): benchmark shared-source overhead against ordinary flows

* build(core): drop duplicate dev-dependencies

* perf(udp): admit source replies with one endpoint lookup

* perf(udp): skip the reply timeout when the client socket is writable

* perf(udp): keep one retirement waiter across source replies

* fix(udp): type native UDP size refusals as local rejections

* fix(config): follow group members to re-derived node ids

* test(udp): check benchmark replies against their destination

* fix(config): keep group members off ambiguous stored node ids

* fix(udp): type interrupted shared frames and split oversized UDP modules

* docs(udp): name the shared AnyTLS uot transport in the ownership map

* fix(subscription): report provider usage and expiry

* test(udp): cover cancelled frame writes on VLESS UoT v2 and H2MUX

* refactor(udp): share the dialed-domain reply rule across UDP transports

* refactor(udp): name the empty-first-datagram rule on SourceTransport

* fix(quic): evict the oldest pending reassembly when the table is full

* fix(udp): warn when a source's foreign reply sockets saturate

* test(ci): run the shared-source sing-box interop matrix weekly

* bench(core): gate the real-I/O bench harness behind udp-bench

* fix(udp): keep an H2MUX window stall before the first chunk packet-local

* fix(udp): admit a datagram when its poisoned frame write starts

* fix(udp): fail a shared source whose uplink admits nothing for 30 s

* fix(udp): fail a stalled source across quiet gaps, not per deadline run

* docs(udp): describe the send attempt every source carrier now holds

* test(config): resync node documentation corpus ranges

* fix(subscription): preserve Mihomo TUIC ALPN defaults

* fix(ebpf): bind flow ownership and fence retirement

* fix(ebpf): preserve stable flow values and live ownership

* fix(udp): preserve fresh route and admission authority

* fix(ebpf): keep retransmitted SYNs on their original request

* test(ebpf): drop ownership cases that repeat a covered branch

* fix(ebpf): count TCP ownership publication failures

* refactor(ebpf): share auxiliary publication and split conntrack by protocol

* refactor(core): own retirement and namespace plumbing in single modules

* test(core): bind kernel cases to functions over shared fixtures

* test(core): make token-zero retirement fixture ownership-sensitive

* fix(nfqueue): keep full error chains in fatal decision reports

* docs: list kernel options required by TCP request ownership

* docs(datapath): state the SYN-flood cost of disabled cookies

* docs(control): name the janitor health owner

* refactor(ebpf): drop the redundant UDP claim flag

* refactor(core): plan expiry hints through the conn planner

* refactor(core): validate socket identity storage through the layout checker

* test(core): share the singleton retirement fixture

* test(core): seed retirement flows through the publisher

* test(core): start pin-error epochs through the retirement fixture

* fix(ebpf): never deny host sockets on identity capture failure

* test(config): resync how-to-start documentation ranges

* fix(group): honor network pins in URLTest retries

* fix(anytls): share one silent-window failure episode

* fix(probes): limit graph caps to leaf expansion

* fix(dns): capture bootstrap TCP fallback transport

* perf(outbound): box resolver futures only for observation

* perf(anytls): compile out inert observation storage

* fix(lifecycle): quiesce NFQUEUE and UDP before detaching hooks

* fix(lifecycle): recheck NFQUEUE health before datapath admission

* fix(lifecycle): wait for the UI download owner past its stop deadline

* fix(core): roll back started owners when native startup fails

* fix(udp): never start a preparation after the plan is decided

* fix(tcp): close accepted socket before retiring redirect state

* fix(native): keep kernel route on pinned TCP DNS flows

* fix(native): record UDP DNS refusals independent of DNS log

* fix(reload): clear automatic pins on no-op activation

* fix(native-api): commit geodata settings off the runtime worker

* fix(native-api): mask listener secrets in DNS responses

* fix(native-api): honor wildcard Accept-Encoding for directory UI

* fix(native-api): count each eBPF object once in memory telemetry

* fix(config): sync the current directory for a bare export filename

* fix(native-api): keep dependency identity across an unchanged reload

* fix(native-api): charge provider JSON allocations to snapshot retention

* fix(download): admit selected Score work before a routed download runs

* fix(subscription): skip cache-off providers in the offline body lookup

* fix(download): resolve forced-group hosts with the request's strict resolver

* fix(download): race resolved addresses for direct downloads

* fix(state): skip disabled Clash-owner rows in the legacy cache import

* fix(ui): open the download archive inside the output directory

* perf(routing): hash-index shared IP matcher interning

* fix(config): keep explicit group option presence in structured loaders

* fix(config): skip entry-shaped children of braced subscription entries

* fix(relay): treat unreachable client errors as client-side

* docs(operations): back up legacy subscription bodies before rollout

* docs(api): document refusal request lines at INFO

* docs(api): condition geodata persistence on owner initialization

* docs(api): use the pinned doona commit epoch

* docs(configuration): qualify mode persistence for native-disabled

* docs(groups): sync zh exact-ID selector exception

* docs(rules): name the actual VM lifecycle coverage

* docs(rules): include native-ui in the release feature recipe

* refactor(alive): extract health runner from probe

* refactor(state): let the cache writer own its flush deadline

* refactor(routing): move domain matching into routing/domain.rs

* refactor(config): move experimental section reader into parser/experimental.rs

* refactor(control): split UDP candidate preparation from connection init

* refactor(control): split UDP reply delivery from endpoint driver

* refactor(native-api): move listener secret masking into its own module

* refactor(config): centralize listener secret value decoding

* refactor(native-api): split managed entries and candidate validation

* refactor(control): centralize TCP selection observation

* refactor(observe): own DNS history in the recorder

* refactor(native-api): split security integration tests

* refactor(native-api): separate event HTTP adapters

* refactor(control): split HTTP prober from probers

* refactor(control): extract reload DNS preparation

* refactor(ebpf): share the batch map snapshot traversal

* fix(download): continue Score work across subscription redirects

* perf(reload): skip unpinned groups when clearing automatic pins

* fix(ebpf): prove accepted TCP children from sock_ops

* test(ebpf): verify the sock_ops callback body in the helper audit

* fix(ebpf): prove a child whose publication TC already marked Closing

* docs(datapath): drop the miscounted SYN retry timetable

* fix(routing): share fact IDs between identical matchers

* refactor(core): report retirement outcomes per request

* fix(core): retire UDP endpoints whose kernel flow was reclaimed

* fix(ebpf): select UDP listeners consistently

* fix(ebpf): rate-limit new flows per LAN source

* fix(ebpf): drop fragments of redirected and blocked datagrams

* perf(nfqueue): run staged UDP commits off the async worker

* perf(nfqueue): activate armed direct UDP without a grace period

* perf(nfqueue): batch staged UDP commits

* feat(ebpf): count redirect and handoff occupancy

* fix(core): drive janitor cadence from auxiliary occupancy

* fix(core): resume janitor scans from a persistent cursor

* fix(core): reclaim unpinned TCP and stateless UDP redirects after 30 s

* perf(core): widen retirement batches

* fix(ebpf): suspend reverse UDP learning under conn pressure

* fix(ebpf): learn local UDP service replies at the socket probe

* fix(ebpf): stop publishing TCP state from reverse-direction SYNs

* fix(ebpf): renew owned expired UDP handoffs

* fix(ebpf): exempt TCP port 53 from WAN egress health drops

* fix(ebpf): gate established TCP only at admission

* fix(core): fail startup when dae0_ingress cannot attach

* fix(ebpf): renew UDP conn from proxied replies

* fix(ebpf): continue the TCX chain on pure pass-through

* refactor(core): stop creating clsact qdiscs

* perf(ebpf): collapse redundant locked conn lookups

* perf(ebpf): avoid duplicate WAN UDP failure snapshots

* perf(ebpf): rate-limit repeated expiry hints per flow

* perf(core): find duplicate retirement fences without a quadratic scan

* fix(core): keep the janitor running when a telemetry read fails

* fix(core): name the pressured map and keep retirement causes in janitor logs

* fix(ebpf): clear stale fragment drops on accepted ID reuse

* fix(ebpf): budget local UDP learning per LAN source

* test(ebpf): slim the regression tests added by this series

* docs(datapath): describe the datapath fixes

* fix(core): finish the kernel handoff of a terminal commit that a reload cancels

* fix(core): reject expired staged commits after releasing the backend lock

* fix(core): stop the commit pump under its task lock

* docs(datapath): scope the port-53 health exemption to LAN ingress and WAN egress

* refactor(ebpf): call the shared outbound health gate directly

---------

Co-authored-by: Zakk <zakk@gentoozh.org>
2026-10-20 09:34:35 +08:00
eries 237d1f5874 fix(ebpf): prove a child whose publication TC already marked Closing 2026-10-20 05:35:07 +11:00
eries 17267f9d4a fix(ebpf): prove accepted TCP children from sock_ops 2026-10-20 05:35:07 +11:00
eries 0c751e9607 fix(download): continue Score work across subscription redirects 2026-10-20 05:35:06 +11:00
eries 5c8663bad6 refactor(ebpf): share the batch map snapshot traversal 2026-10-20 05:35:06 +11:00
eries d5b0311cf7 refactor(native-api): separate event HTTP adapters 2026-10-20 05:35:06 +11:00
eries 16af6ce772 refactor(observe): own DNS history in the recorder 2026-10-20 05:35:06 +11:00
eries e25e3aa67f refactor(control): split UDP candidate preparation from connection init 2026-10-20 05:35:05 +11:00
eries 8dc0944435 fix(relay): treat unreachable client errors as client-side 2026-10-20 05:35:03 +11:00
eries 80ef631a0f fix(native-api): mask listener secrets in DNS responses 2026-10-20 05:35:02 +11:00
eries a4d9510dbb refactor(core): own retirement and namespace plumbing in single modules 2026-10-20 05:34:58 +11:00
eries 69717d0a0b fix(ebpf): keep retransmitted SYNs on their original request 2026-10-20 05:34:57 +11:00
eries e5ef14b5fc fix(udp): preserve fresh route and admission authority 2026-10-20 05:34:57 +11:00
eries 1a32bf3900 fix(ebpf): preserve stable flow values and live ownership 2026-10-20 05:34:57 +11:00
eries fb9081b6a3 fix(ebpf): bind flow ownership and fence retirement 2026-10-20 05:34:57 +11:00
eries eda7ce124b fix(udp): fail a stalled source across quiet gaps, not per deadline run 2026-10-20 05:34:56 +11:00
eries d2d9bf9aeb fix(udp): fail a shared source whose uplink admits nothing for 30 s 2026-10-20 05:34:56 +11:00
eries 6692de5271 bench(core): gate the real-I/O bench harness behind udp-bench 2026-10-20 05:34:56 +11:00
eries 07b892f6ae test(ci): run the shared-source sing-box interop matrix weekly 2026-10-20 05:34:56 +11:00
eries cc991285a8 docs(udp): name the shared AnyTLS uot transport in the ownership map 2026-10-20 05:34:54 +11:00
eries ec9f828f1a fix(udp): type interrupted shared frames and split oversized UDP modules 2026-10-20 05:34:54 +11:00
eries 3ea1c24802 docs(udp): document shared-source full-cone behavior and correct node defaults 2026-10-20 05:34:53 +11:00
eries d4238bfdbc fix(udp): preserve and share QUIC source associations 2026-10-20 05:34:51 +11:00
eries cf9eade2f7 fix(ebpf): deliver alternate-source UDP replies without learning reverse state 2026-10-11 01:44:40 +08:00
eries fea6cdec0b refactor(native-api): merge main into feature branch
# Conflicts:
#	.agents/rules/test-locations.md
#	crates/honk-outbound/src/proxy/transport/xhttp/runtime.rs
#	crates/honk-tool/src/sub.rs
#	doc/en/reference/cli.md
#	doc/zh/reference/cli.md
2026-10-09 20:36:02 +08:00
M0re Co1ors f8cf86a092 feat(xhttp): send XHTTP GETs to Xray downloadSettings peers (#319)
* feat(config): admit Xray XHTTP downloadSettings as an uninherited download peer

* feat(subscription): map panel download-settings to the Xray download peer

* feat(xhttp): send GETs through a separate download peer

* fix(xhttp): send Xray's default Chrome fetch headers without a User-Agent

* fix(tool): cap probe columns separately so slow probes keep sibling results

* docs(agents): redact concrete maintainer lab addresses

* docs(xhttp): document download peers, default request headers and probe column caps

* fix(config): validate and normalize XHTTP download addresses

* refactor(xhttp): resolve the XHTTP mode once in honk-config

* refactor(xhttp): take the GET template from the peer that carries it

* fix(xhttp): check ignored XHTTP options alike in Clash and share links

* fix(xhttp): validate both peers before publishing a split winner

* fix(config): accept an XHTTP headers claim only with a sole Referer

* docs(xhttp): note that download GETs never carry upload headers

* docs(agents): bound XHTTP logical flows per runtime, not per peer

* test(xhttp): cover the node runtime's download pool wiring
2026-10-09 19:19:13 +08:00
eries 1ab865d2eb fix(dns): keep a rate-limited WARN for SERVFAIL storms 2026-10-07 22:41:52 +11:00
eries e9176ac48f docs: define log level meanings 2026-10-07 22:36:11 +11:00
eries 0fba4ed874 docs: describe the quinn endpoint teardown order and log exclusion 2026-10-07 22:36:09 +11:00
eries 8c166f0706 perf(core): purge freed mimalloc pages after 100 ms 2026-10-07 22:35:16 +11:00
eries dea14d4cf0 docs(build): document build-musl features and build-musl-embedded-ui in AGENTS.md 2026-10-07 22:35:15 +11:00
eries d5e6c3f262 docs(native-api): document kernel admission and SSE retention 2026-10-07 22:27:32 +11:00
eries a7f59c67a1 fix(native-api): apply reviewed contract and lifecycle corrections 2026-10-07 22:27:32 +11:00
Zakkanderies f74d6a4ac5 docs(native-api): document the native API and the config changes
Co-authored-by: eries <coloredflowers@outlook.com>
2026-10-07 22:24:41 +11:00
M0re Co1ors 72d7c7f01d feat(outbound): add H2 XHTTP transport for Trojan, VMess and VLESS (#315)
* feat(config): admit XHTTP as a stream transport

* feat(outbound): add H2 XHTTP transport for Trojan, VMess and VLESS

* fix(config): require canonical H2 ALPN at XHTTP admission

* fix(config): repin conformance fences after the XHTTP node reference

* test(core): cover the new XHTTP record rejection guards

* fix(outbound): complete stream-up shutdown at upload EOF

* fix(outbound): replace the Referer query with the generated padding

* fix(outbound): escape configured XHTTP paths like Xray

* test(outbound): drop the XHTTP direct-TLS setup test that pins no XHTTP behavior

* fix(outbound): publish draining prepared carriers at winner commit

* fix(outbound): defer XHTTP carrier commit for speculative VLESS H2 UDP

* fix(outbound): warm the H2 mux pool for XHTTP session requirements

* fix(outbound): release dead private carriers during XHTTP preparation

* fix(outbound): surface ready upload errors before stream-up shutdown completes

* docs(outbound): record XHTTP ownership and bounds

* fix(outbound): retain reset XHTTP streams until in-flight frames drain

* fix(outbound): flush VMess uploads only when input is drained

* fix(xhttp): batch packet uploads across flush calls

* fix(xhttp): drain unusable reserved upload carriers

* test(xhttp): consolidate path and refusal coverage

* test(session): remove mirrored carrier publication tests

* fix(session): publish excess detached winners drain-only

* test(outbound): streamline profile and capacity regressions

* fix(config): preserve legacy transport export options

* fix(config): accept XHTTP URI exporter metadata

* fix(config): parse v2rayN XHTTP mode and ALPN

* fix(config): honor XHTTP extra request fallbacks

* fix(config): admit escaped literal XHTTP paths

* fix(config): include XHTTP in transport diagnostics

* test(config): merge overlapping XHTTP admission cases

* refactor(config): normalize XHTTP ALPN in place

* fix(config): ignore VMess JSON certificate verification flags for XHTTP

* refactor(vless): share the boxed carrier start path

* refactor(xhttp): merge streaming upload modes

* fix(xhttp): confirm the first packet-up flush against its POST

* fix(xhttp): recheck flow errors before sending a paced batch

* fix(config): bound the XHTTP path length at admission

* docs(xhttp): list XHTTP in the Trojan and VMess node rows

* docs(agents): scope the eight-response packet-up bound to a flow

* test(tool): rederive the node ID before the XHTTP mux rejection case

* fix(xhttp): confirm the first datagram against its POST

* fix(xhttp): rebind replacement dials to the published owner

* refactor(xhttp): drop the pass-through upload constructors

* refactor(runtime): rebind pooled admission through the lifecycle traversal

* refactor(config): share the XHTTP ALPN list normalization

* test(config): repin the zh configuration conformance fences
2026-10-07 18:46:53 +08:00
M0re Co1ors 7ef8a339f1 feat(vless): Vision uplink padding, uplink Direct and splice handover (#304)
* feat(vless): pad Vision uplink and switch it to Direct

* perf(relay): splice Vision carriers once both directions are Direct

* test(vless): run the official Vision interop case weekly

* docs(vless): document Vision uplink support

* fix(pr-304): refresh node documentation conformance ranges

* fix(pr-304): fall back when splice capability probes are denied

* docs(pr-304): clarify conditional Vision Direct transitions

* refactor(pr-304): stack-pin the shared copy futures

* refactor(pr-304): bound random Direct write buffers

* docs(pr-304): correct Vision and splice termination invariants

* test(pr-304): reserve matching bootstrap DNS listeners
2026-09-30 09:46:15 +08:00
M0re Co1ors 5c01a489a3 perf(score): share bounded serving pools across routes (#298)
* perf(score): fund optional work by offered load and trial yield

* perf(score): double comparison store cells within its memory budget

* perf(score): cap exploration and replace failed members

* fix(score): constrain new work to shared serving pools

* fix(score): reconcile withdrawn child slots before fallback

* fix(score): exclude removed members from trial yield
2026-09-27 12:55:57 +08:00
M0re Co1ors 2ce0f5cd29 refactor(score): report pairwise comparisons and dispatch optional work in one walk (#296)
* refactor(score): report pairwise challenger comparisons instead of group claims

* refactor(score): give optional work to one evidence-bounded dispatch walk
2026-09-26 14:01:07 +08:00
M0re Co1ors 5efb8c5a48 feat(routing): apply configurable socket and direct routing marks (#295)
* feat(routing): apply configurable socket and direct routing marks

* feat(core): download subscriptions and UI over marked sockets
2026-09-26 09:32:24 +08:00
M0re Co1ors ac457cfc29 fix(score): bound validation by business evidence and budget (#294)
* perf(score): fund validation from original business

* fix(score): restore funded validation without ordinary escape

* fix(score): preserve cadence-aware scoped comparison support

* fix(score): separate empirical comparisons from switching

* fix(score): fund validation for mismatched response cohorts

* fix(score): preserve scoped validation and recovery evidence

* refactor(proxy): simplify shared carrier failure publication

* refactor(dns): centralize scored transport initialization

* fix(proxy): keep target stream failures scoped

* fix(score): preserve business and validation ownership

* fix(quic): retain carrier causes at owning boundaries

* perf(score): look up node stats by key

* perf(score): scan comparison evidence once per decision

* test(score): keep a loaded decision probe

* perf(score): compact removed comparison cells in one pass

* perf(score): reuse snapshot lookup keys across nodes

* perf(score): skip node evidence for unauthorized ranks

* refactor(score): compare challengers in one scan

* perf(score): pair common targets only without exact evidence

* fix(score): compare every eligible challenger

* refactor(score): share reporter counting

* fix(score): advance rotation only when work begins

* refactor(score): share node slots and cohort iteration

* fix(score): resolve reliability-dominated members in comparison coverage

* fix(score): judge response degradation against the same target

* fix(score): count every unqualified candidate as a qualification blocker

* refactor(score): share duplicated budget, exclusion and serialization helpers

* refactor(dns): drop redundant DoQ error gate

* test(score): drop diagnostic probes and duplicate coverage

* test(proxy): merge duplicate carrier failure tests

* test(dns): drop duplicate continuation forwarding test

* test(score): shorten training and probe helper calls

* feat(score): earn optional work every sixteen businesses

* feat(score): bound comparison claims to a demand-sized evaluation set

* refactor(score): drop membership-sized earning period remnants

* feat(score): cover ranked members from their first qualification

* fix(score): simplify bounded coverage ownership

* refactor(vless): move H2MUX record padding into its own module

* fix(score): report one episode per shared carrier failure

* fix(score): expire claims when a covered member loses qualification

* test(score): pin decayed demand evaluation sizes

* test(control): drop the TCP recovery exhaustion loop that spent no credits

* refactor(score): keep comparison claim expiry as instants

* refactor(score): share one comparison view and join covered pairs once

* refactor(score): derive group claims in named passes of their own module

* refactor(score): keep validation run transitions pure and acquire work in plan
2026-09-24 20:14:24 +08:00
M0re Co1ors 1764bd58c2 fix(score): keep client-side TCP disconnects neutral (#284) 2026-09-21 09:18:20 +08:00
M0re Co1ors 30a363b002 fix(score): complete live UDP evidence and policy follow-ups (#282)
* feat(score): verify fresh evidence and bound TCP recovery

* fix(core): distinguish DNS timeouts from dial admission waits

* fix(score): date business usability from response progress

* fix(score): preserve recovered incumbents with comparable evidence

* fix(score): retain qualified active business paths

* feat(score): request bounded validation on carrier pressure

* perf(outbound): avoid reboxing observed TLS carriers

* feat(score): expose accepted carrier pressure causes

* feat(ci): publish debug tags to one rolling release

* fix(ci): reject incomplete Debug artifacts before publication

* fix(group): exclude UDP-incapable leaves before selection

* fix(score): observe business availability before flow settlement

* fix(score): reconcile replies racing confirmed source sends

* test(anytls): avoid pinning deadline error wording
2026-09-21 00:02:39 +08:00
Zakkanderies ca54df77cb fix(outbound): surface gRPC and VMess rejections as stream errors (#277)
* fix(outbound): surface gRPC and VMess rejections as stream errors

A peer that refuses a gRPC stream used to read as a successful dial
followed by a clean EOF: the frame parser treated END_STREAM as the only
signal and never looked at HEADERS, RST_STREAM or GOAWAY. The stream now
records a failure and reports it from every poll instead of EOF when the
peer answers a non-200 `:status`, ends the stream before any DATA (the
trailers-only shape a gRPC server declines with), ends it with a non-zero
`grpc-status`, resets the stream, or sends a GOAWAY that excludes the
stream or carries an error; a graceful GOAWAY past our stream lets it
finish. END_STREAM on a HEADERS frame takes effect once its block is
complete and judged, so a verdict split over CONTINUATION is not lost.

Header blocks are read with a small HPACK reader that keeps the dynamic
table and decodes Huffman strings (RFC 7541 appendix B), since h2 encoders
Huffman-code `grpc-status`; only `:status` and `grpc-status` are kept.

The VMess relay task's result was dropped with its abort handle, so a
rejected response header or an invalid chunk closed the duplex and the
owner read EOF. The task now records how it ended before its duplex half
closes, and the stream reports that error on the poll that would have
been EOF (and on writes that fail for the same reason).

Closes #274.

* fix(outbound): use h2 for bounded gRPC response handling

---------

Co-authored-by: eries <coloredflowers@outlook.com>
2026-09-20 00:11:29 +08:00
M0re Co1ors 318edf5826 feat(score): preserve active incumbents and validate carrier pressure (#279)
* feat(score): verify fresh evidence and bound TCP recovery

* fix(core): distinguish DNS timeouts from dial admission waits

* fix(score): date business usability from response progress

* fix(score): preserve recovered incumbents with comparable evidence

* fix(score): retain qualified active business paths

* feat(score): request bounded validation on carrier pressure

* perf(outbound): avoid reboxing observed TLS carriers

* feat(score): expose accepted carrier pressure causes

* feat(ci): publish debug tags to one rolling release

* fix(ci): reject incomplete Debug artifacts before publication
2026-09-19 21:56:02 +08:00
M0re Co1ors 060623fcfd feat(score): verify fresh evidence and bound TCP recovery (#269)
* feat(score): verify fresh evidence and bound TCP recovery

* fix(core): distinguish DNS timeouts from dial admission waits

* fix(score): date business usability from response progress
2026-09-18 10:25:29 +08:00
M0re Co1ors 3b90784c1f fix(dns): route LAN DNS before local socket bypass (#256)
* fix(dns): route LAN DNS before local socket bypass

* fix(dns): admit reassembled LAN queries through NFQUEUE
2026-09-17 08:47:26 +08:00
M0re Co1ors c38871c5ca feat(vless)!: align UDP multiplexing and harden outbound boundaries (#246)
* fix(vless): align default UDP selection with Xray

* feat(vless): separate UDP encoding and multiplex ownership

* fix(shadowsocks): preserve UDP buffers and replay state

* refactor(outbound): simplify ownership and harden transport boundaries

* fix(dns): preserve terminal refusals through outer fallbacks

* fix(config): preserve safe VLESS rejection diagnostics

* docs(vless): clarify breaking migration and carrier limits

* fix(dns): preserve terminal refusals across datagram attempts

* fix(outbound): make warm retention transitions idempotent

* refactor(config): preserve typed VLESS parse failures

* refactor(vless): share speculative UDP preparation

* refactor(core): separate reused and fresh source preparation

* refactor(config): derive the borrowed flat node output

* refactor(subscription): split admission tests by ownership

* fix(relay): flush buffered writes before waiting for input

* fix(session): preserve active warm carriers during linear reaping

* fix(health): retry unresolved UDP probe target initialization

* fix(config): report ignored VLESS flat fields

* fix(session): wake waiters when pool capacity changes

* fix(vless): preserve shared source cancellation causes

* fix(config): validate structured VLESS mux before normalization

* fix(session): retain initiating dial outcomes

* fix(udp): serialize source retirement with send state

* fix(session): fence dial startup and publication capacity

* fix(udp): preserve source outcomes during flow cleanup

* fix(session): wake capacity waiters on warm release

* fix(session): wake waiters after maintenance drains

* fix(reality): reject incomplete settings before transport selection

* test(outbound): gate public loopback interop weekly

* test(vless): characterize downstream-only Vision on the wire

* refactor(outbound): extract inline test modules without renaming

* fix(outbound): omit VLESS runtime resources without rprx

* refactor(outbound): organize protocol and runtime ownership

* docs(outbound): record mechanical blame exclusions

* test(rprx): cover handler availability in both build modes

* fix(relay): restore frame-sized reads with idle flushing

* fix(session): wake capacity waiters when carriers terminate

* test(ci): run isolated feature-off regressions

* fix(groups): resolve nested final paths across health domains

* fix(vless): allow UDP443 by default

* fix(core): preserve pending UDP attachments and feature budgets

* fix(probes): preserve refusal and capability boundaries

* fix(session): classify capacity races and simplify UDP reset

* fix(config): preserve explicit TLS security and identity
2026-09-16 16:47:46 +08:00
M0re Co1ors cc68de0fa8 fix(dns): honor terminal traffic-rule ownership (#247)
* fix(ebpf): resolve embedded objects from the current checkout

* fix(dns): honor terminal traffic-rule ownership

* fix(nfqueue): sample statistics in the caller's network namespace
2026-09-15 13:14:00 +08:00
M0re Co1ors d6ccc15f94 test(workspace): consolidate suites and tighten regression coverage (#243) 2026-09-14 09:45:23 +08:00