Package: netbase Version: 4.29 Severity: normal Tags: patch /etc/hosts contains: 8<------------------------------------- ::1 ip6-localhost ip6-loopback ------------------------------------->8
One would expect though that a "ping6 localhost" would work, but because it is not in /etc/hosts it doesn't as there is no IPv6 address. Daemons, which support IPv6 might get configured to use "localhost", this thus binds them only to 127.0.0.1, but not to the IPv6 equivalent, even though the daemon might implement getaddrinfo() and the loop correctly. As such, I propose that the above gets changed into: 8<------------------------------------- 127.0.0.1 localhost ip4-localhost ip4-loopback ::1 localhost ip6-localhost ip6-loopback ------------------------------------->8 This to make it consistent with IPv4. There is not a single RFC or draft that refers to ip6-localhost or ip6-loopback (verified by grepping to the ~3Gb of drafts I have). ::1 is always mentioned to be "the Loopback address" or as "localhost". http://www.sixxs.net/archive/ietf/rfc4038.txt (Application Aspects of IPv6 Transition) contains: localhost. IN A 127.0.0.1 IN AAAA ::1 to back that up. Please resolve this issue, as it avoids having to program a loop for 2 different kind of address families into programs, while getaddrinfo() should resolve that problem already. Thanks. -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: i386 (i686) Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core) Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Shell: /bin/sh linked to /bin/bash Versions of packages netbase depends on: ii debconf [debconf-2.0] 1.5.13 Debian configuration management sy ii ifupdown 0.6.8 high level tools to configure netw ii iputils-ping [ping] 3:20070202-1 Tools to test the reachability of ii lsb-base 3.1-23.1 Linux Standard Base 3.1 init scrip ii openbsd-inetd [inet-superse 0.20050402-6 The OpenBSD Internet Superserver netbase recommends no packages. -- debconf information excluded -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]