mirror of https://github.com/fail2ban/fail2ban
Conditionally create set
Fix the case when fail2ban restarts, and the set already exist from previous runspull/3589/head
parent
8eac5f597a
commit
3fbcf26e8c
|
@ -27,7 +27,7 @@ before = iptables.conf
|
|||
# Notes.: command executed on demand at the first ban (or at the start of Fail2Ban if actionstart_on_demand is set to false).
|
||||
# Values: CMD
|
||||
#
|
||||
actionstart = ipset --create f2b-<name> maxelem <maxelem> iphash
|
||||
actionstart = ipset --create f2b-<name> maxelem <maxelem> iphash --exist
|
||||
<_ipt_add_rules>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue