Last active
January 12, 2016 16:10
-
-
Save hannesbe/09c1254a0b74aefc4b47 to your computer and use it in GitHub Desktop.
fail2ban action config for csf deny / unblock IP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# fail2ban action config for csf deny / unblock IP | |
# /etc/fail2ban/action.d/csf.conf | |
[Definition] | |
actionstart = | |
actionstop = | |
actioncheck = | |
# to deny an IP and add to /etc/csf/csf.deny | |
actionban = csf -d <ip> added by fail2ban for <name> | |
# to unblock an IP and remove from /etc/csf/csf.deny | |
actionunban = csf -dr <ip> | |
[Init] | |
name = default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment