Package: iputils-tracepath
Version: 3:20161105-1
Severity: important

Dear Maintainer,

It seems that traceroute6.iputils fails to work when given an address
instead of a hostname:

$ traceroute6.iputils localhost
traceroute to  (::1) from ::1, 30 hops max, 24 byte packets
 1  localhost (::1)  0.052 ms  0.021 ms  0.022 ms

$ traceroute6.iputils ::1
traceroute to ::1 (::1) from ::1, 30 hops max, 24 byte packets
sendto: Invalid argument
 1 traceroute: wrote ::1 24 chars, ret=-1
 *sendto: Invalid argument
traceroute: wrote ::1 24 chars, ret=-1
 *sendto: Invalid argument
traceroute: wrote ::1 24 chars, ret=-1
 *
sendto: Invalid argument
 2 traceroute: wrote ::1 24 chars, ret=-1
 *sendto: Invalid argument
traceroute: wrote ::1 24 chars, ret=-1

The differance in sendto seems to be the port number 33434 vs 0:

# strace traceroute6.iputils localhost
sendto(4, "\0\0\1\253\0\0\0\3\334\327.Y\0\0\0\0e\177\2\0\0\0\0\0", 24, 0, 
{sa_family=AF_INET6, sin6_port=htons(33434), inet_pton(AF_INET6, "::1", 
&sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 24

# strace traceroute6.iputils ::1
sendto(4, "\0\0\1\232\0\0\0\3\227\327.Y\0\0\0\0\202\237\7\0\0\0\0\0", 24, 0, 
{sa_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "::1", 
&sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 EINVAL (Invalid 
argument)


-- System Information:
Debian Release: 9.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages iputils-tracepath depends on:
ii  libc6     2.24-11
ii  libcap2   1:2.25-1
ii  libidn11  1.33-1

iputils-tracepath recommends no packages.

Versions of packages iputils-tracepath suggests:
ii  traceroute  1:2.1.0-2

-- no debconf information

Reply via email to