Subject: pkg/15570: apache-current httpd listens on IPv6 only
To: None <gnats-bugs@gnats.netbsd.org>
From: None <thorpej@shagadelic.org>
List: netbsd-bugs
Date: 02/10/2002 10:35:57
>Number:         15570
>Category:       pkg
>Synopsis:       apache-current httpd listens on IPv6 only
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 10 10:36:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Jason R Thorpe
>Release:        NetBSD 1.5ZA
>Organization:
Wasabi Systems, Inc.
>Environment:
	
	
System: NetBSD yeah-baby.shagadelic.org 1.5ZA NetBSD 1.5ZA (YEAH-BABY-XP) #0: Sun Feb 10 09:36:23 PST 2002 thorpej@yeah-baby.shagadelic.org:/u1/netbsd/src/sys/arch/i386/compile/YEAH-BABY-XP i386
Architecture: i386
Machine: i386
>Description:
	On a system that uses both IPv4 and IPv6, the apache-current
	httpd listens only on IPv6 addresses.

	My theory is that it is not using the info returned by
	getaddrinfo(3) properly, possibly listening only to the
	first addresses returned by the call (our getaddrinfo(3)
	returns IPv6 addresses before IPv4 addresses, so this
	would explain the behavior).

>How-To-Repeat:
	Install the apache-current package on a system that uses
	both IPv4 and IPv6.

>Fix:
	Not provided.
>Release-Note:
>Audit-Trail:
>Unformatted: