[php-maint] Bug#481317: Bug in Lighttpd

Jeroen Massar jeroen at unfix.org
Mon Aug 17 22:32:59 UTC 2009


Lighttpd doesn't properly support IPv6, it just listens on AF_INET6 and
accepts both IPv4 and IPv6 on it. Instead it should be listening
seperately on IPv4 and IPv6, then it would get IPv4 connections as
192.0.2.42 and IPv6 as 2001:db8::1 instead of the mapped addresses.

Short-term solution for Lighttpd:
 1) configure both an IPv4 and IPv6 socket
 2) fix the thing to strip the ::ffff: from the address when it is a
    mapped prefix.

That ::ffff:x.x.x.x is used in a data structure, fine, but it should
never be shown to the user.

Greets,
 Jeroen


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20090818/c7838d2b/attachment.pgp>


More information about the pkg-php-maint mailing list