News for hackers. Stuff that matters.
Re:Ask HN: How to survive indefinite DDoS attack? by remram on Monday October 30, 2023 @11:13AM (#38070446)
I think about this sometimes. Shouldn't there be a way for your app server to report to your DoS protection service which requests are abusive and which are legit? Like a fail2ban but distributed: if someone connects and sends invalid credentials, block them at the ISP or proxy level, not on your host's firewall.

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.

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...