[pkg-lighttpd] Bug#642604: lighttpd always binds to IPv6 on TCP port 80

Adam Nielsen a.nielsen at shikadi.net
Sat Sep 24 11:29:49 UTC 2011


Package: lighttpd
Version: 1.4.28-2

lighttpd ships with a line in the default config which calls 
"/usr/share/lighttpd/use-ipv6.pl", the idea being to bind to port 80 on any 
IPv6 interface, if present.

Unfortunately this has two drawbacks:

  1) You are forced to have IPv6 on, even when "server.use-ipv6" is set to 
disabled

  2) You are forced to listen on port 80 on the IPv6 interface, whether you 
want to or not (for the record I don't want to, as squid is listening there 
instead)

Having to edit lighttpd.conf to remove that one line is a problem for those of 
us using an automated configuration tool like Puppet, as it means we have to 
duplicate the default config file in our repos, minus this one line.

Could I please request that this line be moved into its own script in 
/etc/lighttpd/conf-available/ instead, so that enabling or disabling IPv6 
support can be toggled on and off with a symlink, like the other options? 
This way the default config file would not have to be altered to change IPv6 
options.

Many thanks,
Adam.





More information about the pkg-lighttpd-maintainers mailing list