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

Add HTTP Download Method for Latest RIB #72

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

mansweet
Copy link
Contributor

Description

A fix for Issue #64

Previously, we would only have been able to download from routeviews via HTTP if we specified a file that contains some dates for us to try and fetch.
This feature allows us to now download the latest rib file from the HTTP source by passing in the latest flag.

Previously, users were not able to pass in a compressed As-Names file,
but they were able to pass in a compressed IP-ASN Database.  For those
trying to work with a single file-format / or compression apporach, this
feature enables that.
Previously, users were not able to pass in a compressed As-Names file,
but they were able to pass in a compressed IP-ASN Database.  For those
trying to work with a single file-format / or compression apporach, this
feature enables that.
Previously, FTP download options were the only option.  For those of us
operating behind stricter firewalls, FTP is sometimes blocked since
it's harder to inspect packets.

This commit adds the ability to download the BGP RIB file via HTTP.
One should note that it only supports IPv4.
@mansweet
Copy link
Contributor Author

mansweet commented Sep 9, 2021

bump on this PR @hadiasghari -- would like to get it integrated.

@mansweet
Copy link
Contributor Author

Hi @hadiasghari , another gentle nudge on this issue. Do you have an idea of when you might be able to merge this PR, and is there anything I can do to help you out in getting the new pypi package/version/release out?

@hadiasghari
Copy link
Owner

Hi @mansweet, thanks for the PR. I had a look at it. I believe it is important to add the ability to download IPv6 too via HTTP, given it's currently adoption rate.

The URLs to download the V4+6 and V6 files are similar to the FTP roots. They are as follows:

http://archive.routeviews.org/bgpdata/ → 4 only
http://archive.routeviews.org/route-views4/bgpdata/ → 4+6
http://archive.routeviews.org/route-views6/bgpdata/ → 6 only

@slhck
Copy link

slhck commented Mar 13, 2024

I created #77 which probably supersedes this stale PR.

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.

3 participants