NetBSD-Bugs archive

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

Re: lib/52382: Sockets that only listen on inet6 domain

Robert Elz a écrit :
The following reply was made to PR lib/52382; it has been noted by GNATS.

From: Robert Elz <kre%munnari.OZ.AU@localhost>
To: Joerg Sonnenberger <>
Subject: Re: lib/52382: Sockets that only listen on inet6 domain
Date: Mon, 10 Jul 2017 00:36:40 +0700

     Date:        Sun, 9 Jul 2017 19:10:35 +0200
     From:        Joerg Sonnenberger <>
     Message-ID:  <>

   =7C A program that really wants to use the same socket for both *must*
   =7C set ipv6only to 0 via the appropiate setsockopt call.

 Either that or:
 	sysctl -w net.inet6.ip6.v6only=3D0

 which it is possible that Joel has in NetBSD 7 but not in NetBSD 6

 But Joerg is correct, this has never been the NetBSD default.


I have net.inet6.ip6.v6only = 1 in my system. But I'm sure that I have not manually set this parameter.

That being said, both squid ans mysql worked fine with -6, -7 and don't with -8 with default configuration.

I don't know if with -6 and -7 these daemons listen on both IPv4 and IPv6, but they listen at least on IPv4.



Home | Main Index | Thread Index | Old Index