We need script which one will be scanning /usr/local/apache/logs/access_log
and block any IP with 408 error by APF "apf -d xx.xxx.xxx.xxx"
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:30 +0400] "-" 408 -
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:30 +0400] "-" 408 -
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:55 +0400] "-" 408 -
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:55 +0400] "-" 408 -
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:59 +0400] "-" 408 -
xx.xxx.xxx.xxx - - [20/Sep/2005:08:12:59 +0400] "-" 408 -
It's help with our DDos attack on httpd service.