Good people, I seek enlightenment on the following issue:
I have a Linux server hosting a LAMP app which is accessed by a controlled group of users.
I am using an aggressive version of the 5G htaccess based application level firewall from
http://perishablepress.com/5g-blacklist-2012/.
Every so often, I check the Apache error logs and there are these IP addresses attempting to access non-existent URLs on the server. I assume these are script kiddies, no?
So, I would like to write a script or something which will automatically block an IP address from accessing my server if the said IP address accesses more than 3 non-existent URLs on my server.