-
You must be signed in to change notification settings -
iptables: Fatal when IPv6 is enabled but corresponding kernel modules are missing #18941
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
Maybe this would be better worded as a full sentence?
|
69beae8
to
5ffe025
Compare
@pchaigno Fixed the commit message. Thanks! |
@vadorovsky Oh, sorry. The previous commit title was fine (and fit within the character limit). I meant to suggest changing the release note :) |
@pchaigno I had an intention to change it also in release notes and PR title, but seems like lack of coffee made me to not do it. Fixed now. :) |
This comment was marked as resolved.
This comment was marked as resolved.
@vadorovsky Could you please rebase? Many tests are failing because the PR branch is pretty old. |
… are missing Before this change, when Cilium was running with --enable-ipv6 option, we were only logging a warning, but then the rest of iptables.go module was inserting ip6tables rules anyway. That resulted in errors, because inserting such rules is impossible without IPv6 netfilter presence in the kernel. This change fixes that by a fatal error in situation when IPv6 is enabled in Cilium, but not supported by the kernel. In such situations, users should either disable IPv6 in Cilium or load the needed kernel modules. Fixes: cilium#18904 Signed-off-by: Michal Rostecki <vadorovsky@gmail.com>
sorry for doing it so late |
No problem. /test |
Before this change, when Cilium was running with --enable-ipv6 option,
we were only logging a warning, but then the rest of iptables.go module
was inserting ip6tables rules anyway. That resulted in errors, because
inserting such rules is impossible without IPv6 netfilter presence in
the kernel.
This change fixes that by a fatal error in situation when IPv6 is
enabled in Cilium, but not supported by the kernel. In such situations,
users should either disable IPv6 in Cilium or load the needed kernel
modules.
Fixes: #18904
Signed-off-by: Michal Rostecki vadorovsky@gmail.com