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

Bug#391280: apache2-mpm-prefork: doesn't bind to IPv4 socket when IPv6 enabled



On Friday 14 March 2008, Michael Mende wrote:
> From apache docs [1]:
>
> "On the other hand, on some platforms such as Linux and Tru64 the
> only way to handle both IPv6 and IPv4 is to use mapped addresses."
> Mapping is default on Linux (in contrary to FreeBSD, NetBSD, and
> OpenBSD).

I think the problem here is that for Apache, enable/disable-v4-mapped 
is a compile-time option, but for linux the behaviour can be changed 
at runtime by writing to /proc/sys/net/ipv6/bindv6only. Supporting 
both variants without recompiling apache looks like a valid feature 
request. It is possible that apache upstream is not aware of 
the /proc interface.

Maybe we should put a hint in README.Debian that our apache supports 
only net.ipv6.bindv6only = 0 at the moment.



Reply to: