mirror of https://github.com/fail2ban/fail2ban
add blocking type
parent
03433f79cd
commit
47b1ee39d8
|
@ -15,5 +15,11 @@
|
||||||
# - Blocking is per IP and NOT per service, but ideal as action against ssh password bruteforcing hosts
|
# - Blocking is per IP and NOT per service, but ideal as action against ssh password bruteforcing hosts
|
||||||
|
|
||||||
[Definition]
|
[Definition]
|
||||||
actionban = ip route add blackhole <ip>
|
actionban = ip route add <type> <ip>
|
||||||
actionunban = ip route del blackhole <ip>
|
actionunban = ip route del <type> <ip>
|
||||||
|
|
||||||
|
# Type of blocking
|
||||||
|
#
|
||||||
|
# Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
|
||||||
|
|
||||||
|
type = blackhole
|
||||||
|
|
Loading…
Reference in New Issue