Your message dated Mon, 18 Jun 2012 18:27:55 -0500
with message-id <[email protected]>
and subject line Exists in comments.
has caused the Debian Bug report #657739,
regarding nginx: Regression after squeeze: no longer listens for IPv6
connections by default.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
657739: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657739
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nginx
Version: 1.1.12-1
Severity: normal
Tags: ipv6
The version of nginx in Squeeze [0.7.67-3], without any reconfiguration,
[in particular, without adding any explicit "listen" configuration],
happily creates both a 0.0.0.0:80 IPv4-only and a [::]:80 IPv6-only
socket.
However, BOTH the nginx wheezy [1.1.12-1] and squeeze-backports
[1.1.8-2~bpo60+1] versions, have the default behaviour (with
similar default-config, no "listen" lines) of listening ONLY
for Legacy IPv4 connections!!
This is bad when you have a dual-stacked host with both A and AAAA
pointers.
For example, squid3 on the same host, connecting to the host itself
by its' own name, gets 'connection refused' over IPv6 and doesn't
seem to fall back to IPv4 at all.
This can currenty be worked around by manually overriding the 'listen'
entries in the config, to have either an IPv4 socket AND an
IPv6-only-IPv6-listen-socket, or a single IPv6-with-IPv4-
compatibility listen socket.
We could, change the, default config file included, which creates
complexity in updating, though this may be needed to make
the comments in the file clear as to what is expected by default.
I would think, a neater thing to do would be to patch the code to
default to IPv4+IPv6 sockets, unless the user overrides it
in the config-file...
--Simon
-- System Information:
Debian Release: 6.0.3
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-xen-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages nginx depends on:
ii nginx-full 1.1.12-1 nginx web server with full set of
nginx recommends no packages.
nginx suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
server {
#listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default_server ipv6only=on; ## listen for ipv6
In the configuration file there is a set of comments right under the server
block sample. Uncommenting the two lines will make Nginx listen on port 80 for
IPv4 and IPv6. After a discussion, it was decided that we won't be doing this
by default. All anyone needs to do is uncomment these two lines and restart
Nginx. So.. unless there's sufficient reason to assume that all servers have
IPv6 support, we'll be closing this bug.
--
Michael Lustfield
Ubuntu Member, Nginx Developer
--- End Message ---