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

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.


Home | Main Index | Thread Index | Old Index