importer.py: Import JPNIC feed as well

Message ID 8a35bdb5-401b-6a7f-2ae4-f7799686c6a1@ipfire.org
State Superseded
Headers show
Series importer.py: Import JPNIC feed as well | expand

Commit Message

Peter Müller Sept. 25, 2021, 12:30 p.m. UTC
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 <nusenu-lists@riseup.net>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
---
 src/python/importer.py | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Michael Tremer Sept. 27, 2021, 6:43 p.m. UTC | #1
Hello,

Thank you for this patch.

> On 25 Sep 2021, at 13:30, Peter Müller <peter.mueller@ipfire.org> wrote:
> 
> 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 <nusenu-lists@riseup.net>

According to our guidelines this should be the full name of the reporter/submitter/author. I suspect nusenu isn’t it.

-Michael

> Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
> ---
> 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 ???
> 
> -- 
> 2.26.2

Patch

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