Re:Ask HN: How to survive indefinite DDoS attack?
by bashy on Monday October 30, 2023 @11:21AM
(#38070581)
If your provider has an API for the firewall/protection, just use fail2ban with cURL to block certain traffic.
This can be done with Cloudflare using this action: https://github.com/fail2ban/fail2ban/blob/master/config/acti...
It's possible that this doesn't exist for good reasons though, I am not sure how the numbers work out in terms of relative capacity.