<html><body><div id="zimbraEditorContainer" style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000" class="5"><div><div>Hello Ondrej,</div><div><br></div><div>Many thanks for the advise.</div><div><br></div><div>We have upgraded BIRD to the latest 1.6.8 version.</div><div>In this version seems the crash issue is resolved but the second issue with</div><div>- iBGP between RS-RS over IPv6 still exists. This BGP session is not able to establish yet.</div><div><br></div><div>In my LAB I have successfully replicated the issue. Both Route Servers are on BIRD with latest version 1.6.8. They have the following IPv6 addresses configured:</div><div><br></div><div>RS1 IPv6 - 2001:67c:29f0::A:1:234:4</div><div>RS2 IPv6 - 2001:67c:29f0::A:1:234:5</div><div><br></div><div>Here is the config fo each RS </div></div><div><br></div><div>RS1 output:<br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># birdc6 show proto</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">BIRD 1.6.8 ready.</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">name proto table state since info</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">device1 Device master up 2021-07-20 10:50:21</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">P1234 Pipe master up 2021-07-20 10:50:21 => T1234</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">R1234x5 BGP T1234 start 2021-07-20 10:58:33 Connect</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">direct1 Direct master down 2021-07-20 11:09:51</span><br><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">kernel1 Kernel master down 2021-07-20 11:09:51</span><br><br></div><div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># cat AS1234</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">table T1234</span></div><div><br></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">protocol pipe P1234 from iBGP_PIPES {</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> description "RS";</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> peer table T1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> export all;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">}</span></div><div><br></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">protocol bgp R1234x5 {</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> description "iBGP_RS2";</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> source address 2001:67c:29f0::A:1:234:4;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> neighbor 2001:67c:29f0::A:1:234:5 as 1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> local as myas;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> prefer older on;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> missing lladdr ignore;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> import none;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> export none;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> passive off;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> table T1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># add paths on;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># direct;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">}</span></div></div><div><br></div><div><strong>===============================================================================</strong></div><div><br data-mce-bogus="1"></div><div> <!--StartFragment--><strong><span style="color: rgb(0, 0, 0); font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;">RS2 output:</span></strong><br style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;" data-mce-style="color: #000000; font-family: arial, helvetica, sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;"><!--EndFragment--><div style="clear: both;" data-mce-style="clear: both;"><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># birdc6 show proto</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">BIRD 1.6.8 ready.</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">name proto table state since info</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">device1 Device master up 2021-07-20 10:52:23</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">P1234 Pipe master up 2021-07-20 10:52:23 => T1234</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">R1234x4 BGP T1234 start 2021-07-20 10:58:46 Connect</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">direct1 Direct master down 2021-07-20 11:09:21</span></div><div style="clear: both;" data-mce-style="clear: both;"><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">kernel1 Kernel master down 2021-07-20 11:09:21</span></div><div><br></div><div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># cat AS1234</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">table T1234</span></div><div><br></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">protocol pipe P1234 from iBGP_PIPES {</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> description "RS";</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> peer table T1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> export all;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">}</span></div><div><br></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">protocol bgp R1234x4 {</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> description "iBGP_RS1";</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> source address 2001:67c:29f0::A:1:234:5;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> neighbor 2001:67c:29f0::A:1:234:4 as 1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> local as myas;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> prefer older on;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> missing lladdr ignore;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> import none;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> export none;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> passive off;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"> table T1234;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># add paths on;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;"># direct;</span></div><div><span style="font-family: "courier new", courier, monaco, monospace, sans-serif;" data-mce-style="font-family: 'courier new', courier, monaco, monospace, sans-serif;">}</span></div></div><div><br></div><div>Seems the issue happens when remote peer is also BIRD. When remote peer is router ( Cisco, Juniper, Quagga etc... ) the session is successfully established.</div><div>On IPv4 iBGP between both RS works fine. So the issue related only with IPv6 stack.</div><div><br data-mce-bogus="1"></div><div>I appreciate any kind of help.</div><div><br data-mce-bogus="1"></div><div>Best~</div></div></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div><div style="font-family:'tahoma' , sans-serif;color:#008081;font-size:14px">
<h2 style="font-size:14px;margin:0px;line-height:18px">Javor Kliachev</h2>
<h4 style="color:rgb( 136 , 205 , 211 );font-weight:100;margin:0px">Senior Engineer IP Services</h4>
<span class="info_type">office:</span><span class="info">+359 2 974 33 11</span><br>
<span class="info_type">mobile:</span><span class="info">+359 885 98 84 95 </span><br>
</div>
<a href="http://www.neterra.net" style="font-size:14px;font-family:'verdana';color:#008081;text-decoration:none !important" target="_blank" rel="nofollow noopener noreferrer">www.neterra.net</a>
<a href="https://bg.linkedin.com/pub/javor-kliachev/11/b46/843" style="text-decoration:none" target="_blank" rel="nofollow noopener noreferrer">
<img src="http://old.neterra.net/public/signatures/LinkedIn-icon-mini.png" class="img"> </a>
<br></div></div><div><br></div><hr id="zwchr" data-marker="__DIVIDER__"><div data-marker="__HEADERS__"><b>From: </b>"Ondrej Zajicek" <santiago@crfreenet.org><br><b>To: </b>"Javor Kliachev" <jkliachev@neterra.net><br><b>Cc: </b>"bird-users" <bird-users@network.cz>, "inmt-ip" <inmt-ip@neterra.net><br><b>Sent: </b>Friday, 9 July, 2021 16:33:20<br><b>Subject: </b>Re: BIRD - iBGP between RS over IPv6 lead to crash (segfault)<br></div><div><br></div><div data-marker="__QUOTED_TEXT__">On Fri, Jul 09, 2021 at 11:43:53AM +0300, Javor Kliachev wrote:<br><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"> Hello, <br> <br> We're using BIRD 1.6.4 as Route Server. <br> <br> Recently we have decided to establish an internal BGP session between both RS over IPv6 <br> <br> But when we added our config in BIRD then it has crashed immediately with the following error: <br> [35878512.553496] bird6[2545]: segfault at 0 ip 000055f60242c331 sp 00007ffd43689460 error 4 in bird6[55f60240a000+86000] <br> Another more strange: <br> <br> Initially before the crash we have added the following config below and RS was stable but session was not able to establish. <br> We have made a capture of the traffic during the attempt of session establishment and seems TCP handshake works but then not procced futher. <br><br> ...<br> <br> Could someone BIRD developer to suggest some solution for fixing this issue? <br> We highly appreciate any kind of support. <br></blockquote><br>Hello<br><br>Well, first upgrade and try latest legacy version (1.6.8). Version 1.6.4<br>is too old and not worth to us to check whether it was already fixed or<br>not.<br><br>-- <br>Elen sila lumenn' omentielvo<br><br>Ondrej 'Santiago' Zajicek (email: santiago@crfreenet.org)<br>OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)<br>"To err is human -- to blame it on a computer is even more so."<br></div></div></body></html>