Kernel protocol and different namespaces

Grant Taylor gtaylor at tnetconsulting.net
Fri Jun 7 21:39:50 CEST 2019



On 6/7/19 12:14 PM, Maria Jan Matějka wrote:
> Thinking once more about it, with respect to the interfaces and so, the 
> BGP transported over Unix socket seems to be quite simple feature to do.

I thought, and my initial tests support, that Unix sockets are network 
namespace specific.

# netstat -aFunix
Kernel Interface table
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP 
TX-OVR Flg
eno1      1500 77564888      0    614 0      66111123      0      0 
0 BMRU
lo       65536 68143909      0      0 0      68143909      0      0 
0 LRU
# ip netns add test
# ip netns exec test /bin/netstat -aFunix
Kernel Interface table
Iface      MTU    RX-OK RX-ERR RX-DRP RX-OVR    TX-OK TX-ERR TX-DRP 
TX-OVR Flg
lo       65536        0      0      0 0             0      0      0      0 L
# ip netns del test

So, I'm not sure if that's going to work the way that you want.





-- 
Grant. . . .
unix || die

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4008 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://trubka.network.cz/pipermail/bird-users/attachments/20190607/9ead1109/attachment.p7s>


More information about the Bird-users mailing list