It seems reasonable to not listen on IPv6 if no v6 address is
configured. Unfortunately, Apache (or rather APR) does this by using
getaddrinfo's AI_ADDRCONFIG flag. And glibc seems to ignore IPv6
addresses of scope host (i.e. ::1) when deciding if an v6 address is
configured. For me, the default fe80::* address of scope link that is
configured on eth0 is enough to make getaddrinfo return v6 addresses. If
I delete that address, getaddressinfo returns only the v4 address.

So, this looks more like a problem of eglibc than apache/APR to me.

-- 
apache2 does not listen on ipv6 at all when there is no routable IPv6 address
https://bugs.launchpad.net/bugs/633981
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to