Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] IPv6 privacy: how to enable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 245
Location: Bavaria

PostPosted: Sun Oct 03, 2021 8:11 pm    Post subject: [solved] IPv6 privacy: how to enable Reply with quote

Up to now I had IPv6 disabled by an entry in /etc/sysctl.conf:
net.ipv6.conf.eth0.disable_ipv6=1
Now I tried with IPv6 enabled, but I do not want to expose my unique MAC addresses in my global IPv6 address, so I put the follwing entries in my /etc/sysctl.conf in order to enably privacy extensions:
net.ipv6.conf.all.use_tempaddr=2
net.ipv6.conf.default.use_tempaddr=2
But this seems to have no effect. Even after a reboot I do not see any temporary IPv6 addresses (only the ones containing my MAC) using
Code:

ip -6 addr show dev eth0

and sites like
[url]
http://ip.bieringer.de/
[/url]
show only my IPv6 address containing the MAC of my eth interface

What am I missing?
Is there any configuration guide for gentoo for IPv6 pricvacy?


Last edited by tomtom69 on Mon Oct 04, 2021 8:15 am; edited 1 time in total
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4124
Location: Bavaria

PostPosted: Sun Oct 03, 2021 11:34 pm    Post subject: Reply with quote

1. Read this: https://wiki.archlinux.org/title/IPv6

I quote from there:
Quote:
The all.use_tempaddr or default.use_tempaddr parameters are not applied to nic's that already exist when the sysctl settings are executed.

-> You have to set it also to your NIC !

2. Do you use networkmanager ?
If yes, networkmanager can overwrite existing settings; read this: https://wiki.ubuntuusers.de/IPv6/Privacy_Extensions/ (I didnt know an english article about it; should be no problem for you)
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 245
Location: Bavaria

PostPosted: Mon Oct 04, 2021 8:15 am    Post subject: Reply with quote

Thank you for pointing this out.
I now set my NIC also to use_tempaddr and now it works as expected :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum