[FROG] Advisory - FRR BGP peer flaps @ 2019-01-07

Donald Sharp sharpd at cumulusnetworks.com
Tue Jan 8 09:05:31 EST 2019


Job -

We were unaware of RFC 7606 and I've opened an issue to get this
implemented: https://github.com/FRRouting/frr/issues/3583

Thanks for pointing this out to us.

donald

On Tue, Jan 8, 2019 at 3:49 AM Job Snijders <job at ntt.net> wrote:
>
> Dear Lou,
>
> I have some follow up questions:
>
> - when was this bug introduced?
>
> - why is the session flapping at all? Doesn’t RFC 7606 suggest to handle such instances in a more graceful way, aka “treat-as-withdraw” rather than destroy the world and kill the session? Or perhaps rfc 5512 section 6 is of relevance too.
>
> - what timeline do you propose? Right now these quagga deployments are obstructing legitimate research (the experiment isn’t about finding broken BGP implementations).
>
> Kind regards,
>
> Job
>
> On Tue, Jan 8, 2019 at 11:31 Lou Berger <lberger at labn.net> wrote:
>>
>> To add some more detail here.  The root cause of the this issue was the
>> use of a BGP attribute reserved for development in the VNC code[1].  The
>> original intent was to disable use of this attribute by VNC[1] and FRR
>> in production, but this didn't happen.  My apologies for this.  A proper
>> fix has been submitted for all active releases and is undergoing
>> testing.  For those who are interested, release specific PRs can be
>> found at [3].
>>
>> Lou
>>
>> [3] https://github.com/FRRouting/frr/pulls
>>
>> On 1/7/2019 1:31 PM, Quentin Young wrote:
>> > Hello operators,
>> >
>> > This morning some users running FRR BGP noticed that their sessions were
>> > flapping. Investigation revealed that this was caused by an experiment being
>> > run by SwiNOG [0] which was triggering an undesired code path in FRR.
>> > Specifically, FRR uses attribute type 0xFF as the attribute code for VNC [1].
>> > This code was intended to be turned off by default, but our current published
>> > builds [2] have it turned on. Consequently, bgpd attempts to parse the received
>> > attribute as a VNC attribute and fails, triggering a session reset.
>> >
>> > We have a patch in testing now and expect to have new build artifacts published
>> > shortly. Additionally, we have contacted the experiment operators and requested
>> > a pause in the experiment while we handle this issue.
>> >
>> > Thank you to the operators that notified us this morning!
>> >
>> > - FRR maintainer team
>> >
>> > [0] http://lists.swinog.ch/public/swinog/2018-December/007110.html
>> > [1] http://docs.frrouting.org/en/latest/vnc.html
>> > [2] https://github.com/FRRouting/frr/releases
>> > _______________________________________________
>> > frog mailing list
>> > frog at lists.frrouting.org
>> > https://lists.frrouting.org/listinfo/frog
>>
>> _______________________________________________
>> frog mailing list
>> frog at lists.frrouting.org
>> https://lists.frrouting.org/listinfo/frog
>
> _______________________________________________
> frog mailing list
> frog at lists.frrouting.org
> https://lists.frrouting.org/listinfo/frog



More information about the frog mailing list