odhcpd icon indicating copy to clipboard operation
odhcpd copied to clipboard

DHCPv6: should add support for RFC9686 (SLAAC address registration)

Open Alphix opened this issue 2 months ago • 2 comments

RFC9686 allows SLAAC clients to register the address they picked with the DHCPv6 server, which has the potential of providing a much nicer IPv6 experience for users.

Google has indicated that they plan to roll out Android support "Over the next few months" (that was in September 2025).

Realistically, I don't think this will be 25.12 material though, since it'll require some changes to the DHCPv6 server which runs the risk of causing breakage, and we just branched 25.12.

Just leaving this as a placeholder here for now :)

Alphix avatar Dec 13 '25 13:12 Alphix

<schwarzenegger voice>get it iiiinnnnn nnooooooowwwwww</schwarzenegger voice>

This is why we have master. Let it hang out in master for a while before picks to branches.

I can have a crack at this one. It doesn't look too complex at first read.

systemcrash avatar Dec 13 '25 19:12 systemcrash

It doesn't look too complex at first read.

Heh, whenever I have to touch src/dhcpv6.c and src/dhcpv6-ia.c, I'm already scared, and there's lots of little details in RFC9686 that might require some (or lots of) rework (examples like "the ADDR-REG-INFORM message MUST be sent from the address being registered"; "MUST NOT contain the Server Identifier option and MUST contain exactly one IA Address option"; "MUST NOT send the ADDR-REG-INFORM message for addresses configured by DHCPv6"; "the server MUST discard if...the message includes an Option Request option"; "relays...MUST include the client's link-layer address in the relayed message using the Client Link-Layer Address option").

Alphix avatar Dec 13 '25 19:12 Alphix