Page 1 of 1

IPv6 privacy extensions - not working: reset every few seconds

Posted: Mon Sep 17, 2018 6:11 am
by chris42
Hi there,
On my system (Mint 19 Cinnamon) privacy extensions for IPv6 are activated and I successfully get a global temporary dynamic IPv6.

However this IPv6 does not change. The lifetime is being reset every few seconds back to 14399. Then counts down for a few seconds and gets reset.
Hence the IPv6 never expires and a new one is not created. Basically rendering the extensions useless.

Anyone experiencing the same? Any ideas how to debug or how to solve?

Thanks
Chris

EDIT: missed the "temporary" in the description... Which is quite important for the case ;-)

Re: IPv6 privacy extensions - not working: reset every few seconds

Posted: Mon Sep 17, 2018 6:33 am
by catweazel
chris42 wrote:
Mon Sep 17, 2018 6:11 am
Anyone experiencing the same? Any ideas how to debug or how to solve?
https://major.io/2016/04/17/enable-ipv6 ... rkmanager/

See if that helps.

Re: IPv6 privacy extensions - not working: reset every few seconds

Posted: Mon Sep 17, 2018 7:08 am
by chris42
Yes, was on that page already when trying to activate privacy extensions. For some reason my system is ignoring the sysctl configuration completely. I needed to set it in the network manager per connection. (This seems to be another bug?).

However the countdown for the addresses get reset. I figured it gets reset with every router advertisement.

Re: IPv6 privacy extensions - not working: reset every few seconds

Posted: Mon Sep 17, 2018 7:28 am
by chris42
I would guess this is a bug somewhere in the networking. The router advertisements for temporary addresses should be ignored and the lifetime just be counted down.

However what is the right module to report a bug to?

[Solved] Activiate IPv6 privacy extensions on Tara (also after upgrade)

Posted: Mon Sep 17, 2018 8:04 am
by chris42
Just a note, if you are trying to activate IPv6 privacy extensions under Tara (or you are coming from pre Ubuntu 17.04 versions).

As Ubuntu switched to nplan for configuration, there is a Bug https://bugs.launchpad.net/ubuntu/+sour ... ug/1750392, which ignores the sysctl settings.

You need to do the following:
1. sudo nano /etc/netplan/60-ipv6.yaml
2. add: ip6-privacy: true

Re: IPv6 privacy extensions - not working: reset every few seconds

Posted: Mon Sep 17, 2018 8:25 am
by chris42
Huh? What happened here?

So to clean that up: The "[Solved] Activiate IPv6 privacy extensions on Tara (also after upgrade)" post that just appeared here in the thread has only remotely to do with the topic here. I did this in an extra thread, not to confuse ppl.

It is an explanation on how to activate privacy extensions in the first place, as here in the thread already outdated information were posted.

The reset of lifetime for the IP however is separate of this.