[Coral-dev] Incorrect masklen.
Ryan Koga
rkoga at caida.org
Sat Feb 5 20:48:44 PST 2011
On 2/4/11 10:42 PM, Sharad Chandra wrote:
> I installed coral-3.8.6 and noticed incorrect masklen in generated file
> from "parse_bgp_dump -g".
>
> <skip>
> 12.120.214.0 24 17224
> 12.127.255.255 3212 7018<<<-----------------here
> 12.128.0.0 9 7018
> <skip>
>
> I tried to debug the script and figure out that It is happening because of
> separator missing between "Network" and "Next Hop" in database
> http://archive.routeviews.org/oix-route-views/2011.02/oix-full-snapshot-latest.dat.bz2
>
> Note in 2nd row, below
>
> * 12.120.214.0/24 95.140.80.254 0 0 0 31500 3549 7018
> 17224 i
> * 12.127.255.255/3212.0.1.63 0 0 0 7018 i<----here
> * 12.128.0.0/9 62.72.136.2 0 0 0 5413 1299 7018 i
>
> and hence subroutine ParseBGPDump::parse_table_line is not able to
> successfully extract masklen.
You are absolutely correct; this is a bug we noticed when RouteViews
made some changes to their output format. The attached patch to
ParseBGPDump.pm will hopefully fix the problem. Let us know if it helps
(or more importantly, if it doesn't).
--
rkoga at caida.org (Ryan Koga)
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ParseBGPDump.pm.diff
Url: http://rommie.caida.org/pipermail/coral-dev/attachments/20110205/ee75f01b/ParseBGPDump.pm.diff
More information about the Coral-dev
mailing list