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=1ee3698ca6b3514fe8e665986db02aaa19e46fd8;hb=dd2fd155901a965ec0efa3adc460b33d2048d4c2;hpb=ad8bc9ea508740074cead005aa3cfd1ba10a5dac diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf index 1ee3698ca..f18923399 100644 --- a/sysctl.d/50-default.conf +++ b/sysctl.d/50-default.conf @@ -15,12 +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