<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Aug 14, 2018 at 2:27 PM Ondrej Zajicek <<a href="mailto:santiago@crfreenet.org">santiago@crfreenet.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Aug 13, 2018 at 03:14:10PM +0200, Jakub Nowacki wrote:<br>
> Hi,<br>
> <br>
> I'm running BIRD on Arista which allows access to Linux bash. I'm having<br>
> issue with running multihop BFD session on it and I believe it's related to<br>
> port being already binded.<br>
> <br>
> > bash-4.3# netstat -tulpen | grep 4784<br>
> ><br>
>  udp6       0      0 :::4784                 :::*<br>
> >       0          4269       -<br>
<br>
Hi<br>
<br>
I thing 4269 here is PID, what is the process? netcat should return the<br>
process name, which is not here, but perhaps it is some limited variant<br>
of netcat. Maybe BFD is implemented in control plane on Arista, so it<br>
collides on kernel level?<br></blockquote><div> </div><div>4269 is Inode, netstat for some reason doesn't show PID/process name for ports related to BFD on Arista. This seems to be Arista thing not Bird, so probably that's not a place to investigate this here.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Also, there should be an error message in the BIRD log related to bind<br>
errors.<br></blockquote><div> </div><div>I haven't seen any error messages in log, perhaps logging level were not set for it. I'll double check it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> I couldn't find any configuration option for BFD to change port being used,<br>
> but maybe there is one?<br>
<br>
There is no such option. Perhaps we should add it, as BGP and RIP also<br>
have port option.<br></blockquote><div><br></div><div>That would be super helpful. I could create Pull Request for it, but I've only written in C++ years ago, never actually touched plain C, it can take me some time.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Perhaps anyone run into similar issue and have a workaround?<br>
<br>
As a workaround you can recompile BIRD with changed BFD_MULTI_CTL_PORT in<br>
proto/bfd/bfd.h file.<br></blockquote><div><br></div><div>That's what I did. After changing port to arbitrary value, which is not taken on Arista it started to work. So it seems that BFD is failing due to Arista OS.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
-- <br>
Elen sila lumenn' omentielvo<br>
<br>
Ondrej 'Santiago' Zajicek (email: <a href="mailto:santiago@crfreenet.org" target="_blank">santiago@crfreenet.org</a>)<br>
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, <a href="http://wwwkeys.pgp.net" rel="noreferrer" target="_blank">wwwkeys.pgp.net</a>)<br>
"To err is human -- to blame it on a computer is even more so."<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><span><br><div dir="ltr"><table style="border:none;border-collapse:collapse"><colgroup><col width="497"></colgroup><tbody><tr style="height:65pt"><td style="vertical-align:top;padding:5pt 5pt 5pt 5pt"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Arial;color:rgb(102,102,102);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap">Kuba Nowacki</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><font color="#666666" face="Arial"><span style="font-size:10.6667px;white-space:pre-wrap">Senior NetOps</span></font></p><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:8pt;font-family:Arial;color:rgb(102,102,102);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">M: +(48) 605 508 118</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:8pt;font-family:Arial;color:rgb(102,102,102);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">E: <a href="mailto:jnowacki@greywizard.com" target="_blank">jnowacki@greywizard.com</a></span></p></td></tr></tbody></table></div><br><div dir="ltr" style="margin-left:0pt"><table style="border:none;border-collapse:collapse"><colgroup><col width="74"><col width="121"><col width="129"><col width="108"><col width="138"></colgroup><tbody><tr style="height:60pt"><td style="border-bottom:solid #d9d9d9 0.5pt;border-top:solid #d9d9d9 0.5pt;vertical-align:top;padding:5pt 5pt 5pt 5pt"><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:12pt;font-family:Arial;color:rgb(102,102,102);background-color:transparent;font-weight:700;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh6.googleusercontent.com/5-5Uv_ufsOjm8PWhnFTiJusJ1jvoB56w4iR7HtjWklgLS0ZLiQj088iMCFKk8I23FxygNtcCJyQOEe9ySaExNFvAh-cLRC3BWKPMxhVfZMbXYfNWksBffXrb-DKtebPN9f9Yzeu7" width="55" height="69" style="border:none"></span></p></td><td style="border-bottom:solid #d9d9d9 0.5pt;border-top:solid #d9d9d9 0.5pt;vertical-align:top;padding:5pt 5pt 5pt 5pt"><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh4.googleusercontent.com/FEIAXBCdcdoq8baGPSwXfgoEctIvuVuRV1pqhR503pFaiA9LKMcUEnSPMCHFOXiHUSPsCqC6II7PpISwv_O5MYN0U_gArA7XSNN_GdlbXmfkKan3kG-inS4igsaFAedCGNs5sxKG" width="107" height="36" style="border:none"></span></p></td><td style="border-bottom:solid #d9d9d9 0.5pt;border-top:solid #d9d9d9 0.5pt;vertical-align:top;padding:5pt 5pt 5pt 5pt"><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">GreyWizard Sp. z o.o.</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">ul. Palacza 113</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">60-273 Poznań, Poland</span></p></td><td style="border-bottom:solid #d9d9d9 0.5pt;border-top:solid #d9d9d9 0.5pt;vertical-align:top;padding:5pt 5pt 5pt 5pt"><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">NIP: 779-24-22-423 </span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Regon: 302744400</span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">KRS: 0000512326</span></p><br></td><td style="border-bottom:solid #d9d9d9 0.5pt;border-top:solid #d9d9d9 0.5pt;vertical-align:top;padding:5pt 5pt 5pt 5pt"><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="http://greywizard.com" target="_blank">greywizard.com</a></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:support@greywizard.com" target="_blank">support@greywizard.com</a></span></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt;text-align:right"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">+48 22 201 33 13</span></p></td></tr></tbody></table></div><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Sąd Rejonowy w Poznaniu, VIII Wydział Gospodarczy Krajowego Rejestru Sądowego. Kapitał zakładowy 10000 PLN.</span></p><div><span style="font-size:8pt;font-family:Arial;color:rgb(210,215,220);background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><br></span></div></span></div></div></div></div></div></div></div></div>