generated from MetaMask/metamask-module-template
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
ocap-enhancementOCAP Kernel enhancementOCAP Kernel enhancement
Description
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
Labels
ocap-enhancementOCAP Kernel enhancementOCAP Kernel enhancement