From patchwork Sat Sep 25 12:30:03 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: 4737 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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4HGpC14BCvz3x1J for ; Sat, 25 Sep 2021 12:30:21 +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) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4HGpC10MB4z29D; Sat, 25 Sep 2021 12:30:21 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4HGpC05W3nz2xCy; Sat, 25 Sep 2021 12:30:20 +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 ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4HGpBz51Xhz2x9Y for ; Sat, 25 Sep 2021 12:30:19 +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 4HGpBx235Sz11t for ; Sat, 25 Sep 2021 12:30:16 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1632573018; 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=2UB3d5egEVZhM4yPzcLxJGfp0EG44n2ghg2xu9IVV4A=; b=drtnuZWw0SwoJts+IQskIAj+BQeojbWlowWfWgzS8LY6kxn8xHeMlx6Q2rpjZTOTO6NRgS PAUq0uPpcD32PTCQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1632573018; 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=2UB3d5egEVZhM4yPzcLxJGfp0EG44n2ghg2xu9IVV4A=; b=dPOi+JaoB8Sy04Ssnjfe590ECiHGJQD1N4igN4wq+EIWbKtg9MbKCCCvdhg3fij1r9GzuA EbU4PkTQoR5SX/4Q/oiXrrs6S5D0aUOK8fF0z0rj4d7zFcZVKTBJ2Zu6UuMSEAG0zpjUWr 3vQQSE3hE0vocCDED7lgtv5zHn+c+meVSJ9+1wTgvT7496r90oeqlUl/jHiFoXXXzX16B5 MNYrQySPXES5iIMXAZ0FfCFy3yINTX1lSr+Hte2buzJTHFy2Fm927Z42cyTRYaqptscz67 Q8eAita/ZykITR1/4h5+NrZK82WvrY22VtucVNmFJ+t46GRcFzsZ0fFcgEVLaw== To: "IPFire: Location" From: =?utf-8?q?Peter_M=C3=BCller?= Subject: [PATCH] importer.py: Import JPNIC feed as well Message-ID: <8a35bdb5-401b-6a7f-2ae4-f7799686c6a1@ipfire.org> Date: Sat, 25 Sep 2021 14:30:03 +0200 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" This adds names for - at the time of writing - 421 ASNs which were missing before, as JPNIC does not mirror (all) information back to APNIC. Reported-by: nusenu Signed-off-by: Peter Müller --- src/python/importer.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/python/importer.py b/src/python/importer.py index 4c8406c..de340b4 100644 --- a/src/python/importer.py +++ b/src/python/importer.py @@ -47,6 +47,11 @@ WHOIS_SOURCES = { # "https://ftp.arin.net/pub/rr/arin.db" # ], + # Japan Network Information Center + "JPNIC": [ + "https://ftp.nic.ad.jp/jpirr/jpirr.db.gz" + ], + # Latin America and Caribbean Network Information Centre # XXX ???