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
|
||||
# Values: CMD
|
||||
#
|
||||
actionban = apf --deny <ip> "banned by Fail2Ban"
|
||||
actionban = apf --deny <ip> "banned by Fail2Ban <name>"
|
||||
|
||||
# Option: actionunban
|
||||
# Notes.: command executed when unbanning an IP. Take care that the
|
||||
|
@ -41,3 +41,9 @@ actionban = apf --deny <ip> "banned by Fail2Ban"
|
|||
# Values: CMD
|
||||
#
|
||||
actionunban = apf --remove <ip>
|
||||
|
||||
[Init]
|
||||
|
||||
# Defaut name of the chain
|
||||
#
|
||||
name = default
|
||||
|
|
Loading…
Reference in New Issue