Skip to content

rusty-conduit v2.0.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 22:29
· 3 commits to main since this release

Breaking changes

  • Removed the retired name for SOCKS web blocking. The hidden --socks-block-web-in-mitm flag, RUSTY_CONDUIT_SOCKS_BLOCK_WEB_IN_MITM, and the [mitm] socks_block_web TOML key are gone. Use --socks-block-web, RUSTY_CONDUIT_SOCKS_BLOCK_WEB, or the top-level socks_block_web key. The old flag is now a usage error and the old key fails with unknown field. The startup summary prints socks_block_web=.
  • Container user and group are now 10001:10001. The image sets a numeric USER 10001:10001; the group ID was 999 before. Update anything that grants access by the old group.

New

  • validate subcommand: rusty-conduit validate --config proxy.toml loads and checks CLI flags, environment variables, and the TOML file without binding listeners, then exits 0 or 1.
  • Automatic open-file limit: on Unix, the soft RLIMIT_NOFILE is raised at startup to fit --max-connections, with a NOTICE when the hard limit is too low.
  • Allowlist exceptions: when both are set, --allow entries are exceptions to --block (they were mutually exclusive).
  • SOCKS web blocking without MITM: --socks-block-web works with or without a CA.
  • Engine v0.4.1: listeners request a 4096 listen backlog, and access-log files are written as records arrive instead of in 8 KiB blocks.

Changes

  • Default --mitm-cert-cache-max-entries is 10240 (was 10000).
  • Container image: MALLOC_ARENA_MAX=2 keeps memory at about 7 MB idle and 26 KB per open tunnel on any CPU count (it grew to 42 MB idle on 18 CPUs), and /var/log/rusty-conduit is writable for named volumes.
  • --help wording matches the rest of the family.
  • Docs: new Docker guide with tested Compose examples; sizing guide covers somaxconn and memory; release archives include the whole docs/ folder. Docs now pin the image as ghcr.io/jpbaking/rusty-conduit:2.

v1.4.0 was tagged but never published (its release run failed a formatting check), so its changes, allowlist exceptions and standalone SOCKS web blocking, ship here for the first time.