lo: Disabled Privacy Extensions

Tom H tomh0665 at gmail.com
Fri Dec 4 16:49:59 UTC 2009


>>> I'm getting a recurring kernel error about every 30 seconds to a minute.
>>>   This is from logwatch but the kernel and messages logs are similar.
>>> 1 Time(s): [ 9503.788362] lo: Disabled Privacy Extensions
>>> 1998 Time(s): lo: Disabled Privacy Extensions

>> I've got no ideas how to prevent the messages, but I wouldn't worry about it
>> (except that that's on the order of 2000 extra lines of logging every day) -
>> it's the loopback (127.0.0.1) interface and really can't use and doesn't
>> need "Privacy Extensions".

> Any idea where Privacy Extensions are configured?

It is a kernel config - IPV6_PRIVACY - and it is set to "y" in KK so
you would have to recompile your kernel in order to set it to "n" or
"m".

The corresponding proc entry is
/proc/sys/net/ipv6/conf/lo/use_tempaddr

and when I "sysctl" or "cat" mine, it returns "-1". (And it is 0 for wlan0.)

You could sysctl yours to "-1" if it isn't and it might stop the
"Privacy" messages. (And if it isn't set to "-1" for KK server
edition, you might want to file a bug report.)

The values that use_tempaddr can take are

<= 0 disable Privacy Extensions

== 1 enable Privacy Extensions, but prefer public addresses over
temporary addresses

> 1 enable Privacy Extensions and prefer temporary addresses over public addresses

Default 0 (for most devices)

Default -1 (for point-to-point devices and loopback devices)




More information about the ubuntu-users mailing list