-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bpf: transport source identity in MARK_MAGIC_OVERLAY #32944
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
bpf: transport source identity in MARK_MAGIC_OVERLAY #32944
Conversation
/test |
oho! CI says that we sometimes can't access the |
Cilium is registering drops before the CI connectivity tests are even running:
These are the metrics the tests look for, but I grabbed them on a local cluster before any connectivity tests run. Successive runs of the connectivity tests do not bump this counter. Can we think of any reasons vxlan traffic without a tunnel key would be routed to |
So I wanted to catch what traffic was bumping the drop counters. I created a dummy interface on the Cilium host before cilium started and let TCPDUMP just sit there.
Where 999 is my dummy interface. I did wind up catching the traffic:
Looks like we are catching IPv6 related broadcast/NDP traffic, I'm assuming when the interface gets a link-local address assigned for IPv6... Pretty fun 😆
I'm kinda assuming that these packets are generated when we set the link up. Maybe, we are recording metrics a bit too early? |
@ldelossa 🙏 heh, so it was Control plane traffic. Nice! Think we can just tolerate the missing Long-term we could maybe also just set the |
a9a1867
to
c31c96b
Compare
/test |
Provide easy access to the security identity which is embedded into Cilium's overlay traffic. And start making use of it in the encrypted-overlay path, to avoid some manual packet parsing. Signed-off-by: Julian Wiedmann <jwi@isovalent.com>
c31c96b
to
eec5b87
Compare
/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.
Changes LGTM.
Provide easy access to the security identity which is embedded into Cilium's overlay traffic. And start making use of it in the encrypted-overlay path, to avoid some manual packet parsing.