CAIDA / libparsebgp

Lightweight parser for binary BGP, BMP and MRT routing data
https://bgpstream.caida.org
BSD 2-Clause "Simplified" License
8 stars 8 forks source link

Fewer records than when using libbgpdump #67

Closed alistairking closed 5 years ago

alistairking commented 5 years ago

When comparing BGPStream v1 output (libbgpdump) to v2 output (using libparsebgp), we see fewer records in v2 than in v1:

v1 command:

bgpreader -d singlefile -o upd-file,http://bgp-archive.caida.org/routeviews/route-views2/updates/2001/12/31/routeviews.route-views2.updates.1009784460.bz2

v2 command:

bgpreader -d singlefile -o upd-file=http://bgp-archive.caida.org/routeviews/route-views2/updates/2001/12/31/routeviews.route-views2.updates.1009784460.bz2

When using v1 we see 36,573 elems (by counting lines). When using v2, we see 35,565 elems, and a warning:

WARNING: Skipping truncated record 3913
alistairking commented 5 years ago

This is fixed by #68