Open EugeniuZ opened 2 years ago
At least it should not map to public ASNs.
Hi @EugeniuZ ,
This isn't normally the case. It seems like an error with the MRT/RIB/BGP data. A simple fix would be to filter out these private ranges from the file. Where did you download your RIB file from?
Hi @hadiasghari ,
This is what I see in the log:
Finding most recent archive in /route-views4/bgpdata/2022.04/RIBS ...
Downloading ftp://archive.routeviews.org//route-views4/bgpdata/2022.04/RIBS/rib.20220414.0600.bz2
We're using the provided tool to download the database (pyasn_util_download.py --latestv46
)
So is this the wrong place to report the issue?
@EugeniuZ, I am not spending much time on this project at the moment, so I cannot unfortunately debug this issue at the moment. Basically, pyasn
parses the RIB file information to produce its ipasn.dat
file. The RIB file is a dump from a router's BGP table (in this case from route-views4
vantage). These private v4 addresses should not appear in the RIB files--and typically don't. Perhaps this is some temporary problem with this vantage point? I'd recommend downloading a couple of recent RIB files from other vantage points (you can find them via a search), and converting those too to see if the private IP range appear in them too. That should help narrow the problem cause.... I hope this helps.
Hi,
Currently I see these entries in the database file:
Could you please clarify why are private IP ranges assigned an ASN?