So, was just implementing rate-limiting in my gemini server, and it all worked right up until I clicked on a link that does a redirect, lol. For those who intend to implement rate-limiting, make sure you take into account how fast redirects happen.
Also, the approach of assuming that when the server sends back a redirect response that the next request from an IP is going to be that redirect request assumes that a person is only using one client and that that one client's request comes right after its previous one.
6 months ago