From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= <peter.mueller@ipfire.org> To: location@lists.ipfire.org Subject: [PATCH 4/4] location-importer: DELETE multicast and "reserved for future usage" address space Date: Wed, 13 May 2020 19:33:54 +0000 Message-ID: <f0f413f0-480a-488c-8e9c-da9281e69cbc@ipfire.org> In-Reply-To: <a23fbc52-bc75-8e3d-56ad-eabfcd123568@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6115120047875032612==" List-Id: <location.lists.ipfire.org> --===============6115120047875032612== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Peter M=C3=BCller <peter.mueller(a)ipfire.org> --- 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 53c5cfe..79a024c 100644 --- a/src/python/location-importer.in +++ b/src/python/location-importer.in @@ -539,6 +539,10 @@ class CLI(object): -- DELETE IPv6 to IPv4 (6to4) address space DELETE FROM announcements WHERE family(network) =3D 4 AND network <<=3D= '192.88.99.0/24'; =20 + -- DELETE multicast and reserved address space + DELETE FROM announcements WHERE family(network) =3D 4 AND network <<=3D= '224.0.0.0/4'; + DELETE FROM announcements WHERE family(network) =3D 4 AND network <<=3D= '240.0.0.0/4'; + -- Delete networks that are too small to be in the global routing table DELETE FROM announcements WHERE family(network) =3D 6 AND masklen(netwo= rk) > 48; DELETE FROM announcements WHERE family(network) =3D 4 AND masklen(netwo= rk) > 24; --=20 2.26.1 --===============6115120047875032612==--