|
Making the obviously-abusive bot prohibitively expensive is one way to go, if you control the terminating server. gzip bomb is good if the bot happens to be vulnerable, but even just slowing down their connection rate is often sufficient - waiting just 10 seconds before responding with your 404 is going to consume ~7,000 ports on their box, which should be enough to crash most linux processes (nginx + mod-http-echo is a really easy way to set this up) |
https://github.com/0x48piraj/gz-bomb/blob/master/gz-bomb-ser...