NetBSD-Bugs archive

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

lib/52382: Sockets that only listen on inet6 domain



>Number:         52382
>Category:       lib
>Synopsis:       Sockets that only listen on inet6 domain
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 09 13:40:00 +0000 2017
>Originator:     BERTRAND Joël
>Release:        8.0 BETA
>Organization:
>Environment:
NetBSD legendre.systella.fr 8.0_BETA NetBSD 8.0_BETA (CUSTOM) #4: Fri Jul  7 22:39:32 CEST 2017  root%legendre.systella.fr@localhost:/usr/src/netbsd-8/obj/sys/arch/amd64/compile/CUSTOM amd64
>Description:
Hello,

I'm upgrading a test server from NetBSD 7.0.2 to 8.0_BETA. I have built 8.0 from sources for amd64 last friday.

Two daemons (built from pkgsrc) refuse to work as expected:
- squid always returns "document contains no data". I have deleted and recreated an empty cache volume without any result. My server doesn't send any http packets on its WAN interface;
- mysql that runs fine when I connect to this database server from localhost.

Netstat returns for mysql :
legendre# netstat -a -f inet | grep mysql
legendre# netstat -a -f inet6 | grep mysql
tcp6       0      0  *.mysql                *.*                    LISTEN
legendre#

If I force http_port 192.168.10.128:3128 (instead of http_port 3128) in squid.conf, squid works as expected in ipv4 (but only in IPv4). Same constatation with mysqld.

legendre# fstat | grep squid | grep intern
squid    pinger      1459    0* internet6 dgram udp localhost:63206 <-> localhost:63207
squid    pinger      1459    1* internet6 dgram udp localhost:63206 <-> localhost:63207
squid    pinger      1459    3* internet raw icmp fffffe841b1dd2e8
squid    pinger      1459    4* internet6 raw icmp6 fffffe8411ba4480
squid    squid      19452    9* internet6 dgram udp *:63208
squid    squid      19452   10* internet dgram udp *:54131
squid    squid      19452   19* internet stream tcp 192.168.10.128:ndl-aas
squid    squid      19452   21* internet6 dgram udp localhost:63207 <-> localhost:63206

    Best regards,

    JB
>How-To-Repeat:

>Fix:
Force IP address in configuration.



Home | Main Index | Thread Index | Old Index