Files
telemt/src
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
..
2026-04-04 11:28:32 +03:00
2026-03-21 15:45:29 +03:00
2026-04-06 16:12:46 +03:00
2026-04-04 11:28:32 +03:00
2026-04-05 17:23:40 +03:00
2026-03-31 19:22:36 +03:00
2026-03-23 20:32:55 +03:00
2026-03-21 15:45:29 +03:00
2026-04-05 17:23:40 +03:00
2026-03-23 21:58:39 +03:00
2026-04-05 17:23:40 +03:00
2026-04-05 17:23:40 +03:00
2026-03-21 15:45:29 +03:00