telemt/docs/Config_params
sintanial ddeda8d914
feat: add configurable RST-on-close mode for client sockets
Add `rst_on_close` config option (off/errors/always) to control
SO_LINGER(0) behaviour on accepted TCP connections.

- `off` (default): normal FIN on all closes, no behaviour change.
- `errors`: SO_LINGER(0) set on accept, cleared after successful
  handshake auth. Pre-handshake failures (scanners, DPI probes,
  timeouts) send RST instead of FIN, eliminating FIN-WAIT-1 and
  orphan socket accumulation. Authenticated relay sessions still
  close gracefully with FIN.
- `always`: SO_LINGER(0) on accept, never cleared — all closes
  send RST regardless of handshake outcome.
2026-04-10 05:01:38 +03:00
..
CONFIG_PARAMS.en.md feat: add configurable RST-on-close mode for client sockets 2026-04-10 05:01:38 +03:00
CONFIG_PARAMS.ru.md feat: add configurable RST-on-close mode for client sockets 2026-04-10 05:01:38 +03:00