public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@link38.eu>
To: location@lists.ipfire.org
Subject: [PATCH] add networks to overrides-other which must not be added
Date: Sun, 18 Mar 2018 15:35:03 +0100	[thread overview]
Message-ID: <20180318153503.59271443.peter.mueller@link38.eu> (raw)

[-- 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


                 reply	other threads:[~2018-03-18 14:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180318153503.59271443.peter.mueller@link38.eu \
    --to=peter.mueller@link38.eu \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox