No idle timeout on established gate tunnels #81
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
From the pre-launch security audit (finding GATE-4, ranked #5 of the outstanding set).
Established gate tunnels have no idle timeout. The per-connection handshake defense is
already good (30s handshakeGrace), and concurrent unauthenticated handshakes are now
bounded (MaxStartups, shipped). What remains is that an AUTHENTICATED tenant can hold
idle tunnels open indefinitely, which compounds the connection-exhaustion surface rather
than standing alone.
Fix. An idle deadline on the established tunnel. Low; authenticated-tenant only.
Migrated from git-collab issue
9a7edf8108ed7dffffa87ed72a11e98d742bf9b3.Original author: a73x dev@a73x.sh.