Command Execute after block

3 posts Page 1 of 1
zstergios
Junior Member
Posts: 4
Joined: 04 Apr 2018, 10:10


I am looking for a field to add a command like cphulk
https://documentation.cpanel.net/displa ... Protection

Is there any existing functionallity? Or can be added?

I need to post remote ip/country/reason/time etc to able to track and build my own blocklist
zstergios
Junior Member
Posts: 4
Joined: 04 Apr 2018, 10:10


I found it BLOCK_REPORT
zstergios
Junior Member
Posts: 4
Joined: 04 Apr 2018, 10:10


Does not work...
Can you help me please?

I tried the following value
/usr/local/bin/php /root/csf_block.php
/root/csf_block.php *

*file starts with http://prntscr.com/nx5uz0

permissions chmod +x /root/csf_block.php (755)


I have tested with command line as root and works,
Seems CSF does not trigger the file.

Also i searched in logs no mention found for "csf_block.php"
3 posts Page 1 of 1