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=f18923399bc4c75a77a97a85a7f390dc7a7595f6;hp=46bae210c76de85821e73fb2ac3563d210d0bcb3;hb=d29ae2914e1146f45ff4104faafef5331837bed7;hpb=0f59fe5171b5564fc6fb58f3281fbc259c45f7d0 diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf index 46bae210c..f18923399 100644 --- a/sysctl.d/50-default.conf +++ b/sysctl.d/50-default.conf @@ -15,9 +15,18 @@ 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 + +# Fair Queue CoDel packet scheduler to fight bufferbloat +net.core.default_qdisc = fq_codel # Enable hard and soft link protection fs.protected_hardlinks = 1