~nickbp/kapiti#8: 
Implement rate limiter for incoming queries

At the moment the server just listens to localhost. Before allowing non-localhost access*, would make sense to at least have some basic rate limiting for incoming queries. Maybe there's something off-the-shelf for this?

* But probably still just allowing requests from LAN IP ranges until after #14 and possibly #15

Also worth pointing out that an upstream firewall or similar could provide this as a stopgap.

Status
REPORTED
Submitter
~nickbp
Assigned to
No-one
Submitted
3 years ago
Updated
2 years ago
Labels
Low Priority

~nickbp 3 years ago

I'm now somewhat leaning towards just saying "hey maybe don't expose this on the internet". I'm also thinking that any rate limiter implementation would need to be carefully thought out as it otherwise risks creating problems for people, even in LAN situations. But I'll leave this open as a longer-term wishlist item.

~nickbp 2 years ago

This would theoretically tie into EDNS COOKIE support (#21) - valid cookies could be given a better rate limit.

But that also depends on EDNS COOKIE support being pretty common, which I suspect it isn't...