Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ratelimiting #23

Open
kgaughan opened this issue Aug 10, 2016 · 0 comments
Open

Ratelimiting #23

kgaughan opened this issue Aug 10, 2016 · 0 comments
Assignees

Comments

@kgaughan
Copy link
Owner

While uwhoisd isn't intended to be exposed to the outside world, some ratelimiting functionality would still be worthwhile.

I've already checked in a token bucket implementation, but this needs to be paired with some kind of datastructure for mapping IPs or IP ranges to token buckets, as well as a blacklisting/whitelisting mechanism.

netaddr as a good chunk of the functionality I need. Whitelists and blacklists can be modelled using IPSet.

The default in-memory implementation of ratelimiting can be supplemented by plugins, similarly to how cache plugins now work.

@kgaughan kgaughan self-assigned this Aug 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant