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

Re: defaulting to net.ipv6.bindv6only=1 for squeeze



Am Samstag 26 Dezember 2009 03:43:08 schrieb Kurt Roeckx:
> On Wed, Dec 23, 2009 at 12:47:45PM +0100, Hendrik Sattler wrote:
> > I have failures now with a client that cannot connect() to the IPv4
> > address but get an ENETUNREACH instead.
> > The application DOES set this socket option:
> > socket(PF_INET6, SOCK_STREAM, IPPROTO_IP) = 3
> > setsockopt(3, SOL_IPV6, IPV6_V6ONLY, [0], 4) = 0
> > bind(3, {sa_family=AF_INET6,....) = 0
> > listen(3, ....) = 0
> 
> Does that mean your application only works if the kernel supports
> IPv6?

Why would you want to disable basic IPv6 support?

> In that case I think your application is broken.

No. Every software has requirements on the system. And this one requires basic 
IPv6 support because it's programmed that way. I don't see any problem with 
that. But you are free to have your own opinion.

HS


Reply to: