Problem Statement
Malicious actors could flood the WebSocket server with illegal move packets or rapid ping frames, degrading server performance.
Proposed Solution
- Implement token bucket rate limiter per active WebSocket session in Actix actor.
- Allow maximum 10 client frames per second with burst allowance of 20.
- Automatically terminate connection and issue temporary cooldown on repeated violations.
Acceptance Criteria
Problem Statement
Malicious actors could flood the WebSocket server with illegal move packets or rapid ping frames, degrading server performance.
Proposed Solution
Acceptance Criteria