mirror of https://github.com/fail2ban/fail2ban
ability to name the jail that banned the IP with apf
parent
dd9ee4c39a
commit
1af4543aca
|
@ -30,7 +30,7 @@ actioncheck =
|
||||||
# <time> unix timestamp of the ban time
|
# <time> unix timestamp of the ban time
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionban = apf --deny <ip> "banned by Fail2Ban"
|
actionban = apf --deny <ip> "banned by Fail2Ban <name>"
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -41,3 +41,9 @@ actionban = apf --deny <ip> "banned by Fail2Ban"
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionunban = apf --remove <ip>
|
actionunban = apf --remove <ip>
|
||||||
|
|
||||||
|
[Init]
|
||||||
|
|
||||||
|
# Defaut name of the chain
|
||||||
|
#
|
||||||
|
name = default
|
||||||
|
|
Loading…
Reference in New Issue