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

Parse and expose conntrack timestamps #659

Merged
merged 3 commits into from
Sep 18, 2021

Conversation

milan-zededa
Copy link
Contributor

@milan-zededa milan-zededa commented Jun 7, 2021

This PR makes parseRawData from conntrack_linux.go a bit more robust by properly skipping all unhandled NLAs and also adds support to parse timeout and timestamps from the conntrack data if present. A unit test was added to validate that the function works as expected.
Contributors: @naiming-zededa, @gkodali-zededa and me.

naiming-zededa and others added 3 commits June 4, 2021 13:59
Signed-off-by: Naiming Shen <naiming@zededa.com>
Signed-off-by: GopiKrishna Kodali <gkodali@zededa.com>
Signed-off-by: Milan Lenco <milan@zededa.com>
@naiming-zededa
Copy link
Contributor

@jswantek I'm not sure. Maybe the CI has changed since then?

@jswantek

This comment has been minimized.

@aboch aboch merged commit 871f8a1 into vishvananda:master Sep 18, 2021
milan-zededa added a commit to milan-zededa/eve that referenced this pull request Oct 13, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
milan-zededa added a commit to milan-zededa/eve that referenced this pull request Oct 13, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
eriknordmark pushed a commit to lf-edge/eve that referenced this pull request Oct 15, 2021
All changes in our fork of vishvananda/netlink have been accepted
and merged into the upstream:
- vishvananda/netlink#654
- vishvananda/netlink#659

Signed-off-by: Milan Lenco <milan@zededa.com>
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

Successfully merging this pull request may close these issues.

5 participants