X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=sysctl.d%2F50-default.conf;h=8fc9ab77a95fe931729bc856023ae6b8eb4f173b;hp=46bae210c76de85821e73fb2ac3563d210d0bcb3;hb=cb87a73b45503eaa6bead291423a529b00d27156;hpb=0f59fe5171b5564fc6fb58f3281fbc259c45f7d0 diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf index 46bae210c..8fc9ab77a 100644 --- a/sysctl.d/50-default.conf +++ b/sysctl.d/50-default.conf @@ -15,9 +15,15 @@ kernel.core_uses_pid = 1 # Source route verification net.ipv4.conf.default.rp_filter = 1 +net.ipv4.conf.all.rp_filter = 1 # Do not accept source routing net.ipv4.conf.default.accept_source_route = 0 +net.ipv4.conf.all.accept_source_route = 0 + +# Promote secondary addresses when the primary address is removed +net.ipv4.conf.default.promote_secondaries = 1 +net.ipv4.conf.all.promote_secondaries = 1 # Enable hard and soft link protection fs.protected_hardlinks = 1