-
Notifications
You must be signed in to change notification settings - Fork 3.4k
datapath, netkit: Allow ARP passthrough on host when using netkit #35070
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
/test |
When using the `netkit` datapath mode neither `ENABLE_ARP_PASSTHROUGH` nor `ENABLE_ARP_RESPONDER` is set for any endpoint. When host firewall is enabled all ARP messages are blocked to and from the netdev. Make an exception for host endpoints to ensure connectivity is maintained between the host and the outside world. Additionally, add test coverage for netkit combined with host firewall. Fixes: cilium#34230 Fixes: 6895341 ("cilium, connector: Add netkit connector") Signed-off-by: Jordan Rife <jrife@google.com>
cc @borkmann |
Thanks for the fix! /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.
awesome, thanks @jrife !
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.
CI changes 👍
(ready to merge. the ginkgo ci failure appears also in other PRs and unrelated to this one here, looks like we don't have a GH issue for it yet) edit: #35209 |
thanks @borkmann |
When using the
netkit
datapath mode neitherENABLE_ARP_PASSTHROUGH
norENABLE_ARP_RESPONDER
is set for any endpoint. When host firewall is enabled all ARP messages are blocked to and from the netdev. Make an exception for host endpoints to ensure connectivity is maintained between the host and the outside world. Additionally, add test coverage for netkit combined with host firewall.Fixes: #34230
Fixes: 6895341 ("cilium, connector: Add netkit connector")