lo: Disabled Privacy Extensions

Knute Johnson knute2009 at knutejohnson.com
Fri Dec 4 17:17:17 UTC 2009


Tom H wrote:
>>>> 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)
> 

Tom:

Thanks for the reply.  use_tempaddr is -1.  Since the error says that 
Privacy Extensions are turned off should I set it to 0 to get rid of the 
messages?  What will that do?

Thanks,

-- 

Knute Johnson
knute2009 at knutejohnson.com





More information about the ubuntu-users mailing list