Skip to content

rusty-conduit-ssh v1.4.0

Choose a tag to compare

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

What's Changed

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

  • Ported rusty-conduit-ssh onto the shared rusty-conduit-engine v0.2.0 crate (default-features = false).
  • Preserved exact v1.3.0 CLI --help output, error exit codes, direction=forward|reverse access-log schema, reconnect behavior, and reverse-proxy filtering.

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

  • E4-01 (option, logging): Uses ProxyDirection + AccessLogger::with_direction(...) alongside with_routing_fields(false) so forward and reverse servers share one writer while keeping the exact v1.3.0 direction=forward|reverse log schema (omitting rule, profile, and upstream).
  • E4-02 (keep, net, upstream): Socks5UpstreamDialer implements rusty_conduit_engine::upstream::UpstreamDialer (UpstreamStream::Tcp, typed DialError::NotConnected/Timeout) and is registered as an API-only ProfileType::External profile (ssh-tunnel). Forward HostFilter runs in the router without local DNS.
  • E4-03 (keep, reverse, server, filter): ReverseProxy runs as a second engine Server with direct egress and its reverse HostFilter on DialerOptions only, preserving resolved-IP checking for IP/CIDR-only allowlists.
  • E4-04 (keep / fix, http, socks, mitm): Status and reply mapping flows through typed DialError with identical HTTP (403/502/504) and SOCKS (0x01–0x05) codes; MitmState dials through routing 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.3.0...v1.4.0