Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RIPE RPKI archive format changed (.xz) #14 #17

Merged

Conversation

MAVRICK-1
Copy link
Contributor

@MAVRICK-1 MAVRICK-1 commented Jan 12, 2024

Updated the URLS OF RPKI_ARCHIVE_URLS and uncompressed it .

solving the issue of #14

PS C:\Users\RISHI\Desktop\route-origin-validator\rov> rov  8.8.8.0/24 15169 --rpki_archive 2024/01/12
Downloading: https://ftp.ripe.net/rpki/afrinic.tal/2024/01/12/roas.csv.xz
Downloading: https://ftp.ripe.net/rpki/apnic.tal/2024/01/12/roas.csv.xz
Downloading: https://ftp.ripe.net/rpki/arin.tal/2024/01/12/roas.csv.xz
Downloading: https://ftp.ripe.net/rpki/lacnic.tal/2024/01/12/roas.csv.xz
Downloading: https://ftp.ripe.net/rpki/ripencc.tal/2024/01/12/roas.csv.xz
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/delegated\nro-extended-stats
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/irr\+lacnic.db.gz
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/irr\lacnic.db.gz
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/rpki//2024/01/12\afrinic.csv
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/rpki//2024/01/12\apnic.csv
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/rpki//2024/01/12\arin.csv
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/rpki//2024/01/12\lacnic.csv
Loading: C:\Users\RISHI\AppData\Local\IHR\rov\Cache/db/rpki//2024/01/12\ripencc.csv
{
    "query": {
        "prefix": "8.8.8.0/24",
        "asn": 15169
    },
    "irr": {
        "status": "NotFound"
    },
    "rpki": {
        "status": "Valid",
        "prefix": "8.8.8.0/24",
        "maxLength": 24,
        "ta": "unknown",
        "startTime": "2023-12-29 17:14:18",
        "endTime": "2024-03-28 16:14:18",
        "uri": "rsync://rpki.arin.net/repository/arin-rpki-ta/5e4a23ea-e80a-403e-b08c-2171da2157d3/f60c9f32-a87c-4339-a2f3-6299a3b02e29/5e9328a9-e1d2-45d8-bdb5-eefe152994f9/d74ad38d-11d3-3c79-a22a-29626dd55bea.roa"
    },
    "delegated": {
        "prefix": {
            "status": "assigned",
            "prefix": "8.8.8.0/24",
            "date": "20231228",
            "registry": "arin",
            "country": "US"
        },
        "asn": {
            "status": "assigned",
            "registry": "arin"
        }
    }
}

I have only shown the output for RPKI_ARCHIVE_URLS didn't included the other URLS in the output

@romain-fontugne review my PR :-)

@MAVRICK-1
Copy link
Contributor Author

@romain-fontugne can your pls review this PR when u got time 🙏☺️

Copy link
Member

@romain-fontugne romain-fontugne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is some problems with the dependencies and to install the app, otherwise that looks as expected, thanks!

Please see my comments

@MAVRICK-1
Copy link
Contributor Author

@romain-fontugne sir my fault, the lzma module is part of the standard library .
Rectifying it

@romain-fontugne romain-fontugne self-requested a review January 26, 2024 04:00
Copy link
Member

@romain-fontugne romain-fontugne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me thanks!

@romain-fontugne romain-fontugne merged commit dc8e0b5 into InternetHealthReport:main Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants