Score:0

Can't disable Privacy Extensions for IPv6

kr flag

On a fresh Debian 12 install, I wish to disable Privacy Extention for IPv6, but the config get rewritten every time I reboot.

After doing the proper modification to /etc/sysctl.conf I'm getting the desired config:

# /sbin/sysctl -a | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.enp5s0.use_tempaddr = 0
net.ipv6.conf.lo.use_tempaddr = -1
net.ipv6.conf.wlo1.use_tempaddr = 0

But after reboot, I'm back with the initial configuration:

# /sbin/sysctl -a | grep use_tempaddr
net.ipv6.conf.all.use_tempaddr = 0
net.ipv6.conf.default.use_tempaddr = 0
net.ipv6.conf.enp5s0.use_tempaddr = 2
net.ipv6.conf.lo.use_tempaddr = -1
net.ipv6.conf.wlo1.use_tempaddr = 0

I've found suggestions that network-manager might be interfering, but disabling ipv6.ip6-privacy sticks after reboot and doesn't change anything.

Any idea on what could be rewriting my sysctl configuration ?

Mandark avatar
es flag
I'm using Debian 12 too but I don't have Privacy Extensions enabled by default. However my install is far from "fresh". Any chance it could be from `/etc/systemd/network*`?
mazieres avatar
kr flag
After some more grepping around, it seems I had edited the wrong interface with `nmcli` which was indeed the source of interference with `sysctl`. Editing `ipv6.ip6-privacy` for the right interface actually worked.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.