BF: firewallcmd-ipset had non-working actioncheck

pull/594/head
Daniel Black 11 years ago
parent 499b33f8a6
commit ca57427080

@ -11,6 +11,8 @@ ver. 0.8.13 (2014/XX/XXX) - maintaince-only-from-now-on
----------- -----------
- Fixes: - Fixes:
- action firewallcmd-ipset had non-working actioncheck. Removed.
redhat bug #1046816.
- New Features: - New Features:

@ -30,6 +30,7 @@ Daniel B. Cid
Daniel B. Daniel B.
Daniel Black Daniel Black
David Nutter David Nutter
Derek Atkins
Eric Gerbier Eric Gerbier
Enrico Labedzki Enrico Labedzki
ftoppi ftoppi

@ -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

Loading…
Cancel
Save