[Pkg-utopia-maintainers] Bug#850620: Bug#850620: Bug#850620: [network-manager] does not update lifetime of temporary ipv6 addresses anymore, resulting in connection breakage

Luca Boccassi luca.boccassi at gmail.com
Mon Jul 29 22:21:58 BST 2019


Control: reopen -1 !
Control: found -1 1.14.6-2

On Tue, 7 Feb 2017 23:31:06 +0100 Michael Biebl <
biebl at debian.org
> wrote:
> Version: 1.6.0-1
> 
> Am 25.01.2017 um 20:43 schrieb Maximilian Engelhardt:
> > I can confirm this is fixed by the upstream patch.
> 
> Thanks for testing!
> 
> > It would be great to get this fixed for stretch. In my test I just
had to 
> > backport the upstream fix.
> 
> This patch is part of 1.6.0, so closing accordingly.
> 
> Regards,
> Michael

Hi,

I am hitting this on my laptop running buster. It's pretty much as
reported, the mngtmpaddr gets its lifetime updated when a RA is
received, but the temporary addresses do not, so random connections
break every 10 minutes.

Is anyone else experiencing this? Is it possible that it regressed,
since it was fixed upstream long ago?

$ ip addr show dev enx0050b6b7bd60 | grep -A1 <mngtmpaddr>
    inet6 <mngtmpaddr>/64 scope global dynamic mngtmpaddr noprefixroute 
       valid_lft 594sec preferred_lft 594sec
$ ip addr show dev enx0050b6b7bd60 | grep -A1 <prefix>:9554:71a7:3057:5969
    inet6 <prefix>:9554:71a7:3057:5969/64 scope global temporary dynamic 
       valid_lft 93sec preferred_lft 93sec

As a workaround without breaking privacy, enabling RFC7217 (address
randomly generated per-LAN) works as an alternative by setting:

ipv6.ip6-privacy 0
ipv6.addr-gen-mode stable-privacy

Here's a (sanitized) debug log output when a RA arrives:

Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0703] ndisc-lndp[0x55cadac8e440,"enx0050b6b7bd60"]: received router advertisement at 105126
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0704] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]: scheduling next now/lifetime check: 600 seconds
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0704] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]: neighbor discovery configuration changed [GARS]:
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0704] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   dhcp-level otherconf
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0705] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   gateway <router ll> pref medium exp 599.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0705] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   address <mngtmpaddr> exp 599.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0705] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   address <ula addr> exp 7127.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0706] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   route fd00:0:0:1::/64 via :: pref medium exp 7127.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0706] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   route <prefix>::/64 via :: pref medium exp 599.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0706] ndisc[0x55cadac8e440,"enx0050b6b7bd60"]:   dns_server <prefix>::1 exp 7199.1357
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0707] device[0x55cadac7b750] (enx0050b6b7bd60): activation-stage: schedule activate_stage5_ip6_config_commit,v6 (id 51370)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0708] device[0x55cadac7b750] (enx0050b6b7bd60): activation-stage: invoke activate_stage5_ip6_config_commit,v6 (id 51370)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0714] device[0x55cadac7b750] (enx0050b6b7bd60): ip6-config: update (commit=1, new-config=0x55cadacc88d0)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0716] platform: address: adding or updating IPv6 address: <laptop ll>/64 lft forever pref forever lifetime 105126-0[4294967295,4294967295] dev 4 flags permanent,noprefixroute src unknown
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0719] platform-linux: do-add-ip6-address[4: <laptop ll>]: success
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0719] platform: address: adding or updating IPv6 address: <mngtmpaddr>/64 lft 600sec pref 600sec lifetime 105126-0[600,600] dev 4 flags mngtmpaddr,noprefixroute src unknown
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0722] platform: signal: address 6 changed: <mngtmpaddr>/64 lft 600sec pref 600sec lifetime 105126-105126[600,600] dev 4 flags mngtmpaddr,noprefixroute src kernel
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0722] device[0x55cadac7b750] (enx0050b6b7bd60): queued IP6 config change
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0723] platform: signal: address 6 changed: <prefix>:b5c1:cabf:cc35:4873/64 lft 600sec pref 600sec lifetime 105126-105126[600,600] dev 4 flags secondary src kernel
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0724] platform-linux: do-add-ip6-address[4: <mngtmpaddr>]: success
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0724] platform: address: adding or updating IPv6 address: <ula addr>/64 lft 7128sec pref 7128sec lifetime 105126-0[7128,7128] dev 4 flags mngtmpaddr,noprefixroute src unknown
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0726] platform: signal: address 6 changed: <ula addr>/64 lft 7128sec pref 7128sec lifetime 105126-105126[7128,7128] dev 4 flags mngtmpaddr,noprefixroute src kernel
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0727] platform: signal: address 6 changed: fd00::1:b5c1:cabf:cc35:4873/64 lft 7128sec pref 7128sec lifetime 105126-105126[7128,7128] dev 4 flags secondary src kernel
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0728] platform-linux: do-add-ip6-address[4: <ula addr>]: success
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0790] device[0x55cadac7b750] (enx0050b6b7bd60): ip6-config: update IP Config instance (/org/freedesktop/NetworkManager/IP6Config/7)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0790] dns-mgr: (device_ip_config_changed): queueing DNS updates (1)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0791] dns-mgr: (device_ip_config_changed): DNS configuration did not change
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0791] dns-mgr: (device_ip_config_changed): no DNS changes to commit (0)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0793] device[0x55cadac7b750] (enx0050b6b7bd60): activation-stage: complete activate_stage5_ip6_config_commit,v6 (id 51370)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0804] device[0x55cadac7b750] (enx0050b6b7bd60): ip6-config: update (commit=0, new-config=0x55cadac27070)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0889] device[0x55cadac7b750] (enx0050b6b7bd60): ip6-config: update IP Config instance (/org/freedesktop/NetworkManager/IP6Config/7)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0890] dns-mgr: (device_ip_config_changed): queueing DNS updates (1)
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0891] dns-mgr: (device_ip_config_changed): DNS configuration did not change
Jul 29 21:31:07 bluca-lenovo NetworkManager[625]: <debug> [1564432267.0891] dns-mgr: (device_ip_config_changed): no DNS changes to commit (0)

-- 
Kind regards,
Luca Boccassi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-utopia-maintainers/attachments/20190729/7fd7fd90/attachment.sig>


More information about the Pkg-utopia-maintainers mailing list