I recently moved from bird to bird2. I'm currently using it as a backend to bgpstuff.net, a looking glass. In order to check the ROA status for a prefix in bird1 I did the following, and got the following result: bird> eval roa_check(roa_table, 71.178.0.0/16, 701) (enum 35)0 That enum I just mapped to the correct ROA_ status. However this same command gives strange output in bird2, sometimes even different when running it more than once: bird> eval roa_check(roa_v4, 71.178.0.0/16, 701) --- 0 ??? <2022> bird> eval roa_check(roa_v4, 71.178.0.0/16, 701) [unknown type 90] Currently running bird 2.0.5 in this instance. Is there a way to get the ROA status like this from the CLI like in bird? Also any ideas why the outputs above are different and seem random? Thanks Darren
On Wed, Oct 23, 2019 at 05:31:21PM -0400, Darren O'Connor wrote:
I recently moved from bird to bird2. I'm currently using it as a backend to bgpstuff.net, a looking glass.
In order to check the ROA status for a prefix in bird1 I did the following, and got the following result:
bird> eval roa_check(roa_table, 71.178.0.0/16, 701) (enum 35)0
That enum I just mapped to the correct ROA_ status. However this same command gives strange output in bird2, sometimes even different when running it more than once: bird> eval roa_check(roa_v4, 71.178.0.0/16, 701) --- 0 ??? <2022>
bird> eval roa_check(roa_v4, 71.178.0.0/16, 701) [unknown type 90]
Currently running bird 2.0.5 in this instance. Is there a way to get the ROA status like this from the CLI like in bird? Also any ideas why the outputs above are different and seem random?
Hi This is bug in BIRD 2, fixed in latest version 2.0.7. -- Elen sila lumenn' omentielvo Ondrej 'Santiago' Zajicek (email: santiago@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."
participants (2)
-
Darren O'Connor -
Ondrej Zajicek