v0.3.1
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-socks5process no longer unlinks and
rebinds an admin Unix socket that a live instance is already serving (which
silently destroyed the running server'sattachsocket). The admin endpoint
now probes the path withconnect()and refuses to clobber a live socket,
holds a lifetime advisory lock on a sidecar<socket>.lockto 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 newservesubcommand. 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 viaserve.
Added
servesubcommand (aliasrun) to run the SOCKS5 server.