# Fail2Ban configuration file # # Author: Cyril Jaquier # Modified by Paul J aka Thanat0s for ipv6 support # # $Revision$ # [Definition] # Option: actionstart # Notes.: command executed once at the start of Fail2Ban. # Values: CMD # actionstart = fail2ban-iptables -N fail2ban- fail2ban-iptables -A fail2ban- -j RETURN fail2ban-iptables -I -p --dport -j fail2ban- # Option: actionstop # Notes.: command executed once at the end of Fail2Ban # Values: CMD # actionstop = fail2ban-iptables -D -p --dport -j fail2ban- fail2ban-iptables -F fail2ban- fail2ban-iptables -X fail2ban- # Option: actioncheck # Notes.: command executed once before each actionban command # Values: CMD # actioncheck = fail2ban-iptables -n -L | grep -q fail2ban- # Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address # number of failures #