iputils-s20161105 and iputils-tracepath-s20161105 error sendto: Invalid argument

Aaron Dudek adudek16 at gmail.com
Thu Apr 11 17:48:33 UTC 2019


[Impact]

 * traceroute6 does not work. It returns the error "sendto: Invalid argument"
 * Traceroute6 in the current release is unusable and this impacts
everyone running/deploying/troubleshooting ipv6 networks and using
Ubuntu.

[Test Case]

 * Interface with IPv6 internet access
Ping to google IPv6 DNS or any valid active IPv6 address
adudek at test-box:~$ ping 2001:4860:4860::8888
PING 2001:4860:4860::8888(2001:4860:4860::8888) 56 data bytes
64 bytes from 2001:4860:4860::8888: icmp_seq=1 ttl=60 time=95.6 ms
64 bytes from 2001:4860:4860::8888: icmp_seq=2 ttl=60 time=95.7 ms

traceroute6 to the same address or any ipv6 address

adudek at test-box:~$ traceroute6 2001:4860:4860::8888
traceroute to 2001:4860:4860::8888 (2001:4860:4860::8888) from
2003:8:8:4:20c:29ff:fe59:583c, 30 hops max, 24 byte packets
sendto: Invalid argument
 1 traceroute: wrote 2001:4860:4860::8888 24 chars, ret=-1

adudek at test-box:~$ traceroute6 -V
traceroute6 utility, iputils-s20161105
adudek at test-box:~$ more /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.2 LTS"
adudek at test-box:~$

[Regression Potential]

 * Unlikely. IPv6 traceroute6 issues were reported to iputils
maintainer and fixed.
https://github.com/iputils/iputils/issues/68
https://github.com/iputils/iputils/issues/81
iputils-tracepath

 * Package used by cosmic contains both fixes and has the same version
of package dependencies. Updating the package version used by bionic
to s20180629 will return working functionality of traceroute6 for ipv6

[Other Info]

 This could have been caught earlier by adding ipv6 to testing suites.
We run an IPv6 network and recently upgraded from 16.04 to 18.04 which
is when we found the issue.




More information about the Ubuntu-devel-discuss mailing list