No IPv6 and "IPv6 duplicate address" with IPv6 privacy extensions on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
Short:
I get no public IPv6 address and "IPv6 duplicate address" in dmesg with IPv6 privacy extensions on.
Disabling DAD does not solve it.
Disabling privacy extension with "net.ipv6.
This is a bug; privacy extensions should not disable IPv6.
FWIW: on the same LAN, both Windows 7 and Android 4.x do get a public IPv6. For Windows 7, I'm sure it's IPv6 address with privacy extension.
Long:
Since some time I did not get a public IPv6 address anymore (provided natively by my ISP). Some lines from dmesg:
[51849.455380] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[52038.685221] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[52208.691846] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[52393.831468] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[52546.966404] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[52713.804952] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
I tried to disabled duplicate detection like below, but that didn't work:
sander@R540:~$ sudo sysctl net.ipv6.
net.ipv6.
sander@R540:~$ sudo sysctl net.ipv6.
net.ipv6.
I got this in dmesg:
[58037.095963] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[58037.519619] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[58038.424991] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[58039.141499] IPv6: wlan0: IPv6 duplicate address 2a00:cd8:
[58039.141507] IPv6: ipv6_create_
It seemed that after a fresh boot, there was a public IPv6 for a few seconds, which then disappeared.
"rdisc6 wlan0" shows a correct function advertisement.
Somewhere in the trial-and-error process, I also got:
[14790.090074] ICMPv6: NA: someone advertises our address 2a00:0cd8:
[14790.090228] ICMPv6: NA: someone advertises our address 2a00:0cd8:
I finally fell back to this workaround:
Disabling privacy extension with "net.ipv6.
See more info here: http://
FWIW: My modem is a Zyxel P-2812HNU-F1 with firmware V3.11(TUE.
- rdisc6 works
- MAC based IPv6 works
- other devices work
As I'm now forced to use my MAC based IPv6 address, which means less privacy and thus less security, I'll mark this also as a security related bug.
ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-
ProcVersionSign
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA:
country NL:
(2402 - 2482 @ 40), (N/A, 20)
(5170 - 5250 @ 40), (N/A, 20), NO-OUTDOOR
(5250 - 5330 @ 40), (N/A, 20), NO-OUTDOOR, DFS
(5490 - 5710 @ 40), (N/A, 27), DFS
Date: Sat Feb 9 22:08:08 2013
HibernationDevice: RESUME=
InstallationDate: Installed on 2012-06-27 (227 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MachineType: SAMSUNG ELECTRONICS CO., LTD. R530/R730/R540
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
linux-
linux-
linux-firmware 1.95
SourcePackage: linux
UpgradeStatus: Upgraded to quantal on 2012-10-19 (113 days ago)
dmi.bios.date: 06/21/2010
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 08JV.M029.
dmi.board.
dmi.board.name: R530/R730/R540
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: R530/R730/R540
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
PS:
I also checked my netbook with Ubuntu 11.10, and it showed the same problem. It might be I have turned on privacy extensions on that device. conf.all. use_tempaddr= 0 (instead of -1) also gives a workaround, but it takes about 5 minutes before wlan0 gets a public IPv6 address
I also ran a fresh Ubuntu 12.10 from a USB stick, and it showed the same problem
net.ipv6.