LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Lighttpd not working over ipv6 (https://www.linuxquestions.org/questions/linux-server-73/lighttpd-not-working-over-ipv6-658082/)

AlucardZero 07-24-2008 06:18 PM

Lighttpd not working over ipv6
 
I am now playing with ipv6, but I am having trouble getting Lighty to
properly answer requests.

Lighty is listening on ipv6:
Code:

# netstat -anp | grep light
tcp6      0      0 :::80                  :::*
LISTEN    4466/lighttpd

It's enabled in the conf:
Code:

server.use-ipv6            = "enable"
It is using it:
Go to http://kiserai.net/server-status (over ipv4), your client IP
begins with ::ffff:

It is accepting connections and returning errors:

Code:

otherhost$ telnet karrde6.kiserai.net 80
Trying 2001:470:1f06:6a4::2...
Connected to karrde6.kiserai.net.
Escape character is '^]'.
GET /testing HTTP/1.0

HTTP/1.0 404 Not Found
[snip]
<?xml version="1.0" encoding="iso-8859-1"?>
[snip]
</html>
Connection closed by foreign host.

It's getting hit via ipv6:
Code:

2001:470:1f06:6aa::2 kiserai.net - [24/Jul/2008:19:16:24 -0400] "GET / HTTP/1.1" 200 3332 "-" "-"
But it's not returning pages that exist:

Code:

otherhost $ telnet karrde6.kiserai.net 80
Trying 2001:470:1f06:6a4::2...
Connected to karrde6.kiserai.net.
Escape character is '^]'.
GET / HTTP/1.1
Host: kiserai.net




Connection closed by foreign host.


If you can do ipv6, try http://karrde6.kiserai.net/server-status .

Has anyone gotton Lighttpd working in an ipv6 environment? I am running 1.4.13 on Debian, and I have tried 1.4.19.


All times are GMT -5. The time now is 12:48 PM.