Post #3155386
2026-04-19 09:24 UTC
@grimmy@mastodon.social I added some filters to my Apache config to block certain user agent strings, and added a Fail2Ban jail/filter to block the IP if it has a certain user agent string. This isn't perfect though as the user agents can change, or they can just lie, so I also installed Anubis as an additional reverse proxy in front of my web services.
https://github.com/TecharoHQ/anubis
Replies (1)
-
@grimmy@mastodon.social 2026-04-19 10:26
@gerowen@mastodon.social yeah I ended up deploying Anubis again. I don't remember the exact count but over a 5 minute duration nearly all requests were from unique addresses so IP based blocking wasn't feasible.