[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#657739: nginx: Regression after squeeze: no longer listens for IPv6 connections by default.

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 IPv4-only and a [::]:80 IPv6-only

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
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...


-- 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

Reply to: