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



The following reply was made to PR lib/52382; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg%bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
	netbsd-bugs%netbsd.org@localhost, joel.bertrand%systella.fr@localhost
Subject: Re: lib/52382: Sockets that only listen on inet6 domain
Date: Sun, 9 Jul 2017 19:10:35 +0200

 On Sun, Jul 09, 2017 at 02:55:00PM +0000, BERTRAND Joël wrote:
 >  For example, if you start mysqld without bind_address statement in 
 >  my.cnf, mysqld should listen all interfaces in IPv4 and IPv6. With 8.0 
 >  BETA, daemon only listen on IPv6.
 
 I have no idea what MySQL is doing. I'm just telling you that a default
 inet6 wildcard socket on any BSD does *not* use mapped IPv4 and
 therefore will *not* listen to IPv4. That is intentional and *not* a
 bug. A program that really wants to use the same socket for both *must*
 set ipv6only to 0 via the appropiate setsockopt call.
 
 Joerg
 


Home | Main Index | Thread Index | Old Index