vishvananda/netlink

How to get the connection state for each conntrack entry?

Opened this issue · 0 comments

Hi there,

As we can see the code of ConntrackFlow:
https://github.com/vishvananda/netlink/blob/master/conntrack_linux.go#L144

There is no connection state for each entry.

For instance, conntrack -L shows:
tcp 6 431942 ESTABLISHED src=172.16.20.10 dst=172.16.20.10 sport=40166 dport=5672 src=172.16.20.10 dst=172.16.20.10 sport=5672 dport=40166 [ASSURED] mark=0 use=1

Can we get the connection state for each conntrack entry?