-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bpf: Support IPsec over IPv6 underlay #39620
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
To support IPv6 underlays in IPsec, we need set_ipsec_encrypt to be able to take IPv6 tunnel endpoints as an argument. This information is passed via the ipcache value. A new helper function, lookup_node, then performs the IPv4 or IPv6 lookup in the node ID map. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
Support encrypted overlay for IPv6 underlays by detecting to-be-encrypted traffic and marking it for encryption, as is done in the IPv4 case. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
/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.
Does our current e2e test setup already cover the IPsec over IPv6 underlay scenario?
No. As said in the PR description, that will come in a follow up PR with the agent changes. |
Oh I missed it |
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.
LGTM
This pull request adds support in our datapath for IPsec over IPv6 underlays. Agent changes and CI coverage will come in a followup pull request.