Apache: Limit the Number of Requests/Traffic per IP?

Posted by Ian Kern on Server Fault See other posts from Server Fault or by Ian Kern
Published on 2010-04-11T10:57:09Z Indexed on 2010/04/11 11:03 UTC
Read the original article Hit count: 281

Filed under:
|
|
|
|

I would like to only allow one IP to use up to, say 1GB, of traffic per day, and if that limit is exceeded, all requests from that IP are then dropped until the next day. However, a more simple solution where the connection is dropped after a certain amount of requests would suffice.

Is there already some sort of module that can do this? Or perhaps I can achieve this through something like iptables?

Thanks

© Server Fault or respective owner

Related posts about apache

Related posts about limit