mirror of https://github.com/fail2ban/fail2ban
parent
6e18508a07
commit
3adc16d266
|
@ -34,15 +34,13 @@ actionstop =
|
||||||
#
|
#
|
||||||
actioncheck =
|
actioncheck =
|
||||||
|
|
||||||
[Init]
|
|
||||||
|
|
||||||
# Option: actionban
|
# Option: actionban
|
||||||
# Notes.: command executed when banning an IP. Take care that the
|
# Notes.: command executed when banning an IP. Take care that the
|
||||||
# command is executed with Fail2Ban user rights.
|
# command is executed with Fail2Ban user rights.
|
||||||
# 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
|
||||||
|
@ -50,7 +48,15 @@ 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]
|
||||||
|
|
||||||
|
# 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.
|
||||||
|
@ -60,25 +66,8 @@ blocktype = reject
|
||||||
|
|
||||||
[Init?family=inet6]
|
[Init?family=inet6]
|
||||||
|
|
||||||
# Option: actionban
|
# Option: family
|
||||||
# Notes.: command executed when banning an IP. Take care that the
|
# Note: Control which version of command is executed
|
||||||
# command is executed with Fail2Ban user rights.
|
# Values: Empty or 6 in case of IPv6
|
||||||
# Tags: See jail.conf(5) man page
|
family = 6
|
||||||
# Values: CMD
|
|
||||||
#
|
|
||||||
actionban = shorewall6 <blocktype> <ip>
|
|
||||||
|
|
||||||
# Option: actionunban
|
|
||||||
# Notes.: command executed when unbanning an IP. Take care that the
|
|
||||||
# command is executed with Fail2Ban user rights.
|
|
||||||
# Tags: See jail.conf(5) man page
|
|
||||||
# Values: CMD
|
|
||||||
#
|
|
||||||
actionunban = shorewall6 allow <ip>
|
|
||||||
|
|
||||||
# Option: blocktype
|
|
||||||
# Note: This is what the action does with rules.
|
|
||||||
# See man page of shorewall6 for options that include drop, logdrop, reject, or logreject
|
|
||||||
# Values: STRING
|
|
||||||
blocktype = reject
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue