Public bug reported:

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.conf.all.use_tempaddr=-1" in 
/etc/sysctl.conf, works as a workaround: I get the public IPv6 address based on 
my MAC address.

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:blabla:1af4:6aff:fe9c:ced4 detected!
[52038.685221] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!
[52208.691846] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!
[52393.831468] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!
[52546.966404] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!
[52713.804952] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!

I tried to disabled duplicate detection like below, but that didn't
work:

sander@R540:~$ sudo sysctl net.ipv6.conf.eth0.accept_dad
net.ipv6.conf.eth0.accept_dad = 1

sander@R540:~$ sudo sysctl net.ipv6.conf.eth0.accept_dad=0
net.ipv6.conf.eth0.accept_dad = 0

I got this in dmesg:

[58037.095963] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:1af4:6aff:fe9c:ced4 detected!
[58037.519619] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:cdb:467c:e1e6:7532 detected!
[58038.424991] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:58eb:c65e:25e:b3c7 detected!
[58039.141499] IPv6: wlan0: IPv6 duplicate address 
2a00:cd8:blabla:a413:1a:2614:e16a detected!
[58039.141507] IPv6: ipv6_create_tempaddr: regeneration time exceeded - 
disabled temporary address support

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:blabla:1182:7070:8ebf:4fe1 on wlan0!
[14790.090228] ICMPv6: NA: someone advertises our address 
2a00:0cd8:blabla:1af4:6aff:fe9c:ced4 on wlan0!

I finally fell back to this workaround:
Disabling privacy extension with "net.ipv6.conf.all.use_tempaddr=-1" in 
/etc/sysctl.conf, works as a workaround: I get the public IPv6 address based on 
my MAC address.

See more info here: http://ubuntuforums.org/showthread.php?p=12501110

FWIW: My modem is a Zyxel P-2812HNU-F1 with firmware V3.11(TUE.5)-2_20121211. I 
don't think this bug is related to the modem, as:
- 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-3.5.0-21-generic 3.5.0-21.32
ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
Uname: Linux 3.5.0-21-generic x86_64
ApportVersion: 2.6.1-0ubuntu10
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  sander     2644 F.... pulseaudio
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=UUID=56ea62f2-0b4c-4dc9-9f41-b3423fccfa31
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_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-21-generic 
root=UUID=97828b35-0e7b-4cf2-9854-ae33c942d4bd ro quiet splash
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-21-generic N/A
 linux-backports-modules-3.5.0-21-generic  N/A
 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.20100621.hkk
dmi.board.asset.tag: Tag 12345
dmi.board.name: R530/R730/R540
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: Not Applicable
dmi.chassis.asset.tag: No Asset Tag
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.version: N/A
dmi.modalias: 
dmi:bvnPhoenixTechnologiesLtd.:bvr08JV.M029.20100621.hkk:bd06/21/2010:svnSAMSUNGELECTRONICSCO.,LTD.:pnR530/R730/R540:pvrNotApplicable:rvnSAMSUNGELECTRONICSCO.,LTD.:rnR530/R730/R540:rvrNotApplicable:cvnSAMSUNGELECTRONICSCO.,LTD.:ct9:cvrN/A:
dmi.product.name: R530/R730/R540
dmi.product.version: Not Applicable
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: amd64 apport-bug quantal running-unity

** Information type changed from Private Security to Public

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1120617

Title:
  No IPv6 and "IPv6 duplicate address" with IPv6 privacy extensions on

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1120617/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to