-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bugtool: include human-readable ttl for ct entries #39293
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
Conversation
``` # sdiff -w 201 <(cilium bpf ct list global | head -1) <( cilium bpf ct list global --time-diff | head -1) TCP IN 10.104.4.1:48022 -> 10.104.4.3:19090 expires=16997807 Packets=10 Bytes=954 RxFlagsSeen=0x1 | TCP IN 10.104.4.1:48022 -> 10.104.4.3:19090 expires=16997807 (remaining: -9699 sec(s)) Packets=10 ``` Signed-off-by: Mark St John <markstjohn@google.com>
/test |
1 similar comment
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change!
This looks good to me - even though changing the command also changes the filename in the sysdump (cilium-dbg-bpf-ct-list-global---time-diff.md
- including the flag in the file)
Note: I prefixed the PR title & release note with bugtool:
.
Is |
Did you consider also converting the |
I did not, thanks for the suggestion. I will take a look at that. |
I wasn't sure if you were going to look into the above in this PR, but the suggested change can be a different submission. I'll trigger the merge for this now. |
the
--time-diff
option for ct list commands provides improved readability for the conntrack entry lifetime.Example diff: