]> git.ipfire.org Git - location/libloc.git/commitdiff
importer.py: Import JPNIC feed as well
authorPeter Müller <peter.mueller@ipfire.org>
Sat, 23 Oct 2021 06:54:23 +0000 (08:54 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 25 Oct 2021 18:41:42 +0000 (18:41 +0000)
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.

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/python/importer.py

index 4c8406c1c242aac9e1efad221e01f30e338bf89c..de340b49c138ddba3f824bed9e37026043fb5ad7 100644 (file)
@@ -47,6 +47,11 @@ WHOIS_SOURCES = {
        #       "http://ftp.arin.net/pub/rr/arin.db"
        # ],
 
+       # Japan Network Information Center
+       "JPNIC": [
+               "http://ftp.nic.ad.jp/jpirr/jpirr.db.gz"
+               ],
+
        # Latin America and Caribbean Network Information Centre
        # XXX ???