BLOCK REPORT
Posted: 23 Feb 2016, 18:23
Does CSF/LFD only trigger BLOCK REPORT script execution when LFD blocks an IP?
I've set up a script to take an action on receipt of notification of a blocked IP. Run manually from the command line it works fine like this:
sh myscript.sh 1.1.1.1
The script is owned by root and has permissions set to 700.
I set the BLOCK REPORT value by editing the csf.conf file, and then restarted CSF/LFD.
But when I then manually add an IP to the CSF BLOCK list using the WHM interface, my script does not appear to be being run.
What am I doing wrong?
TY!
I've set up a script to take an action on receipt of notification of a blocked IP. Run manually from the command line it works fine like this:
sh myscript.sh 1.1.1.1
The script is owned by root and has permissions set to 700.
I set the BLOCK REPORT value by editing the csf.conf file, and then restarted CSF/LFD.
But when I then manually add an IP to the CSF BLOCK list using the WHM interface, my script does not appear to be being run.
What am I doing wrong?
TY!