kawa-kokosowa / msg

A simple, but powerful RESTful messaging library.
MIT License
3 stars 0 forks source link

ratelimiting in system user mode #45

Open kawa-kokosowa opened 8 years ago

kawa-kokosowa commented 8 years ago

if staticfuzz is gonna use msg, then staticfuzz will be rate limited, not per-user. meaning everyone will have to share the same rate limits, which is bad.

kawa-kokosowa commented 8 years ago

research alternatives to ip rate limiting (token or something?)

kawa-kokosowa commented 8 years ago

https://flask-limiter.readthedocs.io/en/stable/

kawa-kokosowa commented 8 years ago

could just pass the IP somehow?

kawa-kokosowa commented 8 years ago

We should be able to send a JSON field which could be a hash of the ip or just an ip itself and then in msg use hey func for limiter using said field

kawa-kokosowa commented 8 years ago

now the only issue is for us to use IP if anonymous?