Commit 209c04b6 authored by Peter Müller's avatar Peter Müller Committed by Michael Tremer

location-importer: DELETE other unroutable IPv4 networks

Signed-off-by: default avatarPeter Müller <peter.mueller@ipfire.org>
Signed-off-by: default avatarMichael Tremer <michael.tremer@ipfire.org>
parent cedee656
......@@ -524,6 +524,22 @@ class CLI(object):
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '172.16.0.0/12';
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.168.0.0/16';
-- DELETE test, benchmark and documentation address space
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.0.0.0/24';
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.0.2.0/24';
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '198.18.0.0/15';
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '198.51.100.0/24';
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '203.0.113.0/24';
-- DELETE CGNAT address space (RFC 6598)
DELETE FROM announcements WHERE family(network) = 4 AND network <<= '100.64.0.0/10';
-- 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 FROM announcements WHERE family(network) = 4 AND network <<= '192.88.99.0/24';
-- 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment