I've created a bash script which should be triggered by LF_DIST_ACTION but doesn't appear to be. I've set the execute bit and csf.conf appears to be set OK.
Code: Select all
root@server [~]# grep ^LF_DIST_ACTION /etc/csf/csf.conf
LF_DIST_ACTION = "/root/LF_DIST_ACTION.sh"
I'm tailing the lfd.log and I can see plenty of entries where the script should be triggered. For example...
Code: Select all
10 distributed smtpauth attacks on account [xxxx@xxxx.com] in the last 3600 secs - *Blocked in csf* [LF_DISTATTACK]
Many thanks,
Will