Duplicated PEER_INDEX_TABLE in rit mrt file

Ondrej Zajicek santiago at crfreenet.org
Thu Jan 14 04:02:08 CET 2021


On Sat, Oct 10, 2020 at 01:38:35PM -0300, Santiago Aggio wrote:
> Hello,
> I am using bird-2.0.7 on Debian 10 to dump the RIBs tables.
> 
> The tables generated for IPv4 are fine when parsed using mrt2bgpdump or bgpscanner.
> 
> But when I parse the IPv6 table, mrt2bgpdump doesn't return anything and bgpscanner gives the following error:
> bgpscanner: master6.mrt: bad RIB dump, duplicated PEER_INDEX_TABLE, skipping rest of file.


Hello

(Noticed while looking for some missed / forgotten e-mails)

Thanks for the bugreport. For IPv6 tables (due to ugliness of how MP-BGP
handles bgp_nexthop), we forgot to generate fake MP_REACH_NLRI attribute
with bgp_nexthop.

The resulting files worked with bgpdump (which i used for tests), just
displayed some default bgp_nexthop.

Fixed here (now it works with bgpdump, mrt2bgpdump and bgpscanner):

https://gitlab.nic.cz/labs/bird/-/commit/d774f6d721b0e52ed800c4b9a3a482c8ce9dd074

-- 
Elen sila lumenn' omentielvo

Ondrej 'Santiago' Zajicek (email: santiago at crfreenet.org)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20210114/45e9c7c8/attachment.sig>


More information about the Bird-users mailing list