On 04/19/2015 08:08 AM, Per Jessen wrote:
James Knott wrote:
On 04/19/2015 04:21 AM, Per Jessen wrote:
Maybe if we compare environments:
I have some desktops, pads and smartphones on IPv6 - openSUSE 12.3, 13.1 and 13.2 plus various iOS and Android. Even a desktop with openSUSE 10.3. On the latter, I have just now enabled privacy extensions:
sysctl -w net.ipv6.conf.eth0.use_tempaddr=2 ifdown/up eth0 When I enter that command, I get a random address as well as SLAAC. Also, as I mentioned earlier, my notebook, using the KDE network manager, gets a random address and SLAAC, as does in Windows, and also my Android devices. Perhaps some script is missing that sysctl line. Do you have to run that command every time you boot the computer? Or does it stick? I only had to do that on my ancient 10.3 machine - every other box (12.3, 13.1 and 13.2) has it by default. It must be set on startup I suspect - on a new 13.2 installation system (i.e. just before I would run yast), I see:
==> /proc/sys/net/ipv6/conf/all/use_tempaddr <== 0
2
==> /proc/sys/net/ipv6/conf/default/use_tempaddr <== 0
2
==> /proc/sys/net/ipv6/conf/enp3s0f0/use_tempaddr <== 0
more /proc/sys/net/ipv6/conf/eth0/use_tempaddr 2
==> /proc/sys/net/ipv6/conf/lo/use_tempaddr <== -1
-1
So it's not a kernel default, it's set explicitly (presumably during start-up). I found this one:
/usr/lib/sysctl.d/50-default.conf
# enable IPv6 privacy (bnc#678066) net.ipv6.conf.default.use_tempaddr = 2
# enable IPv6 privacy (bnc#678066) net.ipv6.conf.default.use_tempaddr = 2 The above is after running that sysctl command. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org