anssi-fr / mabo Goto Github PK
View Code? Open in Web Editor NEWMRT Parser
License: Other
MRT Parser
License: Other
Large 32-Bit AS-Numbers are displayed negative, i.e. 4294901906 is displayed as -65390
those numbers may be invalid, but as they are contained in the RIPE RIS dump, they could be displayed correctly.
# mabo prefixes rrc00-bview.gz | grep '^-'
-65390 59.101.1.0/24
-65390 59.101.2.0/24
-65390 59.101.3.0/24
-65390 59.101.4.0/24
-65390 59.101.5.0/24
-65390 59.101.6.0/24
-65390 59.101.7.0/24
-65390 59.101.8.0/24
-65390 59.101.9.0/24
-65390 59.101.10.0/24
-65415 59.101.15.0/24
-65430 59.101.114.0/24
bgpdump as reference:
TABLE_DUMP2|06/23/17 08:00:01|B|203.119.76.5|4608|59.101.1.0/24|4608 24130 2764 4294901906|IGP
user@host:/tmp/mabo$ ./mabo prefixes --asn-list as-list.ini
Fatal error: exception Types.SubError("len: 0 - start: -2 - end: 2")
If I call mabo without the mrt file as an argument I get this error, which is a bit weird.
Hi @guedou @nv-anssi ,
I am unable to parse the BGP MRT update files collected from openbgpd router.
bgp command used to generate the update files dump all in "/tmp/all-in-%H%M" 300
It parses few records, then fails with below error
MRT parsing error: MRT dump is truncated: 1492578098 16/4 99
MRT parsing error: MRT dump is truncated: 1492578098 16/4 99
MRT parsing error: MRT dump is truncated: 1492578098 16/4 99
MRT parsing error: MRT dump is truncated: 1492578098 16/4 99
I am able to parse the RIB files from the same router, problem is with update files.
But I am able to parse the mrt files from RIPE.
Thank you
Can support for TABLE_DUMP
be added?
Example file: http://instituut.net/~job/ribs.20080913.0000.bz2
using the example data http://data.ris.ripe.net/rrc01/2016.01/bview.20160101.0000.gz
I executed the mabo prefixes
with three versions of the file
The first two work fine, using mabo on a bzip2 compressed file reports no prefixes?
I'm using Ubuntu 18.04 as the host OS.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.