mirror of https://github.com/fail2ban/fail2ban
commit
5b7375c614
|
@ -40,7 +40,7 @@ actioncheck =
|
||||||
# Tags: See jail.conf(5) man page
|
# Tags: See jail.conf(5) man page
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionban = shorewall <blocktype> <ip>
|
actionban = shorewall<family> <blocktype> <ip>
|
||||||
|
|
||||||
# Option: actionunban
|
# Option: actionunban
|
||||||
# Notes.: command executed when unbanning an IP. Take care that the
|
# Notes.: command executed when unbanning an IP. Take care that the
|
||||||
|
@ -48,12 +48,26 @@ actionban = shorewall <blocktype> <ip>
|
||||||
# Tags: See jail.conf(5) man page
|
# Tags: See jail.conf(5) man page
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionunban = shorewall allow <ip>
|
actionunban = shorewall<family> allow <ip>
|
||||||
|
|
||||||
|
|
||||||
[Init]
|
[Init]
|
||||||
|
|
||||||
|
# Option: family
|
||||||
|
# Note: Control which version of command is executed
|
||||||
|
# Values: Empty or 6 in case of IPv6
|
||||||
|
family =
|
||||||
|
|
||||||
# Option: blocktype
|
# Option: blocktype
|
||||||
# Note: This is what the action does with rules.
|
# Note: This is what the action does with rules.
|
||||||
# See man page of shorewall for options that include drop, logdrop, reject, or logreject
|
# See man page of shorewall for options that include drop, logdrop, reject, or logreject
|
||||||
# Values: STRING
|
# Values: STRING
|
||||||
blocktype = reject
|
blocktype = reject
|
||||||
|
|
||||||
|
[Init?family=inet6]
|
||||||
|
|
||||||
|
# Option: family
|
||||||
|
# Note: Control which version of command is executed
|
||||||
|
# Values: Empty or 6 in case of IPv6
|
||||||
|
family = 6
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue