Skip to content

v0.3.1

Choose a tag to compare

@github-actions github-actions released this 04 Jun 09:41
· 35 commits to main since this release
60b5280

A bare next-socks5 run on a host already running the service used to start a
second server that hijacked — and then deleted — the live service's admin
socket, leaving it with no reachable attach endpoint. This release fixes that
and makes starting the server explicit. Covered by regression tests and
validated on a live Linux deployment.

Fixed

  • Admin-socket hijack: a second next-socks5 process no longer unlinks and
    rebinds an admin Unix socket that a live instance is already serving (which
    silently destroyed the running server's attach socket). The admin endpoint
    now probes the path with connect() and refuses to clobber a live socket,
    holds a lifetime advisory lock on a sidecar <socket>.lock to serialize
    racing starters, and still reclaims a stale socket left by a crashed instance.

Changed

  • A bare next-socks5 (no arguments) now prints help instead of starting a
    server; run the server explicitly with the new serve subcommand. Legacy
    flag-only invocations (e.g. next-socks5 --no-tui --config …) still start the
    server with a one-time deprecation notice, so existing systemd / OpenRC /
    Docker deployments keep working unchanged.
  • install.sh (systemd & OpenRC units, manual-start hints) and the Docker image
    entrypoint now launch the server via serve.

Added

  • serve subcommand (alias run) to run the SOCKS5 server.