From patchwork Sat Jan 16 18:05:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 3809 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4DJ5ZD5BmHz3wsQ for ; Sat, 16 Jan 2021 18:05:40 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4DJ5ZC5fxLzmW; Sat, 16 Jan 2021 18:05:39 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4DJ5ZC4B8Wz2xlB; Sat, 16 Jan 2021 18:05:39 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature RSA-PSS (4096 bits)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4DJ5ZB0Ttnz2xNg for ; Sat, 16 Jan 2021 18:05:38 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4DJ5Z85P23zkg for ; Sat, 16 Jan 2021 18:05:36 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1610820337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=746t/E0cQzXI1F/InGLUkAVotoPmqXe+dL2kopE9fBc=; b=EGTgrEuZ42zT9b2uSEbwUgv56xZ9Lg+VT/0DdT+ze8Cd0mvjKqFpVcIjhqtka6gOHndSvo kBxAl64TZVK5KhAQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1610820337; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=746t/E0cQzXI1F/InGLUkAVotoPmqXe+dL2kopE9fBc=; b=vQYZqnbcn/lg1lRLzsoL5FESgvti5GIl/ODkGT67KNM6u0AyX4FV/r3X9YUpXD46jyXngE vro4OSMCYTiIa5AzaCBlXuWSEpEStxyvb8aKj7AImDZCZLaviRDPOv7XpTHpk/I5YeEDz5 9PrFW+taiqLNmFkZUeha4Y4DF87/aY8UzPptCPo3EaLL4xyRkAfHsh49G3fT+3PJyioMOW cehwaFibh9rvCLQ5IE0/IScMC5+AdCpaNzf4fnQzbMEfeaPiFoi0AanN/lhAxRMmefGFey FRtZNBTo5AmTnORO/bLty8nbPQwk98x+IH4Pg37J5XDuIO/izgH09inwtMd3sw== To: location@lists.ipfire.org From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] location-importer.in: delete 6to4 IPv6 space as well Message-ID: <0fdbd9d4-83c6-8567-a093-a5c571f55835@ipfire.org> Date: Sat, 16 Jan 2021 19:05:33 +0100 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: location-bounces@lists.ipfire.org Sender: "Location" 2002::/16 is an anycast prefix for 6to4 scenarios, as specified in RFC 3068. We currently process an announcement from Hurricane Electric for it, and since it is an anycast network, multiple entities across the world announce it as well. Thereof, it does not make sense to include it in the database - as of today, we do not have a country for it, either. Signed-off-by: Peter Müller --- src/python/location-importer.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/python/location-importer.in b/src/python/location-importer.in index a4be445..1a025bb 100644 --- a/src/python/location-importer.in +++ b/src/python/location-importer.in @@ -768,8 +768,9 @@ class CLI(object): -- DELETE link local address space DELETE FROM announcements WHERE family(network) = 4 AND network <<= '169.254.0.0/16'; - -- DELETE IPv6 to IPv4 (6to4) address space + -- DELETE IPv6 to IPv4 (6to4) address space (RFC 3068) DELETE FROM announcements WHERE family(network) = 4 AND network <<= '192.88.99.0/24'; + DELETE FROM announcements WHERE family(network) = 6 AND network <<= '2002::/16'; -- DELETE multicast and reserved address space DELETE FROM announcements WHERE family(network) = 4 AND network <<= '224.0.0.0/4';