[4/4] location-importer: DELETE multicast and "reserved for future usage" address space

Message ID f0f413f0-480a-488c-8e9c-da9281e69cbc@ipfire.org
State Accepted
Commit b89cee80a90f3ba39b2ace51ee522d4c18a66f44
Headers
Series [1/4] location-importer: DELETE local loopback address space |

Commit Message

Peter Müller May 13, 2020, 7:33 p.m. UTC
  Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/python/location-importer.in | 4 ++++
 1 file changed, 4 insertions(+)
  

Patch

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) = 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;