From: Tom Hughes Date: Sat, 4 Mar 2023 15:38:58 +0000 (+0000) Subject: Block unspecified and multicast addresses on the outside X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/39441034896a48a575b8adb42947b114e62501e8 Block unspecified and multicast addresses on the outside --- diff --git a/cookbooks/networking/templates/default/nftables.conf.erb b/cookbooks/networking/templates/default/nftables.conf.erb index 13e070569..f32339e9b 100644 --- a/cookbooks/networking/templates/default/nftables.conf.erb +++ b/cookbooks/networking/templates/default/nftables.conf.erb @@ -2,8 +2,8 @@ define external-interfaces = { <%= @interfaces.sort.uniq.join(", ") %> } -define ip-private-addresses = { 10.0.0.0/8, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16 } -define ip6-private-addresses = { 2001:db8::/32, fc00::/7 } +define ip-private-addresses = { 0.0.0.0, 10.0.0.0/8, 127.0.0.0/8, 169.254.0.0/16, 172.16.0.0/12, 192.0.2.0/24, 192.168.0.0/16, 224.0.0.0/4 } +define ip6-private-addresses = { 2001:db8::/32, fc00::/7, ff00::/8 } table inet filter { set ip-osm-addresses {