*Simple* way to block DDoS by number of requests

Posted by Eduard Luca on Server Fault See other posts from Server Fault or by Eduard Luca
Published on 2012-09-04T14:21:49Z Indexed on 2012/09/04 15:41 UTC
Read the original article Hit count: 354

Filed under:
|
|

I have 3 Varnish 3.0.2 servers with Apache 2 as backends, which are being load balanced through a HAproxy separate server.

I need to find a very simple program (I'm not much of a sysadmin), which blocks requests from an IP, if that IP has made more than X requests in Y seconds.

Would something like this be achievable with a simple solution? Right now I have to block all requests manually with iptables.

© Server Fault or respective owner

Related posts about iptables

Related posts about unix