public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] add networks to overrides-other which must not be added
@ 2018-03-18 14:35 Peter Müller
  0 siblings, 0 replies; only message in thread
From: Peter Müller @ 2018-03-18 14:35 UTC (permalink / raw)
  To: location

[-- Attachment #1: Type: text/plain, Size: 2079 bytes --]

These networks are covered for special use by some RFCs
and must not be added to the database.

Signed-off-by: Peter Müller <peter.mueller(a)link38.eu>
---
 country-overrides/override-other.txt | 56 ++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/country-overrides/override-other.txt b/country-overrides/override-other.txt
index d7ba5b9..1a83829 100644
--- a/country-overrides/override-other.txt
+++ b/country-overrides/override-other.txt
@@ -10,3 +10,59 @@
 # or hostile (faked WHOIS data in order to bypass country filtering or
 # to hide the owners' identity).
 #
+# Further, some networks (such as RFC1918 addresses) must not be
+# added to the database since it does not make sense to do so.
+#
+
+# never add private address blocks (RFC1918)
+net:		10.0.0.0/8
+descr:		RFC1918 private address block
+remarks:	must not be added to the database
+newcountry:
+
+net:		172.16.0.0/12
+descr:		RFC1918 private address block
+remarks:	must not be added to the database
+newcountry:
+
+net:	 	192.168.0.0/16
+descr:		RFC1918 private address block
+remarks:	must not be added to the database
+newcountry:
+
+# never add other special address blocks
+net:		0.0.0.0/8
+descr:		RFC3232 current network alias
+remarks:	must not be added to the database
+newcountry:
+
+net:		100.64.0.0/10
+descr:		RFC6598 provider CNAT network
+remarks:	must not be added to the database
+newcountry:
+
+net:		127.0.0.0/8
+descr:		RFC3330 localnet
+remarks:	must not be added to the database
+newcountry:
+
+net:		169.254.0.0/16
+descr:		RFC5735 link-local address block
+remarks:	must not be added to the database
+newcountry:
+
+net:		224.0.0.0/4
+descr:		RFC3171 multicast network
+remarks:	must not be added to the database
+newcountry:
+
+net:		::/128
+descr:		IPv6 address which must not assigned anywhere
+remarks:	must not be added to the database
+newcountry:
+
+net:		::1/128
+descr:		IPv6 localhost address
+remarks:	must not be added to the database
+newcountry:
+
-- 
2.13.6


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-03-18 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-18 14:35 [PATCH] add networks to overrides-other which must not be added Peter Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox