mod_dosevasive + apf

how could i configure mod_dosevasive to work with APF filewall?

I have added:

"DOSSystemCommand "su - root -c '/usr/sbin/apf -d %s'"

and watched log file in /var/log/messages, mod_dosevasive seems acting, but apf command isn't excuted, hence, no ip is added to deny_hosts.rules of APF.

Server: Fedora Core1, Cpanel/WHM

Thank you.

 

 

 

 

Top