Skip to content

Commit

Permalink
image: use all of cilium's sysctl overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
3u13r committed Oct 27, 2023
1 parent cd93eb6 commit 5ac4137
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions image/base/mkosi.skeleton/usr/lib/sysctl.d/10-cilium.conf

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See https://github.com/cilium/cilium/issues/10645
# and https://github.com/cilium/cilium/blame/898a632e3c3b64eaa0f23ebde5a069e87373c59b/tools/sysctlfix/main.go#L41
# Disable rp_filter on Cilium interfaces since it may cause mangled packets to be dropped
-net.ipv4.conf.lxc*.rp_filter = 0
-net.ipv4.conf.cilium_*.rp_filter = 0
# The kernel uses max(conf.all, conf.{dev}) as its value, so we need to set .all. to 0 as well.
# Otherwise it will overrule the device specific settings.
net.ipv4.conf.all.rp_filter = 0

0 comments on commit 5ac4137

Please sign in to comment.