blse2-public/common-debian/templates/etc/fail2ban/action.d/route.conf.j2

16 lines
364 B
Plaintext
Raw Normal View History

2023-05-05 15:47:27 -04:00
# fail2ban action - route
[Definition]
actionban = ip route add <blocktype> <ip>
actionunban = ip route del <blocktype> <ip>
actioncheck =
actionstart =
actionstop =
[Init]
# Option: blocktype
# Note: Type can be blackhole, unreachable and prohibit. Unreachable and prohibit correspond to the ICMP reject messages.
# Values: STRING
blocktype = blackhole