CSF/LFD

From Leo's Notes
Revision as of 05:07, 1 September 2019 by Leo (talk | contribs) (Text replacement - "Category:Linux" to "Category:Linux{{Navbox Linux}}")
This page was last edited on 1 September 2019, at 05:07.

Logging

CSF/LFD automatically logs to /var/log/lfd.log

tail /var/log/lfd.log


Block / Unblock IP

csf -d <IP> : block IP 
csf -a <IP> : allow IP
csf -dr <IP> : Deny removal

csf -ar <IP> : Allow removal