View Issue Details

IDProjectCategoryView StatusLast Update
0017714CentOS-8iputilspublic2020-09-04 10:34
ReporterSergey P 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version8.2.2004 
Target VersionFixed in Version 
Summary0017714: tracepath6 isn't working due to buggy iputils version
DescriptionCentOS 8 contains old version of iptuils package:

[root@localhost ~]# cat /etc/centos-release
CentOS Linux release 8.2.2004 (Core)
[root@localhost ~]# rpm -q iputils
iputils-20180629-2.el8.x86_64
[root@localhost ~]#

that has an issue with tracepath6 - IPv6 addresses are being cut within the packets.
This issue has been fixed within this commit - https://github.com/iputils/iputils/commit/e0baf20067a75f093d690bd51a6db3f5afabca77

No newer version of iptuils available in the CentOS repositories:

[root@localhost ~]# yum update iputils
Last metadata expiration check: 0:05:42 ago on Fri 04 Sep 2020 06:23:41 AM EDT.
Dependencies resolved.
Nothing to do.
Complete!

Updating iptuils version to the at least next release should fix the problem.
Steps To Reproduce[root@localhost ~]# strace -o trace tracepath -6 fe80::8895:e2af:e96e:fd8f
 1?: [LOCALHOST] 0.126ms pmtu 1500
 1: localhost.localdomain 3082.595ms !H
     Resume: pmtu 1500

[root@localhost ~]# grep sendto trace | grep fe80
sendto(3, "\1\0\0\0\0\0\0\0\341\27R_\0\0\0\0\230\254\4\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 127952, 0, {sa_family=AF_INET6, sin6_port=htons(44444), inet_pton(AF_INET6, "fe80::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = -1 EMSGSIZE (Message too long)
sendto(3, "\1\0\0\0\0\0\0\0\341\27R_\0\0\0\0\276\256\4\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1452, 0, {sa_family=AF_INET6, sin6_port=htons(44444), inet_pton(AF_INET6, "fe80::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 1452
sendto(3, "\1\0\0\0\0\0\0\0\342\27R_\0\0\0\0)\266\4\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1452, 0, {sa_family=AF_INET6, sin6_port=htons(44445), inet_pton(AF_INET6, "fe80::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 1452
sendto(3, "\1\0\0\0\0\0\0\0\343\27R_\0\0\0\0\331\276\4\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1452, 0, {sa_family=AF_INET6, sin6_port=htons(44446), inet_pton(AF_INET6, "fe80::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 1452
sendto(3, "\1\0\0\0\0\0\0\0\344\27R_\0\0\0\0\2\304\4\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 1452, 0, {sa_family=AF_INET6, sin6_port=htons(44447), inet_pton(AF_INET6, "fe80::", &sin6_addr), sin6_flowinfo=htonl(0), sin6_scope_id=0}, 28) = 1452
[root@localhost ~]#

Packets are being sent to fe80:: destination rather than fe80::8895:e2af:e96e:fd8f.
Additional Informationtracepath6 has been working fine within CentOS 7 releases, so the current issue is kind a "regression" one.
Tagsiputils, tracepath6

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-09-04 10:34 Sergey P New Issue
2020-09-04 10:34 Sergey P Tag Attached: iputils
2020-09-04 10:34 Sergey P Tag Attached: tracepath6