Subject: Re: pkg/17672: wwwoffle-2.7b expects IPv4-mapped IPv6 address support
To: Frederick Bruckman <firstname.lastname@example.org>
From: Johnny C. Lam <email@example.com>
Date: 08/05/2002 14:32:30
On Mon, Jul 22, 2002 at 12:18:30AM -0500, Frederick Bruckman wrote:
> In article <200207212211.g6LMBJX08052@dixie.nag.notwork.org>,
> firstname.lastname@example.org writes:
> > wwwoffle-2.7b does not bind 0.0.0.0 if bind-ipv6 is 0:0:0:0:0:0:0:0,
> > expecting it accepts IPv4 connections with IPv4-mapped IPv6 address.
> > Now NetBSD does not allow IPv4-mapped IPv6 address connections,
> > so IPv4 clients can't connect to wwwoffled.
> > Set bind-ipv4 = 0.0.0.0 and bind-ipv6 = :: in wwwoffle.conf.
> As a work-around, you can set the "net.inet6.ip6.bindv6only" sysctl
> to "0". I don't know why that's not the default in NetBSD -- I don't
> see a downside.
Apache has the same problem as described in this PR. If you have INET6
in your kernel, then Apache will only bind to the IPv6 addresses and not
the IPv4 ones. The workaround with Apache is you can explicitly specify
binding to 0.0.0.0:80 in the config file, but it'd be nice to not need
-- Johnny Lam <email@example.com>