Comment on How do you all handle security and monitoring for your publicly accessible services?
a_fancy_kiwi@lemmy.world 1 week agoHave also set it up so they get banned on Cloudflare’s side, so before another malicious request ever reaches me.
How did you end up setting that up?
smiletolerantly@awful.systems 1 week ago
Fail2ban allows you set different actions for different infringements, as well as multiple ones. So in addition to being put in a “local” jail, the offending IP also gets added to the cloudflare rules (? Is that what its called?) via their API. It’s a premade action called “cloudflare-token-multi”
a_fancy_kiwi@lemmy.world 1 week ago
that’s awesome. thanks!