how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ?

how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ?

I am using kiss .... and mod_dosevasive in my server .


the default setting of mod_dosevasive in httpd.conf :
<IfModule mod_dosevasive.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
</IfModule>


but i want to add a line in <IfModule mod_dosevasive.c>
DOSSystemCommand "/usr/sbin/iptables -I INPUT -s %s -j DROP"

Someone tell me the above command line can help us to add the attacker IP in INTABLEs automatically (for block the bad IP)....

BUt i am using kiss... kiss has already replace the function of iptables....


so that i am so confuse ... how to how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically when i using KISS firewall in the same server ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ? how to enable mod_dosevasive to BLOCK IP in IPTABLE automatically ?

 

 

 

 

Top