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

Re: IPv6, tentative addresses, bind(), wheezy



On Sun, Nov 04, 2012 at 06:26:26PM +0100, martin f krafft wrote:
> also sprach Marc Haber <mh+debian-devel@zugschlus.de> [2012.11.04.1013 +0100]:
> > >Maybe for the time being it will be easier and safer to have ifupdown 
> > >wait until DAD is finished?

> > How does one find out about that?

> % ip -6 addr show dev eth0 | grep "2001:db8::deb1:46.* tentative"
>     inet6 2001:db8::deb1:46/64 scope global tentative

> Once DAD completes, the "tentative" goes away.

> Programatically, I think that's checking the return of
> getifaddrs(3), ifa_flags, for IFA_F_TENTATIVE.

Is there a way to get an event-based notification of this change, so
ifupdown can listen for such an event rather than having to poll?

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Attachment: signature.asc
Description: Digital signature


Reply to: