Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IPv6 temporary addresses RFC 3041



>
> Did you mean net.inet6.ip6.prefer_tempaddr?
>
That I do see that setting and changing from 0 to 1 doesn't seem to enable
temp address creation.

BTW, I think I meant RFC4941 (Privacy Extensions...). Of course only after
I sent email, I was better able to refine grep of source and came across
this in ./src/external/bsd/dhcpcd/dist/src/ipv6nd.c:

#ifdef IPV6_MANAGETEMPADDR
            /* RFC4941 Section 3.3.3 */
            if (ia->flags & IPV6_AF_AUTOCONF &&
                ia->iface->options->options & DHCPCD_SLAACTEMP &&
                IA6_CANAUTOCONF(ia))
            {
                if (!new_ia) {
                    if (ipv6_settemptime(ia, 1) == NULL)
                        new_ia = true;
                }
                if (new_ia && ia->prefix_pltime) {
                    if (ipv6_createtempaddr(ia,
                        &ia->acquired) == NULL)
                        logerr("ipv6_createtempaddr");
                }
            }
#endif

When I get a chance to compile a kernel I'll give it a try.

Thanks - Joel



Home | Main Index | Thread Index | Old Index