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

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



On Sat, 2012-11-03 at 19:35 +0100, Vincent Bernat wrote:
> ❦  3 novembre 2012 15:15 CET, Ben Hutchings <ben@decadent.org.uk> :
> 
> >> I can now disable DAD, or insert "sleep 10" at the top of
> >> /etc/init.d/unbound, but neither is an acceptable solution.
> >> 
> >> IPv6 has been a release goal for years and we are about to release
> >> another Debian version that does not properly cater for IPv6.
> >> 
> >> What can be done?
> >
> > 	int one = 1;
> > 	setsockopt(sock, IPPROTO_IP, IP_FREEBIND, &one, sizeof(one));
> > 	bind(sock, ...);
> >
> > Or we set the net.ipv4.ip_nonlocal_bind sysctl globally, but this is
> > probably not a good idea.  (Note that 'v4' there is not a typo; this
> > would actually affect both v4 and v6.)
> 
> Are you sure?
[...]

No, you're right.  I wrongly assumed this covered both versions like
many other sysctls in this group.

Ben.

-- 
Ben Hutchings
I'm always amazed by the number of people who take up solipsism because
they heard someone else explain it. - E*Borg on alt.fan.pratchett

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: