|
|
@ -25,8 +25,6 @@ actionstop = firewall-cmd --direct --remove-rule ipv4 filter <chain> 0 -p <proto
|
|
|
|
ipset flush fail2ban-<name>
|
|
|
|
ipset flush fail2ban-<name>
|
|
|
|
ipset destroy fail2ban-<name>
|
|
|
|
ipset destroy fail2ban-<name>
|
|
|
|
|
|
|
|
|
|
|
|
actioncheck = firewall-cmd --direct --get-chains ipv4 filter | grep -q '^fail2ban-<name>$'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
actionban = ipset add fail2ban-<name> <ip> timeout <bantime> -exist
|
|
|
|
actionban = ipset add fail2ban-<name> <ip> timeout <bantime> -exist
|
|
|
|
|
|
|
|
|
|
|
|
actionunban = ipset del fail2ban-<name> <ip> -exist
|
|
|
|
actionunban = ipset del fail2ban-<name> <ip> -exist
|
|
|
|