CSF: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
<code>csf -h</code> - get help for CSF command line options | <code>csf -h</code> - get help for CSF command line options | ||
<code>csf -a <i>IP_Address</i></code> - block (add to blocklist) the specified IP address | |||
<code>csf -ra</code> - Restart CSF and LFD (leave off the a to restart just CSF) | <code>csf -ra</code> - Restart CSF and LFD (leave off the a to restart just CSF) | ||
== Configuration Files == | == Configuration Files == |
Revision as of 03:44, 21 January 2017
CSF (Config Server Firewall) is an iptables management script and logging daemon.
Command Line Options
csf -h
- get help for CSF command line options
csf -a IP_Address
- block (add to blocklist) the specified IP address
csf -ra
- Restart CSF and LFD (leave off the a to restart just CSF)
Configuration Files
CSF and LFD settings are stored in:
/etc/csf
csf.conf - main CSF configuration file
Logs
See Log Locations
References
- ref here...