43 Commits
Author SHA1 Message Date
eries cb531a0f69 ci(release): add full, clash-api and native-api artifacts 2026-10-20 22:40:19 +08:00
Zakk 1106ffaf1a docs(en): tighten wording in API-branch docs 2026-10-07 22:36:05 +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
Zakk ea85f57cbf docs: tighten wording in design and reference docs (#311)
* docs(en): tighten wording in design and reference docs

* docs(zh): tighten wording in design and reference docs
2026-10-04 19:44:56 +11:00
M0re Co1ors 9c7a16734d doc(readme): change some process (#307) 2026-10-01 03:13:14 +08:00
eries 92ff806fc8 docs(readme): simplify the overview and align Chinese docs 2026-09-30 22:39:38 +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 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
Zakk e6fe0d7036 test(config): compare the dae-config parser with dae's parser in CI, with authored dialect cases and fuzzing (#255)
* test(config): add the conformance projection and the authored dialect cases

* test(config): compare the manifest against dae's parser

* test(config): fuzz targets with shared checks and a replayed corpus

* chore(ci): add the parser lane and the weekly fuzz job
2026-09-17 13:41:28 +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
Zakk 16ddc68735 Rename README_CN.md, match the Justfile to CI, note the geosite test assets (#150)
* docs(readme): rename the Chinese readme to README.zh.md

* fix(just): match the lint and format recipes to CI

* docs(agents): say where the geosite tests find their assets
2026-09-09 12:52:58 +08:00
M0re Co1ors 517fe04b06 feat(routing): compile canonical policy into native eBPF (#181)
* feat(routing): compile canonical policy into native eBPF

* fix(routing): restore capacity and bound native emission

* refactor(routing): simplify compiled policy ownership and identity

* fix(ebpf): support compiled routing on Linux 6.12

* fix(routing): bound domain projection and repair review gates
2026-09-09 05:00:43 +08:00
eries 10a95e3ee0 docs: align bilingual startup documentation 2026-08-27 21:28:03 +08:00
M0re Co1ors 99a54c9b77 feat(dns): proxy DoQ and DoH3 over packet transports (#75)
* feat(dns): proxy DoQ and DoH3 over packet transports

* fix(quic): honor full-cone packet replies
2026-08-27 10:56:02 +08:00
M0re Co1ors 28ba72c7c1 feat(score): score policy optimization (#66)
* fix(group): deduplicate layered score failure freshness

* fix(group): scope score exploration cadence by context

* feat(group): record score selection reasons

* feat(group): expose privacy-safe score reason snapshots

* feat(api): expose aggregate score selection reasons

* docs(score): document selection reason statistics
2026-08-23 04:42:43 +08:00
M0re Co1ors bdda590fcc fix(subscription): preserve nodes on empty refresh (#63)
* fix(nfqueue): fall back when startup prerequisites fail

* fix(subscription): preserve nodes on empty refresh

* fix(subscription): harden refresh and startup recovery

* docs(dns): document resolver ownership states

* fix(subscription): preserve public reload publication

* test(nfqueue): cover stale table preflight

* docs(nfqueue): clarify fixed queue preflight

* fix(subscription): reject unsafe refresh results

* fix(nfqueue): degrade pre-admission startup failures
2026-08-22 19:42:24 +08:00
eries 08fc1e3f4c feat(config): move NFQUEUE setting to global config 2026-08-22 14:21:42 +08:00
M0re Co1ors 41ec601855 feat(group): add always-on score policy (#43)
* feat(group): add adaptive honk policy

* docs(group): document optional honk policy

* ci(group): test optional honk policy

* feat(group): score real QUIC probe outcomes

* feat(group): make score policy always-on and time-aware

* docs(group): document built-in score policy

* perf(group): avoid decayed score snapshot copies
2026-08-19 09:16:27 +08:00
eries 4b70582e5a docs(dns): record QUIC proxy transport gap 2026-08-17 22:19:34 +08:00
eries 17ae017973 docs: rewrite doc/ as bilingual en/zh per-subsystem trees 2026-08-11 20:59:55 +08:00
eries e5e251baa1 docs(vless): document multiplexed wire modes 2026-08-11 15:08:13 +08:00
eries 05d8bc8438 fix(nfqueue): harden production safeguards 2026-08-10 17:43:25 +08:00
eries fb71c297fe merge: integrate current main
# Conflicts:
#	AGENTS.md
#	crates/honk-core/src/control/tests.rs
#	crates/honk-outbound/src/proxy/anytls.rs
2026-08-10 03:17:45 +08:00
eries f990f0db62 refactor(nfqueue): simplify staged UDP control plumbing 2026-08-10 02:07:36 +08:00
eries d5b3b9ebcd docs(udp): document held first-packet offload 2026-08-10 01:15:46 +08:00
eries b35ee5a8e5 docs(outbound): mark Trojan UoT review pending 2026-08-09 18:43:07 +08:00
eries 26d238bdcd docs: change Readme 2026-08-07 23:21:27 +08:00
eries 08f59e6f96 feat(config): align dae routing and subscription semantics 2026-08-07 23:10:37 +08:00
eries 9135cb1f54 docs: document rprx protocols and the reality client 2026-08-05 09:37:04 +08:00
eries bb6104046a docs: sync residual outbound v2 facts across agent and user docs 2026-08-04 06:47:53 +08:00
eries 6a95db03e7 docs: drop removed protocols from protocol surface documentation 2026-08-04 02:28:02 +08:00
eries b2a010ba05 Merge remote-tracking branch 'origin/main' into feat/rollback-lru-to-hash 2026-07-25 12:41:30 +08:00
TnZzZHlp 2a33cc8501 feat(config): support include syntax 2026-07-25 11:08:25 +08:00
glassyiris 82077df4aa feat(proxy/hysteria2): brutal CC, port hopping, pinSHA256, QUIC knobs
- fix(config): hysteria2 share links never populated hy2_auth (userinfo
  secret was dropped) and ignored obfs=salamander&obfs-password
- fix(proxy/hysteria2): stop advertising SETTINGS_H3_DATAGRAM in the
  client preface; it made the server's quic-go http3 layer race the
  hysteria UDP session manager and deterministically eat the first
  datagram of every connection
- feat(proxy/hysteria2): brutal fixed-rate sender (upmbps) + Hysteria-CC-RX
  advertisement (downmbps) via a new quinn congestion controller
- feat(proxy/hysteria2): client-side port hopping (mport/mhop); first
  packet already hops and received sources are rewritten to the nominal
  remote so DNAT'd hop ports look stable to QUIC
- feat(tls): pinSHA256 leaf-cert fingerprint verification replacing
  PKI/hostname checks, shared by the TCP and QUIC BoringSSL paths
- feat(quic): stream/conn receive windows and disablePathMTUDiscovery
- refactor(quic): QuicClientOptions / BoringQuicOptions; shared
  client_config no longer reads protocol-specific Node fields
- env-gated e2e tests against a real official hysteria2 server
  (TCP, UDP relay, salamander, brutal, hopping, pin)

Verified against official hysteria2 v2.10.0 (plain + salamander obfs):
TCP and UDP relay pass, CC-RX confirmed in server logs, pin
accept/reject verified.
2026-07-25 04:00:30 +08:00
eries ab97bd07eb docs: add review status 2026-07-24 00:46:52 +08:00
glassyiris 767974d2f8 docs: thank Markson Pigeonzilla Plus for juicity-rs
The Juicity wire-format alignment review and the live interop test
(auth, TCP and UDP-over-stream against a juicity-rs server) were done
against https://github.com/juicity/juicity-rs — add it and its author
to the README acknowledgments.
2026-07-24 00:03:13 +08:00
glassyiris 78493e0f41 feat(dns): encrypted transports, dae routing rules, and dial-path proxy
Add DoT/DoH/DoQ/DoH3 with session reuse and drop hickory-resolver.
Implement dae request/response DNS routing (qname/qtype/reject/asis,
response re-query, fixed_domain_ttl, optimistic_cache_ttl).

Upstream dial: explicit `name: 'uri' -> group|node`, or implicit traffic
Route(dns server) + GroupManager selection (dae chooseBestDnsDialer).
Wire SharedGroupManager and traffic Router into UpstreamPool; cache
H2/TLS sessions per leaf node.
2026-07-22 03:06:45 +08:00
glassyiris 9f9b5a3d3c docs: fix datapath differences — add group pre-filter & LRU map design, drop wrong EVENT_RINGBUF claim 2026-07-21 01:26:16 +08:00
glassyiris 50aac8f1c9 docs: correct LAN delivery description — dae-parity tc/dae0 path, no iptables TPROXY rules 2026-07-21 01:20:48 +08:00
glassyiris e67206879d ci: add tag-triggered release workflow; set version v0.0.1.alpha and mark README experimental 2026-07-21 01:15:14 +08:00
glassyiris 00df52851e Initial commit: honk — Rust eBPF transparent proxy engine 2026-07-21 00:53:43 +08:00