RFC 9234 (BGP roles) possible bug

Mikhail Grishin magr at ripn.net
Fri May 12 10:59:57 CEST 2023


Hi,

Thanks.

I'll also remind you the idea to show in Bird CLI
not
Last error:       BGP Error: Role mismatch
but
Last error:       BGP Error: Role mismatch (provider)

In some of previous conversations you accepted it.

Ondrej Zajicek пишет 11.05.2023 18:27:
>
> In the logs printed Error: Role mismatch (provider)
> Hi
>
> Yes, it is a bug in BIRD. When BGP capability option is parsed, the
> capability structure is initialized with the proper default value, but
> when there is no BGP capability option altogether (like in these case),
> the capability structure is just zeroed. Unfortunately, RFC 9234 is the
> only supported capability that has non-zero default value (0xff), zero
> is 'provider'. Will fix that.
>
> I am surprised that in 2023 there are still BGP routers not supporting /
> sending capabilities :-) .
>



More information about the Bird-users mailing list