Add overrides for RFC1918

Message ID 20201015152712.12822-1-michael.tremer@ipfire.org
State Accepted
Commit 041db8d2b00a28f87c1ae9bdb214a73213448469
Headers
Series Add overrides for RFC1918 |

Commit Message

Michael Tremer Oct. 15, 2020, 3:27 p.m. UTC
  Because of RIPE (or somebody else) adding 192.168.0.0/15, we are
classifying those addresses as EU. This renders whole networks
inaccessible and therefore we are adding those networks with a
faked country until we find a better solution.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 overrides/override-rfc1918.txt | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 overrides/override-rfc1918.txt
  

Comments

Michael Tremer Oct. 15, 2020, 3:29 p.m. UTC | #1
I just pushed this as a hot fix because we are currently taking down a couple of networks for our users.

Please refer to

  https://bugzilla.ipfire.org/show_bug.cgi?id=12499

and

  https://bugzilla.ipfire.org/show_bug.cgi?id=12501

Best,
-Michael

> On 15 Oct 2020, at 16:27, Michael Tremer <michael.tremer@ipfire.org> wrote:
> 
> Because of RIPE (or somebody else) adding 192.168.0.0/15, we are
> classifying those addresses as EU. This renders whole networks
> inaccessible and therefore we are adding those networks with a
> faked country until we find a better solution.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
> overrides/override-rfc1918.txt | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
> create mode 100644 overrides/override-rfc1918.txt
> 
> diff --git a/overrides/override-rfc1918.txt b/overrides/override-rfc1918.txt
> new file mode 100644
> index 0000000..768ea92
> --- /dev/null
> +++ b/overrides/override-rfc1918.txt
> @@ -0,0 +1,18 @@
> +#
> +# override-rfc1918 [.txt]
> +#
> +# This files contains networks from RFC1918 (and other similar standards)
> +# which are added to the database with special attributes
> +#
> +
> +net:				10.0.0.0/8
> +descr:				Private address space from RFC1918
> +country:			XX
> +
> +net:				172.16.0.0/12
> +descr:				Private address space from RFC1918
> +country:			XX
> +
> +net:				192.168.0.0/16
> +descr:				Private address space from RFC1918
> +country:			XX
> -- 
> 2.20.1
>
  

Patch

diff --git a/overrides/override-rfc1918.txt b/overrides/override-rfc1918.txt
new file mode 100644
index 0000000..768ea92
--- /dev/null
+++ b/overrides/override-rfc1918.txt
@@ -0,0 +1,18 @@ 
+#
+# override-rfc1918 [.txt]
+#
+# This files contains networks from RFC1918 (and other similar standards)
+# which are added to the database with special attributes
+#
+
+net:				10.0.0.0/8
+descr:				Private address space from RFC1918
+country:			XX
+
+net:				172.16.0.0/12
+descr:				Private address space from RFC1918
+country:			XX
+
+net:				192.168.0.0/16
+descr:				Private address space from RFC1918
+country:			XX