From 1b9c8dcc0b2c1aba34c61de617c49ed0e21d7e0d Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sat, 11 Jan 2014 17:43:35 +0100 Subject: [PATCH] Don't accept router advertisements by default --- .../files/lib/gluon/upgrade/core/initial/011-gluon-network | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/gluon-core/files/lib/gluon/upgrade/core/initial/011-gluon-network b/package/gluon-core/files/lib/gluon/upgrade/core/initial/011-gluon-network index a82183a8..8220b00e 100755 --- a/package/gluon-core/files/lib/gluon/upgrade/core/initial/011-gluon-network +++ b/package/gluon-core/files/lib/gluon/upgrade/core/initial/011-gluon-network @@ -26,3 +26,6 @@ tl-wdr4300) # fix up duplicate mac addresses esac uci_commit network + +echo 'net.ipv6.conf.all.accept_ra=0' >> /etc/sysctl.conf +echo 'net.ipv6.conf.default.accept_ra=0' >> /etc/sysctl.conf