X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=etc%2Fsysctl.conf;h=fbfccf25781ee7c9422bc55ab2a4219a4001226e;hb=refs%2Fheads%2Fds-host;hp=4c0e782737772b318dfc7c81699f52387ac910c8;hpb=0f35a7446b6610fb34f0eb32d883b9b9740e3a6c;p=matthijs%2Fservers%2Fdrsnuggles.git diff --git a/etc/sysctl.conf b/etc/sysctl.conf index 4c0e782..fbfccf2 100644 --- a/etc/sysctl.conf +++ b/etc/sysctl.conf @@ -2,3 +2,12 @@ # See /etc/sysctl.d/ for additonal system variables # See Documentation/sysctl and Documentation/net/ip-sysctl.txt for more info on # the meaning of vars. + +# 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 +net.ipv6.conf.eth1.accept_ra=0