Re: Is "--lastleaseextend -p" expected to work for IPv6 as well?
Shahid Mahmood
Sun Dec 18 18:05:51 2016
On 13/12/2016 5:18 PM, Roy Marples wrote:
On 13/12/16 20:46, Roy Marples wrote:
On 12/12/16 00:19, Shahid Mahmood wrote:
So is it possible to port this for ipv6 as well? (in near future). I
will test it :)
Define near future? :)
This year? Maybe. 1st month next year? Quite likely.
Thanks again! Any time frame convenient for you aligning with your next
major release, 2 to 4 months, would be feasible for us.
Just to clarify, the DHCPv6 part has no last lease functionality at all.
It's also more tricky because there is no ND DaD handling directly in
dhcpcd - instead we listen to the kernel address flag changes (ie kernel
handling DaD) and I can tell you that all kernels don't track DaD after
the address is up and running to the best of my knowledge. NetBSD does,
but for IPv4 only as that has a clear address defence defined in RFC 5227.
Also, DHCPv6 is entirely dependent on a working prefix from the router
(which we don't store anywhere). Now DHCPv6 leases are generally shorter
or the same time than the prefix, but this is configuration dependant.
So this won't be do-able in the short term.
Probably never because it's a lot of work and code which breaks RFC's
and so far only you want the feature.
Understood. We are trying to find a way for our device to somehow 'keep
going' in case the dhcpv6 server fails (same as in v4 case).
But only if it is technically feasible and is not too much work.
Otherwise we can try to figure out some other alternatives.
Roy
-shahid
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
Archive administrator: postmaster@marples.name