Package: mtr-tiny
Version: 0.69-2
Severity: normal

On a machine with modern, IPv6-enabled glibc, but with a Linux kernel
without IPv6 support, when mtr-ing a hostname that has an AAAA record,
mtr bails out with the following error message:

  $ mtr somehost.com
  Could not open IPv6 socket

MTR should just fall back to the IPv4 address the resolver gives it, not
give up.


Secondly (and this is probably a related issue in the network code), on
a host with IPv6-enabled glibc and an IPv6-enabled Linux kernel, but
without a Global-scope IPv6 address, mtr-ing a hostname with an AAAA
record results in no hops returning any data. In other applications,
connect() will fail with "network unreachable". Is it possible for mtr
to detect this as well, and fall back on IPv4 once it's clear that IPv6
is defunct?

  $ mtr -c 1 -r somehost.com
  HOST: something                   Loss%   Snt   Last   Avg  Best  Wrst  StDev


  (resolving somehost.com with 'host', and invoking mtr with the
  resulting IPv4 address works fine)


Marcel Moreaux <[EMAIL PROTECTED]>



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.8.1
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages mtr-tiny depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libncurses5                 5.4-9        Shared libraries for terminal hand

mtr-tiny recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to