From 9df8f25c52e3364c060e827b49550b034da37800 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sat, 20 Aug 2022 20:34:52 +0100 Subject: [PATCH] Add 169.254.* as a safe network for fail2ban. --- base-files/fail2ban/jail.local | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base-files/fail2ban/jail.local b/base-files/fail2ban/jail.local index e026956..d8fe9c6 100644 --- a/base-files/fail2ban/jail.local +++ b/base-files/fail2ban/jail.local @@ -7,7 +7,7 @@ # "ignoreip" can be a list of IP addresses, CIDR masks or DNS hosts. Fail2ban # will not ban a host which matches an address in this list. Several addresses # can be defined using space (and/or comma) separator. -ignoreip = 127.0.0.1/8,::1 10.0.0.0/8,172.16.0.0/12,192.168.0.0/16 5.101.171.210/28,2a01:a500:2981:1::/64 91.109.244.7,91.109.244.8,91.109.244.9,91.109.244.10,91.109.244.11,2a02:2498:1:227::/64 88.80.191.137,2a01:7e00::f03c:93ff:fe86:afae 185.176.90.169,2a07:4580:b0d:57f::169 afterdark.org.uk +ignoreip = 127.0.0.1/8,::1 10.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16 5.101.171.210/28,2a01:a500:2981:1::/64 91.109.244.7,91.109.244.8,91.109.244.9,91.109.244.10,91.109.244.11,2a02:2498:1:227::/64 88.80.191.137,2a01:7e00::f03c:93ff:fe86:afae 185.176.90.169,2a07:4580:b0d:57f::169 afterdark.org.uk # "bantime" is the number of seconds that a host is banned. bantime = 2d