Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get the connection state for each conntrack entry? #949

Open
gotostack opened this issue Feb 6, 2024 · 0 comments
Open

How to get the connection state for each conntrack entry? #949

gotostack opened this issue Feb 6, 2024 · 0 comments

Comments

@gotostack
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant