]> git.ipfire.org Git - people/ms/libloc.git/commitdiff
location-importer.in: delete 6to4 IPv6 space as well
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 16 Jan 2021 18:05:33 +0000 (19:05 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Jan 2021 21:28:44 +0000 (21:28 +0000)
2002::/16 is an anycast prefix for 6to4 scenarios, as specified in RFC
3068. We currently process an announcement from Hurricane Electric for
it, and since it is an anycast network, multiple entities across the
world announce it as well.

Thereof, it does not make sense to include it in the database - as of
today, we do not have a country for it, either.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/location-importer.in

index a4be445e36f1a8fba11d66d8cf7e4af651277b49..1a025bb1005976d0d5128c863ebc791b00ca076d 100644 (file)
@@ -768,8 +768,9 @@ class CLI(object):
                                -- DELETE link local address space
                                DELETE FROM announcements WHERE family(network) = 4 AND network <<= '169.254.0.0/16';
 
-                               -- DELETE IPv6 to IPv4 (6to4) address space
+                               -- DELETE IPv6 to IPv4 (6to4) address space (RFC 3068)
                                DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.88.99.0/24';
+                               DELETE FROM announcements WHERE family(network) = 6 AND network <<= '2002::/16';
 
                                -- DELETE multicast and reserved address space
                                DELETE FROM announcements WHERE family(network) = 4 AND network <<= '224.0.0.0/4';