Bird 1.4.5 add-path crash
Hello, I'm seeing Bird 1.4.5 crash with a segmentation fault when receiving routes from a peer with add-path enabled. BIRD config: protocol bgp { direct; description "Juniper"; local as 65065; neighbor a:b:c:a as 65065; add paths rx; gateway direct; import none; export none; } The other side is a Juniper BGP speaker (JunOS 12.3R7), with the following config: neighbor a:b:c:d { family inet6 { unicast { add-path { send { path-count 2; } } } } peer-as 65065; } Session establishment completes, but when the Juniper sends routes Bird crashes. I can provide a core dump and pcap trace if needed. Kind regards, Martin Pels CDN Network Engineer LeaseWeb Technologies B.V. T: +31 20 316 0232 M: E: m.pels@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
On Tue, Jun 30, 2015 at 05:24:20PM +0200, Martin Pels wrote:
Hello,
I'm seeing Bird 1.4.5 crash with a segmentation fault when receiving routes from a peer with add-path enabled.
Hello There is one known bug in add-path in BIRD 1.4.5 that is already fixed in 1.5.0, could you try 1.5.0? -- 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."
Hi Ondrej, On Tue, 30 Jun 2015 19:56:58 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Tue, Jun 30, 2015 at 05:24:20PM +0200, Martin Pels wrote:
Hello,
I'm seeing Bird 1.4.5 crash with a segmentation fault when receiving routes from a peer with add-path enabled.
Hello
There is one known bug in add-path in BIRD 1.4.5 that is already fixed in 1.5.0, could you try 1.5.0?
With 1.5.0 the session does not establish: bird: Started bird: bgp1: Received: Required capability missing Kind regards, Martin Pels CDN Network Engineer LeaseWeb Technologies B.V. T: +31 20 316 0232 M: E: m.pels@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
On Wed, Jul 01, 2015 at 09:21:12AM +0200, Martin Pels wrote:
Hi Ondrej,
On Tue, 30 Jun 2015 19:56:58 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Tue, Jun 30, 2015 at 05:24:20PM +0200, Martin Pels wrote:
Hello,
I'm seeing Bird 1.4.5 crash with a segmentation fault when receiving routes from a peer with add-path enabled.
Hello
There is one known bug in add-path in BIRD 1.4.5 that is already fixed in 1.5.0, could you try 1.5.0?
With 1.5.0 the session does not establish:
bird: Started bird: bgp1: Received: Required capability missing
Could you try it with disabled route refresh: in bgp block: enable route refresh off; ? -- 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."
Hello, We have the same problem with some of our clients. The problem with "add path" doesn’t look like to come from Bird 1.5.0 but with the connected router. In our configuration we have this template. template bgp PEERS { local as MyASN; import all; export all; rs client; passive on; add paths tx; } Bird Version : BIRD 1.5.0 ready. The problem with BIRD 1.5.0 is the "enhanced-refresh”. That leads to "Received: Required capability missing”. You can try to remove this capability with this argument on you bgp configuration : enable route refresh off. Best regards, -- Alexandre Corso Network Engineer acorso@franceix.net
On 01 Jul 2015, at 09:21, Martin Pels <m.pels@tech.leaseweb.com> wrote:
Hi Ondrej,
On Tue, 30 Jun 2015 19:56:58 +0200 Ondrej Zajicek <santiago@crfreenet.org> wrote:
On Tue, Jun 30, 2015 at 05:24:20PM +0200, Martin Pels wrote:
Hello,
I'm seeing Bird 1.4.5 crash with a segmentation fault when receiving routes from a peer with add-path enabled.
Hello
There is one known bug in add-path in BIRD 1.4.5 that is already fixed in 1.5.0, could you try 1.5.0?
With 1.5.0 the session does not establish:
bird: Started bird: bgp1: Received: Required capability missing
Kind regards,
Martin Pels CDN Network Engineer LeaseWeb Technologies B.V.
T: +31 20 316 0232 M: E: m.pels@tech.leaseweb.com W: http://www.leaseweb.com
Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
On Wed, 1 Jul 2015 10:01:50 +0200 Alexandre Corso <acorso@franceix.net> wrote:
The problem with BIRD 1.5.0 is the "enhanced-refresh”. That leads to "Received: Required capability missing”. You can try to remove this capability with this argument on you bgp configuration : enable route refresh off.
That was the problem, indeed. Thanks! Kind regards, Martin Pels CDN Network Engineer LeaseWeb Technologies B.V. T: +31 20 316 0232 M: E: m.pels@tech.leaseweb.com W: http://www.leaseweb.com Luttenbergweg 8, 1101 EC Amsterdam, Netherlands
participants (3)
-
Alexandre Corso -
Martin Pels -
Ondrej Zajicek