mirror of https://github.com/fail2ban/fail2ban
don't hardcode absolute path for apf firewall
parent
66aff43d68
commit
c692912a82
|
@ -30,7 +30,7 @@ actioncheck =
|
||||||
# <time> unix timestamp of the ban time
|
# <time> unix timestamp of the ban time
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionban = /usr/local/sbin/apf -d <ip> banned by Fail2Ban
|
actionban = apf -d <ip> banned by Fail2Ban
|
||||||
|
|
||||||
# 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
|
||||||
|
@ -40,4 +40,4 @@ actionban = /usr/local/sbin/apf -d <ip> banned by Fail2Ban
|
||||||
# <time> unix timestamp of the ban time
|
# <time> unix timestamp of the ban time
|
||||||
# Values: CMD
|
# Values: CMD
|
||||||
#
|
#
|
||||||
actionunban = /usr/local/sbin/apf -u <ip>
|
actionunban = apf -u <ip>
|
||||||
|
|
Loading…
Reference in New Issue