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

Bug#595779: unblock: cvsd/1.0.20



On Wed, Sep  8, 2010 at 22:34:58 +0200, Arthur de Jong wrote:

> If getaddrinfo() returns an IPv6 address and an IPv4 address the bind()
> for the IPv4 address will fail unless IPV6_V6ONLY is set or the
> net.ipv6.bindv6only sysctl is set to 1.
> 
Argh, you're right.  I should have tested this, sorry.  Somehow I
thought the ipv6 bind() would still work if an ipv4 socket was bound to
the same port.

> Between lenny and squeeze getaddrinf() was changed to return the IPv4
> address first. Without IPV6_V6ONLY and the sysctl the second bind() will
> still fail.
> 
> Anyway, I've uploaded cvsd 1.0.21 to unstable that logs an error on any
> bind() failure and bails out.
> 
Thanks.

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: