rustdeskandClaude Opus 5.5 50e3a3aa06 Answer a hello past the budget with a cookie for its address
A server past its hello budget dropped the hello, so a flood of forged
hellos kept every new socket from its welcome until it fell back to
plaintext. The server now answers such a hello with a cookie, a MAC of
the client's address, and takes the same hello again with the cookie
attached, which proves the address can receive: WireGuard's cookie reply
under load and QUIC's Retry (RFC 9000 8.1.2). The reply echoes part of
the hello's enc, so only one who saw the hello can forge it, and it is
shorter than any hello. The client keeps the cookie for two minutes and
attaches it to its hellos; the cookie is bound to the address, not the
socket, as QUIC's tokens are, so a one-off socket may carry it too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PkpVy2ufxgEjKd3SjXPnJ8
2026-11-07 22:47:57 +08:00
2025-01-20 16:06:27 +08:00
S
Description
No description provided
75 MiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 100%