<div dir="ltr"><div>I'm in similar situation. Trying to run Bird on hardware that runs on top of kernel that doesn't support vrf.</div>Not sure if I understand correctly. Not sure how using Linux sockets would allow you to achieve separation between different namespaces? You would still need at least different Bird process, right?</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 7, 2019 at 11:08 PM Alexander Zubkov <<a href="mailto:green@qrator.net">green@qrator.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Yes. Looks like they are accounted in their own network namespace, it<br>
is quite reasonable. But they are still can be accessed via the file<br>
system from another namespaces. I can confirm that it works too. An<br>
example with the bird control socket:<br>
<br>
localhost:~/run# birdc -s retn/bird.ctl show status<br>
BIRD 2.0.4 ready.<br>
BIRD 2.0.4<br>
Router ID is 87.245.192.0<br>
Current server time is 2019-06-07 20:47:32.479<br>
Last reboot on 2019-06-07 20:45:17.425<br>
Last reconfiguration on 2019-06-07 20:45:17.425<br>
Daemon is up and running<br>
localhost:~/run# ip netns exec retn birdc -s retn/bird.ctl show status<br>
BIRD 2.0.4 ready.<br>
BIRD 2.0.4<br>
Router ID is 87.245.192.0<br>
Current server time is 2019-06-07 20:47:49.452<br>
Last reboot on 2019-06-07 20:45:17.425<br>
Last reconfiguration on 2019-06-07 20:45:17.425<br>
Daemon is up and running<br>
<br>
<br>
On Fri, Jun 7, 2019 at 10:41 PM Maria Matejka <<a href="mailto:jan.matejka@nic.cz" target="_blank">jan.matejka@nic.cz</a>> wrote:<br>
><br>
> > On 6/7/19 12:14 PM, Maria Jan Matějka wrote:<br>
> >> Thinking once more about it, with respect to the interfaces and so,<br>
> >> the BGP transported over Unix socket seems to be quite simple feature<br>
> >> to do.<br>
> ><br>
> > I thought, and my initial tests support, that Unix sockets are network<br>
> > namespace specific.<br>
> ><br>
> > # netstat -aFunix<br>
> > Kernel Interface table<br>
> > Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP<br>
> > TX-OVR Flg<br>
> > eno1      1500 77564888      0    614 0      66111123      0      0 0 BMRU<br>
> > lo       65536 68143909      0      0 0      68143909      0      0 0 LRU<br>
> > # ip netns add test<br>
> > # ip netns exec test /bin/netstat -aFunix<br>
> > Kernel Interface table<br>
> > Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP<br>
> > TX-OVR Flg<br>
> > lo       65536        0      0      0 0             0      0      0<br>
> > 0 L<br>
> > # ip netns del test<br>
> ><br>
> > So, I'm not sure if that's going to work the way that you want.<br>
><br>
> It will work the same way as the BIRD control socket works.<br>
> You can try it by the attached script (run by root) which uses socat for<br>
> demonstration.<br>
><br>
> Maria<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="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"><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:0.5pt solid rgb(217,217,217);border-top:0.5pt solid rgb(217,217,217);vertical-align:top;padding: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:0.5pt solid rgb(217,217,217);border-top:0.5pt solid rgb(217,217,217);vertical-align:top;padding: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:0.5pt solid rgb(217,217,217);border-top:0.5pt solid rgb(217,217,217);vertical-align:top;padding: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:0.5pt solid rgb(217,217,217);border-top:0.5pt solid rgb(217,217,217);vertical-align:top;padding: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:0.5pt solid rgb(217,217,217);border-top:0.5pt solid rgb(217,217,217);vertical-align:top;padding: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>