Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Apr 2025 13:19:30 +0200
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        Marek Zarychta <zarychtam@plan-b.pwste.edu.pl>, FreeBSD Current <freebsd-current@freebsd.org>, net@FreeBSD.org
Subject:   Re: RFC: Implementation of RFC 7217 [A Method for Generating Semantically Opaque Interface Identifiers, with IPv6 Stateless Address Autoconfiguration (SLAAC)]
Message-ID:  <0a6709f8-275c-4c18-b195-1333a44fd1a7@FreeBSD.org>
In-Reply-To: <6e3dd061-f377-4f20-bcd1-f1a5afeaa36f@FreeBSD.org>
References:  <45b17684-75ef-4953-b59a-3c3b483ba21b@FreeBSD.org> <61dfdcac-4893-4c4b-b7e2-48164f1f0c80@plan-b.pwste.edu.pl> <1b9603d8-7128-4809-9926-048426db122e@FreeBSD.org> <1699210246.52160.1744195886991@localhost> <6e3dd061-f377-4f20-bcd1-f1a5afeaa36f@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 4/9/25 13:10, Guido Falsi wrote:
> On 4/9/25 12:51, Ronald Klop wrote:
>> Hi,
>>
>> Next to hostuuid you could add a jailname in the mix.
>>
>> That is what ether_gen_addr(9) does to make it easier to prevent 
>> collisions while copying jails around or run a jail on a readonly 
>> shared base filesystem.
> 
> The RFC is very clear on what should be used to derive the address, so 
> I'm not very keen on adding things around.
> 
> The UUID should be changed when copying jails that run in parallel, they 
> ARE different machines. although I am also at fault here.
> 
> But the jailname is the correct parameter? This would change the address 
> if the name is changed, which could be ok I guess.
> 
> I'd also add this parameter only if actually jailed, skipping it for the 
> host.
> 
> My real issue with this approach is, the RFC is quite detailed on hash 
> parameters. Will the implementation still be conforming if adding local 
> ones?
> 
> 

BTW, this is easy to add and also add conditionally on being jailed or 
not, I'd just like some consensus on this before adding, especially the 
RFC compliance issue.

-- 
Guido Falsi <madpilot@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0a6709f8-275c-4c18-b195-1333a44fd1a7>