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


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to