mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: firewallcmd-ipset had non-working actioncheck
This commit is contained in:
parent
499b33f8a6
commit
ca57427080
3 changed files with 3 additions and 2 deletions
|
|
@ -11,6 +11,8 @@ ver. 0.8.13 (2014/XX/XXX) - maintaince-only-from-now-on
|
|||
-----------
|
||||
|
||||
- Fixes:
|
||||
- action firewallcmd-ipset had non-working actioncheck. Removed.
|
||||
redhat bug #1046816.
|
||||
|
||||
- New Features:
|
||||
|
||||
|
|
|
|||
1
THANKS
1
THANKS
|
|
@ -30,6 +30,7 @@ Daniel B. Cid
|
|||
Daniel B.
|
||||
Daniel Black
|
||||
David Nutter
|
||||
Derek Atkins
|
||||
Eric Gerbier
|
||||
Enrico Labedzki
|
||||
ftoppi
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ actionstop = firewall-cmd --direct --remove-rule ipv4 filter <chain> 0 -p <proto
|
|||
ipset flush 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
|
||||
|
||||
actionunban = ipset del fail2ban-<name> <ip> -exist
|
||||
|
|
|
|||
Loading…
Reference in a new issue