Skip to content

monad-wireauth: add soft/hard handshake rate limits (cookie-gated at soft, drop at hard) #2777

@dshulyak

Description

@dshulyak

right now the "cookie/ip validation" path only kicks in once total_sessions >= low_watermark_sessions. an attacker can try to keep total_sessions just below that threshold while still generating enough handshake traffic to consume the global handshake budget, causing honest peers' new connections to get dropped without ever triggering cookie-gated, per-ip controls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions