https://github.com/ducohosting/lfd-cloudflare
It's working as far as the BLOCK_REPORT goes but it doesn't appear that UNBLOCK_REPORT is being triggered. Even if the script is failing should it at least be logged that it was triggered? Here is the LFD log:
Code: Select all
Apr 23 09:07:35 cp1 lfd[21223]: (cpanel) Failed cPanel login from xxx.xxx.xxx.xxx (xxxxxxx): 3 in the last 3600 secs - *Blocked in csf* for 250 secs [LF_CPANEL]
Apr 23 09:07:35 cp1 lfd[21226]: debug: BLOCK_REPORT [/etc/csf/scripts/cloudflare/block.sh] triggered
Apr 23 09:11:45 cp1 lfd[21443]: Incoming IP xxx.xxx.xxx.xxx temporary block removed
Apr 23 09:11:45 cp1 lfd[21443]: Outgoing IP xxx.xxx.xxx.xxx temporary block removed