[opensuse] Enable "Privacy Extensions" in 13.1
This is something I've asked about before, but yet to receive a usable answer for. I'm running 13.1 and cannot find a way to enable the IPv6 random number address, when using the ifconfig method. It does work in NetworkManager. There is the info provided here: https://en.opensuse.org/SDB:Native_IPv6#Randomly_generated_host_part_of_IPv6... However, while it worked with earlier versions, it does not work with 13.1. The specified file /etc/sysconfig/network/ifsysctl doesn't even exist in 13.1, though the man page for it does. Is there any way to enable this in 13.1, without using the NetworkManager? Or is this a new "feature"? tnx jk -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
This is something I've asked about before, but yet to receive a usable answer for. I'm running 13.1 and cannot find a way to enable the IPv6 random number address, when using the ifconfig method. It does work in NetworkManager. There is the info provided here: https://en.opensuse.org/SDB:Native_IPv6#Randomly_generated_host_part_of_IPv6...
That page says it is the default, but that is clearly not the case.
However, while it worked with earlier versions, it does not work with 13.1. The specified file /etc/sysconfig/network/ifsysctl doesn't even exist in 13.1, though the man page for it does.
Is there any way to enable this in 13.1, without using the NetworkManager?
echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ : net.ipv6.conf.all.use_tempaddr=2 -- Per Jessen, Zürich (1.8°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/01/2015 01:54 PM, Per Jessen wrote:
Is there any way to enable this in 13.1, without using the
NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2
That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 02/01/2015 01:54 PM, Per Jessen wrote:
Is there any way to enable this in 13.1, without using the
NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2
That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer.
I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". -- Per Jessen, Zürich (1.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
James Knott wrote:
On 02/01/2015 01:54 PM, Per Jessen wrote:
Is there any way to enable this in 13.1, without using the
NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2
That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer.
I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w".
I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address. -- Per Jessen, Zürich (2.1°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/02/2015 03:51 AM, Per Jessen wrote:
I wouldn't expect any significant change on a reboot - amending
net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address.
I just tried shutting down the interface with ifconfig and restarting it again. No difference. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/02/2015 03:51 AM, Per Jessen wrote:
Per Jessen wrote:
James Knott wrote:
On 02/01/2015 01:54 PM, Per Jessen wrote:
Is there any way to enable this in 13.1, without using the
NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2 That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer. I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address.
I added that line to sysctl.conf on my firewall computer & rebooted it. Again no difference. The command doesn't work either. I still only get the MAC based address. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 02/02/2015 03:51 AM, Per Jessen wrote:
Per Jessen wrote:
James Knott wrote:
Is there any way to enable this in 13.1, without using the > NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2 That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens
On 02/01/2015 01:54 PM, Per Jessen wrote: the next time I reboot the computer. I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address.
I added that line to sysctl.conf on my firewall computer & rebooted it. Again no difference. The command doesn't work either. I still only get the MAC based address.
Weird. My laptop is running 12.3, I'll try it out on a 13.1/2 machine and see what happens. /Per -- Per Jessen, Zürich (-4.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
James Knott wrote:
On 02/02/2015 03:51 AM, Per Jessen wrote:
Per Jessen wrote:
James Knott wrote:
On 02/01/2015 01:54 PM, Per Jessen wrote:
> Is there any way to enable this in 13.1, without using the >> NetworkManager? echo 2 >/proc/sys/net/ipv6/conf/all/use_tempaddr
Amend /etc/sysctl.conf or drop a file into /etc/sysctl.d/ :
net.ipv6.conf.all.use_tempaddr=2 That command doesn't appear to have done anything. However, I have added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer. I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w". I just made this change on my laptop, then cycled the wlan interface up/down. Got me a random address.
I added that line to sysctl.conf on my firewall computer & rebooted it. Again no difference. The command doesn't work either. I still only get the MAC based address.
Weird. My laptop is running 12.3, I'll try it out on a 13.1/2 machine and see what happens.
On my laptop running openSUSE 12.3 plus updates: /proc/sys/net/ipv6/conf/*/use_tempaddr = 0 (except conf/lo/use_tempaddr) A desktop running openSUSE 13.1 plus updates: /proc/sys/net/ipv6/conf/all/use_tempaddr = 0 /proc/sys/net/ipv6/conf/default/use_tempaddr = 2 /proc/sys/net/ipv6/conf/enp0s25/use_tempaddr = 2 /proc/sys/net/ipv6/conf/lo/use_tempaddr = -1 Same for another desktop with 13.2. My laptop does see more experimentation than the other two, I may well have been fiddling with use_tempaddr before. On the desktop with 13.2: 2: enp0s25: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 00:19:99:4e:1e:d6 brd ff:ff:ff:ff:ff:ff inet 192.168.3.31/21 brd 192.168.7.255 scope global enp0s25 valid_lft forever preferred_lft forever inet6 2001:8e0:2010:1ff:1ca1:f68b:1a1c:d3ec/64 scope global temporary dynamic valid_lft 86278sec preferred_lft 14278sec inet6 2001:8e0:2010:1ff:219:99ff:fe4e:1ed6/64 scope global mngtmpaddr dynamic valid_lft 86278sec preferred_lft 14278sec inet6 fe80::219:99ff:fe4e:1ed6/64 scope link valid_lft forever preferred_lft forever -- Per Jessen, Zürich (-2.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/03/2015 03:40 AM, Per Jessen wrote:
A desktop running openSUSE 13.1 plus updates:
/proc/sys/net/ipv6/conf/all/use_tempaddr = 0 /proc/sys/net/ipv6/conf/default/use_tempaddr = 2 /proc/sys/net/ipv6/conf/enp0s25/use_tempaddr = 2 /proc/sys/net/ipv6/conf/lo/use_tempaddr = -1
The only difference is the interface, your enp0s25, my eth0 was 0. However, changing it to 2 makes no difference. Don't you just love the way the devs "improve" something until they break it? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 02/03/2015 03:40 AM, Per Jessen wrote:
A desktop running openSUSE 13.1 plus updates:
/proc/sys/net/ipv6/conf/all/use_tempaddr = 0 /proc/sys/net/ipv6/conf/default/use_tempaddr = 2 /proc/sys/net/ipv6/conf/enp0s25/use_tempaddr = 2 /proc/sys/net/ipv6/conf/lo/use_tempaddr = -1
The only difference is the interface, your enp0s25, my eth0 was 0. However, changing it to 2 makes no difference.
Don't you just love the way the devs "improve" something until they break it?
Yup. Any chance you're on some in-between kernel? It's pretty weird that it works for me, but not for you. -- Per Jessen, Zürich (-0.8°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/03/2015 01:58 PM, Per Jessen wrote:
Don't you just love the way the devs "improve" something until they
break it?
Yup. Any chance you're on some in-between kernel? It's pretty weird that it works for me, but not for you.
I have kernel-desktop-3.11.10-25.1.x86_64. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/03/2015 02:07 PM, James Knott wrote:
On 02/03/2015 01:58 PM, Per Jessen wrote:
Don't you just love the way the devs "improve" something until they
break it?
Yup. Any chance you're on some in-between kernel? It's pretty weird that it works for me, but not for you.
I have kernel-desktop-3.11.10-25.1.x86_64.
I also experienced this with my previous mom board, also running 13.x -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Knott wrote:
On 02/03/2015 02:07 PM, James Knott wrote:
On 02/03/2015 01:58 PM, Per Jessen wrote:
Don't you just love the way the devs "improve" something until they
break it?
Yup. Any chance you're on some in-between kernel? It's pretty weird that it works for me, but not for you.
I have kernel-desktop-3.11.10-25.1.x86_64.
I also experienced this with my previous mom board, also running 13.x
On 13.2 I have 3.16.7-7-default On 13.1 I have 3.11.10-21-desktop I can't think of what else to look at. There must be something that prevents it from working on yours. -- Per Jessen, Zürich (-2.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/04/2015 01:37 AM, Per Jessen wrote:
I also experienced this with my previous mom board, also running 13.x
On 13.2 I have 3.16.7-7-default On 13.1 I have 3.11.10-21-desktop
I can't think of what else to look at. There must be something that prevents it from working on yours.
I've files a bug report. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/03/2015 02:21 AM, Per Jessen wrote:
I added that line to sysctl.conf on my firewall computer & rebooted
it. Again no difference. The command doesn't work either. I still only get the MAC based address. Weird. My laptop is running 12.3, I'll try it out on a 13.1/2 machine and see what happens.
As I mentioned earlier, it worked for me on prior to 13. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 02/02/2015 03:38 AM, Per Jessen wrote:
That command doesn't appear to have done anything. However, I have
added that line to sysctl.conf, so I'll have to see what happens the next time I reboot the computer. I wouldn't expect any significant change on a reboot - amending net.ipv6.conf.all.use_tempaddr should take immediate effect. You can also alter it using "sysctl -w".
Still no random number address. I even restarted networking after issuing that command. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
James Knott
-
Per Jessen