Skip to content

rusty-conduit v1.3.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 21:11
· 12 commits to main since this release

What's Changed

Shared Engine Migration (rusty-conduit-engine v0.2.0)

  • Ported rusty-conduit onto the shared rusty-conduit-engine v0.2.0 crate (default-features = false, keeping the binary lean without the regex routing feature).
  • Preserved exact v1.2.0 CLI --help output, text/JSON access-log schemas, HTTP status codes (403/502/504), SOCKS reply codes, and DNS+IP allowlist filtering behavior.

Fixes & Divergence Ledger Notes (docs/DIVERGENCE-LEDGER.md)

  • E3-01 (option, logging): Uses AccessLogConfig::with_routing_fields(false) / AccessLogger::with_routing_fields(false) so the v1.2.0 access-log schema is unchanged (omitting rule, profile, and upstream fields).
  • E3-02 (option, filter, upstream::direct): Installs HostFilter on DialerOptions (DirectDialer) rather than the router so IP/CIDR-only allowlists continue checking resolved IPs at dial time.
  • E3-03 (keep, http, socks): Bad CONNECT target 400 response body updated from invalid CONNECT target to CONNECT target must be host:port, and diagnostic ERROR/INFO/DEBUG log wording now uses the engine's unified format. HTTP status codes (403/502/504) and SOCKS reply codes are unchanged.
  • E3-04 (option / fix, server, mitm): Explicitly retains rusty-conduit's defaults (max_connections = 4096, mitm_cert_cache_max = 10_000) via ServerOptions and MitmOptions, and inherits the E2 MITM CA loader fixes:
    • E2-01 (fix, mitm::ca): Unencrypted EC private keys with explicit P-256/P-384 curve parameters now load automatically; other explicit curves return CaError::ExplicitEcParameters with an openssl ec -param_enc named_curve hint.
    • E2-02 (fix, mitm::ca): Keys encrypted with PBES2 HMAC-SHA1 PRF now fail early with CaError::Pbes2Sha1Prf and a corrected OpenSSL/PKCS#12 re-encryption hint.

Full Changelog: v1.2.0...v1.3.0