aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sysctl.conf8
-rw-r--r--sysctl.conf.sparc10
2 files changed, 18 insertions, 0 deletions
diff --git a/sysctl.conf b/sysctl.conf
new file mode 100644
index 00000000..59a86d44
--- /dev/null
+++ b/sysctl.conf
@@ -0,0 +1,8 @@
+# Disables packet forwarding
+net.ipv4.ip_forward = 0
+# Enables source route verification
+net.ipv4.conf.all.rp_filter = 1
+# Disables automatic defragmentation (needed for masquerading, LVS)
+net.ipv4.ip_always_defrag = 0
+# Disables the magic-sysrq key
+kernel.sysrq = 0
diff --git a/sysctl.conf.sparc b/sysctl.conf.sparc
new file mode 100644
index 00000000..c01a8d06
--- /dev/null
+++ b/sysctl.conf.sparc
@@ -0,0 +1,10 @@
+# Disables packet forwarding
+net.ipv4.ip_forward = 0
+# Enables source route verification
+net.ipv4.conf.all.rp_filter = 1
+# Disables automatic defragmentation (needed for masquerading, LVS)
+net.ipv4.ip_always_defrag = 0
+# Disables the magic-sysrq key
+kernel.sysrq = 0
+# Disables stop-a on the sparc
+kernel.stop-a = 0