mirror of
https://github.com/daeuniverse/honk.git
synced 2026-12-05 08:01:17 +00:00
* feat(config): validate ECH config lists and share-link queries * feat(outbound): harden ECH validation, discovery and Chrome GREASE * feat(subscription,native-api): import Clash and sing-box ECH and tighten offline capture * docs(ech): document ECH validation, subscription import and changelog
1.6 KiB
1.6 KiB
Changed
- Validate inline
ech_configand file-backedech_config_pathBase64 and RFC 9849ECHConfigListwire syntax fail-closed (up to 65,537 decoded bytes) at node admission, file load, registry preflight, and QUIC client initialization; plaintext nodes outside QUIC, AnyTLS, and REALITY reject active ECH fields, QUIC and AnyTLS nodes withtls: falseshare TLS preflight and native offline-dependency validation with ordinary non-REALITY TCP TLS, and offline validation authorizes activeech_config_pathentries only when actually used (excluding REALITY and inline-overridden paths). - Preserve literal
+in share-link ECH query parameters (ech_config,echconfig,ech), trim stored static values, accept static Base64ECHConfigListvalues inech=<base64>, and enforceech_config>echconfig>echprecedence while rejecting empty values and conflicts withech=0/false. Breaking: unrecognized share-linkech=...values (such asech=https://...orech=name+https://...) are now rejected fail-closed instead of being silently treated as disabled. - Import Clash
ech-opts(enable,config,query-server-name) and sing-boxtls.ech(enabled, singleECH CONFIGSPEMconfig) in subscriptions, skipping malformed or unsupported ECH entries individually without rejecting healthy siblings. - Ignore and negatively cache (5 minutes) malformed DNS HTTPS RR
echpayloads during discovery, align QUIC ECH discovery withuses_ech_discovery()andtls_server_name(), and keep Chrome (utls) ECH GREASE enabled when a validECHConfigListoffers no supported parameters.