I have setup Mod_dosevasive on my server. I can see possible ddos blocking ip in /var/log/messages but it dont working no email and no ip ban in deny.host.rules
Here my following configuration. Please help to correct this .
in httpd.conf
<IfModule mod_dosevasive.c>
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSEmailNotify [email protected]
DOSSystemCommand "sudo /usr/local/sbin/apf -d %s"
</IfModule>
and in visudo : ( my server name root.blabla.com )
nobody root. = NOPASSWD: /usr/local/sbin/apf -d *
Here my following configuration. Please help to correct this .
in httpd.conf
<IfModule mod_dosevasive.c>
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 2
DOSSiteInterval 2
DOSBlockingPeriod 600
DOSEmailNotify [email protected]
DOSSystemCommand "sudo /usr/local/sbin/apf -d %s"
</IfModule>
and in visudo : ( my server name root.blabla.com )
nobody root. = NOPASSWD: /usr/local/sbin/apf -d *