* 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
* ci: run the DNS smoke on the release honk-core in its own lane
* ci: report the release binary size and cap the smoke CPU
* ci: floor the slowest-test limit at 30 s
* ci: bound every job, cancel superseded pull-request runs, scope permissions
* build: pin the stable and eBPF toolchains in rust-toolchain files
* ci: pin downloads and actions, cache them and the cargo builds
* ci: compile the eBPF job's host side in parallel and keep the guest output
* test(core): ignore the config.dae routing test in code rather than on the command line
* ci: run the suites under nextest with per-test timeouts and JUnit output
* 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
Audit of every resolver in the tree found six spots still bypassing
honk's DNS stack; all now share it:
- urltest (clash delay): optional UrltestResolver hook, installed by
honk-core against DnsController::resolve_domain — delay measurements
follow dns.routing/cache/serve-stale instead of the system resolver
- alive: raw-TCP fallback probe and startup check-URL seed resolution
use the same ResolveHook instead of lookup_host
- udp_check_dns: domain entries resolve through the internal DNS hook
(literal entries still win), reload-safe via DnsController
- subscriptions: reqwest gets a reqwest::dns::Resolve backed by the
bootstrap resolver (bypass-marked), so subscription fetches no
longer depend on a poisonable system resolver
Verified live on the gateway with a split-DNS config
(223.5.5.5 UDP + dns.alidns.com DoH + dns.alidns.com DoQ + 1.1.1.1
DoH3): baidu/google/bing resolve via their designated upstreams, the
environment-blocked DoH3 upstream fails isolated (other domains
unaffected), and health-check resolution degrades to the system
fallback when the internal path has no answer.
Adds ci/dns-ci.sh + just dns-ci gate (fmt, clippy, config, dns,
control, outbound suites) — ALL GREEN.
Audit-driven cleanup (4-way parallel audit):
- ProxyHandler::test_connectivity gets a default implementation;
eight byte-identical copies across handlers deleted
- util.rs TCP keepalive now uses socket2's safe API (was two raw
libc::setsockopt blocks) and connect_marked_addr is one code path
instead of two 90-line branches; marked UDP socket creation unified
between quic.rs and util.rs
- alive: remove the RecoveryState dead state machine (~100 lines),
extract probe_backoff, DialerCollection::update_moving_average and
PerProtocolState::reset_on_success (each was triplicated)
- group: std RwLock -> parking_lot (drops a dozen unwraps, matches
the rest of the crate)
- quic_boring: HKDF expand-label info builder shared between
sha256/sha384 variants; anytls md5_hex hand-roll replaced with a
fmt::Write fold; transport wrote_preface/wrote_headers dead fields
removed
No behavior change intended; 264 lib tests + clippy clean.
eBPF BTF: build.rs now verifies the object it embeds actually contains
.BTF (aya refuses BTF-less objects at runtime on the gateway), rebuilds
when missing or BTF-less, and strips RUSTFLAGS/CARGO_ENCODED_RUSTFLAGS
from the child env — an environment RUSTFLAGS overrides
crates/honk-ebpf/.cargo/config.toml's --btf flags and silently produces
BTF-less objects (the 'no BTF parsed for object' incident). A stale
BTF-less copy from an earlier build also sat in the musl OUT_DIR
because build.rs never reran there.
Cross builds (ci/zigcc, ci/zigcxx, ci/zig-bindgen-env): boring-sys
needs a clang-compatible toolchain under cross — CMake injects
clang-style --target flags into its ASM rules that real GCC rejects
and zig rejects in Rust-triple spelling, and bindgen needs zig's target
headers instead of the host's. The wrappers strip/rewrite those flags
(plus rustc's aarch64 errata linker args); musl targets link with
-C link-self-contained=no so zig supplies the CRT (duplicate _start
otherwise). Verified locally: x86_64-musl (static, runs), aarch64-gnu
(glibc 2.28), aarch64-musl (static) — all with BTF-ful embedded objects.
Justfile: build-musl uses the zig wrappers; build-ebpf warns on
RUSTFLAGS and verifies .BTF; test-ci mirrors the CI gate; clean-all
also removes the live table-100 policy routes (2023/iptables lines are
now marked legacy); dropped run/deploy/docker* recipes whose scripts/
Dockerfile don't exist in this tree.
release.yml: test job installs cmake+libclang and skips only the 3
known-failing pre-existing tests; build job verifies eBPF BTF and
cross-builds via the zig wrappers (zig 0.14.1) instead of cross.
- tls.rs: ech_enabled without a static ech_config now discovers the
ECHConfigList from DNS HTTPS records (RFC 9460) at connect time, via
the bootstrap resolver or the first system nameserver, cached per
domain (record TTL hits, 5min negative). Best-effort/fail-open;
Chrome mode still GREASEs when nothing is found. Covers TCP TLS
(TlsConnector::connect) and QUIC (client_config is now async).
- bootstrap.rs: raw query helpers + HTTPS (65) query + SVCB ech
SvcParam parsing behind query_ech_config; GLOBAL_TEST_LOCK
serializes set_global tests.
- utls_imitate is wired: chrome* uses the Chrome profile, any other
value warns and falls back (only the Chrome profile exists);
ControlPlane applies both tls_implementation and utls_imitate.
- quic::client_config made async for discovery; client_for() in
tuic/juicity/hysteria2 builds outside the client lock; DoQ/DoH3
client constructors and UpstreamPool::build_transport follow.
- Track crates/honk-outbound/src/quic_boring.rs and tests/fixtures/
(previously untracked); Justfile musl toolchain notes for boring-sys.
- Docs: components.en/zh.md ECH + utls_imitate, AGENTS.md sync.
Tests: 4 new (SVCB parse, stub-DNS ech lookup, discovery cache
pos/neg, discovery-driven real ECH handshake); honk-outbound 235 pass,
workspace green except the two pre-existing suites.