]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - sysctl.d/50-default.conf
Merge pull request #12903 from keszybz/condition-quoting
[thirdparty/systemd.git] / sysctl.d / 50-default.conf
index e263cf06284a98a2fb402767b023f20ab9eb9808..27084f62424bf2cf3407c7a1a6bcc6bed2aa15b9 100644 (file)
@@ -22,7 +22,7 @@ kernel.sysrq = 16
 kernel.core_uses_pid = 1
 
 # Source route verification
-net.ipv4.conf.all.rp_filter = 1
+net.ipv4.conf.all.rp_filter = 2
 
 # Do not accept source routing
 net.ipv4.conf.all.accept_source_route = 0
@@ -36,3 +36,7 @@ net.core.default_qdisc = fq_codel
 # Enable hard and soft link protection
 fs.protected_hardlinks = 1
 fs.protected_symlinks = 1
+
+# Enable regular file and FIFO protection
+fs.protected_regular = 1
+fs.protected_fifos = 1