I need to block an IP-address which tries to download my entire website. Currently I've blocked it using iptables.
Is there any way to block an IP automatically if it's trying to request to many pages, i.e. downloading an entire website?
P.S. I'm using Nginx as frontend to Apache.