Sunday, August 20, 2017

Disabling CSF Blocked IP alerts

You need to disable the following options in CSF to disable permanent block alerts:

LF_PERMBLOCK_ALERT = "0"

LF_NETBLOCK_ALERT = "0"


but CSF would continue to send you alerts ! This is a tricky one, had to look into the whole config file to figure out what was wrong, you should also disable the following option to get it working :

LF_EMAIL_ALERT = "0"

or do a search and replace to replace all _ALERT = "1" with _ALERT = "0" 

No comments:

Post a Comment

How to disable Debian 12 sleep on production servers

 Debian 12 has power saver enabled by default which causes your server to go to sleep if there is no mouse / keyboard interaction. To resolv...