system: Don't accept ipv6 router advertisements.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 18 Nov 2010 18:53:23 +0000 (19:53 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 18 Nov 2010 19:09:57 +0000 (20:09 +0100)
etc/sysctl.d/ipv6.conf [new file with mode: 0644]

diff --git a/etc/sysctl.d/ipv6.conf b/etc/sysctl.d/ipv6.conf
new file mode 100644 (file)
index 0000000..6690977
--- /dev/null
@@ -0,0 +1,7 @@
+# Disable listening to routing advertisements on ipv6. The coloclue network
+# doesn't use them, so this prevents us from getting messed up when someone
+# else accidentally starts sending ras. Just setting default and all to 0
+# doesn't seem to work, so really disable all of them.
+net.ipv6.conf.all.accept_ra=0
+net.ipv6.conf.default.accept_ra=0
+net.ipv6.conf.eth0.accept_ra=0