chiark / gitweb /
Merge commit 'b39a2770ba55637da80e2e389222c59dbea73507'
[elogind.git] / sysctl.d / 50-default.conf
index 46bae210c76de85821e73fb2ac3563d210d0bcb3..8fc9ab77a95fe931729bc856023ae6b8eb4f173b 100644 (file)
@@ -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