DanielSeehausen / fi-field-day

Flatiron WSServer for Hackathon
4 stars 6 forks source link

Rate Limiting Browser Canvas Client #42

Closed realAndrewCohn closed 6 years ago

realAndrewCohn commented 6 years ago

Assert that rate limiting works on group id

Stop the kids from spamming our server

In case the kids fuck with the nexus we don't want them to crash our swag

realAndrewCohn commented 6 years ago

Goal here is to crash the server

realAndrewCohn commented 6 years ago

Tried to crash with while true loop and iterating up to Number.MAX_SAFE_INTEGER. Chrome crashed and the server didn't even get the requests. The rate limiter is POWERFUL

realAndrewCohn commented 6 years ago

Closing this. Tested w/ while true loop and other nonsense. Chrome will crash but the server stands strong