Expand description
Session Manager
Manages active VPN sessions with O(1) tag validation
Structs§
- Session
- Session information
- Session
Manager - Session Manager with O(1) tag lookup
- u256
- 256-bit bitmap for tracking received packets
Enums§
- Session
State - Session state
Constants§
- HARD_
TIMEOUT - Session hard timeout — 0 means unlimited (Issue #33).
Configurable via
session_timeout_secsin server.json. PFS ratchet already handles key rotation, so forced session expiration is unnecessary and causes reconnect failures. - IDLE_
TIMEOUT - Session idle timeout (default)
- MAX_
SESSIONS - Maximum sessions on 1GB VPS
- TAG_
WINDOW_ SIZE - Tag window size (allow out-of-order packets)