Weird Apache LOG How can i BAN these Kind of Requests automatically

These are the Flooding IPS to my server
208.159.115.1 - - [16/Oct/2005:19:10:20 -0500] "POST /index.php HTTP/1.0" 200 258302 "-" ""
210.0.201.213 - - [16/Oct/2005:19:10:22 -0500] "POST /index.php HTTP/1.0" 200 258207 "-" ""
80.108.20.12 - - [16/Oct/2005:19:10:18 -0500] "POST /index.php HTTP/1.0" 200 258302 "-" ""
64.71.189.135 - - [16/Oct/2005:19:10:18 -0500] "POST /index.php HTTP/1.0" 200 258302 "-" ""
69.159.248.165 - - [16/Oct/2005:19:10:18 -0500] "POST /index.php HTTP/1.0" 200 258302 "-" ""
200.71.41.34 - - [16/Oct/2005:19:10:22 -0500] "POST /index.php HTTP/1.0" 200 258207 "-" ""
24.39.145.214 - - [16/Oct/2005:19:10:21 -0500] "POST /index.php HTTP/1.0" 200 258302 "-" ""

As you can see the weird pattern here
"POST /index.php HTTP/1.0" 200 258302 "-"

the 258302 is almost the same size for attacking ips
Is there a way I can ban these ips Automatically

below is a normal request from my server
24.185.130.XXX - - [16/Oct/2005:19:10:43 -0500] "POST /login.php HTTP/1.1" 200 1062 "http://www.XXXX.net/admincp/index.php" "Mozilla/4.0 (compatible; M$$ble; MSIE 6.0; Windows NT 5.1; SV1)"

Please advice And anyone have any idea of solving the flooding problem with this pattern please contact me via Msn messenger I ll pAy.

 

 

 

 

Top