Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2025 01:47:19 +0100
From:      Jamie Landeg-Jones <jamie@catflap.org>
To:        freebsd-net@FreeBSD.org, cross+freebsd@distal.com
Subject:   Re: RFC4941 IPv6 privacy knobs and how to set them
Message-ID:  <202504020047.5320lJaL093323@donotpassgo.dyslexicfish.net>
In-Reply-To: <EB360A00-2CFB-439F-918E-1C7450BB9BB6@distal.com>
References:  <EB360A00-2CFB-439F-918E-1C7450BB9BB6@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Ross <cross+freebsd@distal.com> wrote:

> Is there documentation about what these variables mean, and if “2” is
> a useful value different than “1”?  If so, how are they different?

Hi, Chris. From: /usr/share/doc/IPv6/IMPLEMENTATION :

 | As documented in the source address selection document, temporary
 | addresses for privacy extension are less preferred to public addresses
 | by default.  However, for administrators who are particularly aware of
 | the privacy, there is a system-wide sysctl(3) variable
 | "net.inet6.ip6.prefer_tempaddr".  When the variable is set to
 | non-zero, the kernel will rather prefer temporary addresses.  The
 | default value of this variable is 0.

Additionally, the files in /usr/src/sys/netinet6/ treat the value as
a boolean, so it appears that in this case, 2 isn't twice as private
as 1 :-)

Cheers, Jamie




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202504020047.5320lJaL093323>