Conntrackd and Linux Namespaces

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello there,

I have configured more than one Linux namespaces and started conntrackd in
each using Œip netns exe <ns-nam> conntrackd -C /var/conn.conf² and I have
not figured a way to execute conntrackd Client mode commands in both
default as well as specific namespace. Take a look at failures below. I am
executing these commands as Œroot¹.

Root@host:/home/debian# ip netns exe ns1 conntrackd -s queue
[Thu Aug 23 18:17:53 2018] (pid=28091) [ERROR] can't connect: is
conntrackd running? appropriate permissions?


It asks if conntrackd is running and ps -ef shows it is running in this
name space.
Root@hostPs -ef | grep conntrackd | grep ns1
Root@host:root     23761 22544  0 13:57 ?        00:00:03 conntrackd -C
/etc/conntrackd/conntrackd-sc-ns1.conf


However conntrack CLI works just ok
Root@host:/home/debian# ip netns exe ns1 conntrack -S
cpu=0   	found=0 invalid=12 ignore=0 insert=0 insert_failed=0 drop=0
early_drop=0 error=0 search_restart=81

My objective is to use some Client commands to ensure Conntrackd is
working as expected in each namespace. What are other ways to do that?

Thanks

Pankaja





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux