From 6b6b67145c2c30bfa7c365c710eadbaa04585124 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Sun, 27 Apr 2014 18:12:07 +0100 Subject: [PATCH] classify.m4: Forbid the v4-mapped and v4-compatible ranges. These shouldn't be appearing as source addresses. --- classify.m4 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/classify.m4 b/classify.m4 index 1d87fdb..7c60407 100644 --- a/classify.m4 +++ b/classify.m4 @@ -320,8 +320,8 @@ for entry in $ifmap; do done ## Fill in the black holes in the network. Some of these might actually be -## known networks, so don't fill those in again. See RFC5735 or its -## successors. +## known networks, so don't fill those in again. See RFC5735 and RFC4291, +## and their successors. for addr in \ 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \ 127.0.0.0/8 \ @@ -332,6 +332,7 @@ do done for addr in \ fc00::/7 \ + ::0:0/96 ::ffff:0:0/96 \ 2001:db8::/32 do case $alladdrs in *!$addr!*) continue ;; esac -- 2.11.0