Skip to content

Remote comms: Basic Rate Limiting #661

@sirtimid

Description

@sirtimid

Implement simple per-peer rate limiting to prevent basic abuse scenarios. Track message count per peer with a sliding window of 1 second, limiting to 100 messages per second. For connection attempts, limit to 10 attempts per minute per peer. When limits are exceeded, queue messages up to the queue limit, then drop new messages with an error log. This prevents both accidental and intentional flooding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions