From b89cee80a90f3ba39b2ace51ee522d4c18a66f44 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20M=C3=BCller?= Date: Wed, 13 May 2020 19:33:54 +0000 Subject: [PATCH] location-importer: DELETE multicast and "reserved for future usage" address space MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- src/python/location-importer.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/python/location-importer.in b/src/python/location-importer.in index 3c179bd..f1da3e4 100644 --- a/src/python/location-importer.in +++ b/src/python/location-importer.in @@ -543,6 +543,10 @@ class CLI(object): -- DELETE IPv6 to IPv4 (6to4) address space DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.88.99.0/24'; + -- DELETE multicast and reserved address space + DELETE FROM announcements WHERE family(network) = 4 AND network <<= '224.0.0.0/4'; + DELETE FROM announcements WHERE family(network) = 4 AND network <<= '240.0.0.0/4'; + -- Delete networks that are too small to be in the global routing table DELETE FROM announcements WHERE family(network) = 6 AND masklen(network) > 48; DELETE FROM announcements WHERE family(network) = 4 AND masklen(network) > 24; -- 2.39.2