ping forgets to whom it's talking

Bug #1326810 reported by MikeyB
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
iputils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Distro: ubuntu 14.04 x64
Package: iputils-ping 3:20121221-4ubuntu1.1

The ping command accidentally uses the information for the last ICMP UNREACHABLE response instead of the host from which the *actual* response came. See the output below:

michael@challenger:~
○ → ping 10gb-sw1
PING 10gb-sw1.office.netdirect.ca (192.168.0.33) 56(84) bytes of data.
From challenger.netdirect.ca (192.168.0.135) icmp_seq=1 Destination Host Unreachable
From challenger.netdirect.ca (192.168.0.135) icmp_seq=2 Destination Host Unreachable

From challenger.netdirect.ca (192.168.0.135) icmp_seq=82 Destination Host Unreachable
From challenger.netdirect.ca (192.168.0.135) icmp_seq=86 Destination Host Unreachable
64 bytes from challenger.netdirect.ca (192.168.0.135): icmp_seq=88 ttl=255 time=3.25 ms
64 bytes from challenger.netdirect.ca (192.168.0.135): icmp_seq=89 ttl=255 time=0.737 ms
64 bytes from challenger.netdirect.ca (192.168.0.135): icmp_seq=90 ttl=255 time=1.68 ms

64 bytes from challenger.netdirect.ca (192.168.0.135): icmp_seq=96 ttl=255 time=2.83 ms
^C
--- 10gb-sw1.office.netdirect.ca ping statistics ---
96 packets transmitted, 9 received, +56 errors, 90% packet loss, time 95015ms
rtt min/avg/max/mdev = 0.737/2.427/3.966/1.156 ms, pipe 4

michael@challenger:~
○ → ping 10gb-sw1
PING 10gb-sw1.office.netdirect.ca (192.168.0.33) 56(84) bytes of data.
64 bytes from 10gb-sw1.netdirect.ca (192.168.0.33): icmp_seq=1 ttl=255 time=4.34 ms
64 bytes from 10gb-sw1.netdirect.ca (192.168.0.33): icmp_seq=2 ttl=255 time=2.97 ms
64 bytes from 10gb-sw1.netdirect.ca (192.168.0.33): icmp_seq=3 ttl=255 time=2.14 ms
^C
--- 10gb-sw1.office.netdirect.ca ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2002ms
rtt min/avg/max/mdev = 2.146/3.156/4.344/0.907 ms

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: iputils-ping 3:20121221-4ubuntu1.1
ProcVersionSignature: Ubuntu 3.13.0-27.50-generic 3.13.11
Uname: Linux 3.13.0-27-generic x86_64
NonfreeKernelModules: nvidia zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Jun 5 09:50:13 2014
InstallationDate: Installed on 2013-09-09 (268 days ago)
InstallationMedia: Ubuntu-Server 13.04 "Raring Ringtail" - Release amd64 (20130423.1)
SourcePackage: iputils
UpgradeStatus: Upgraded to trusty on 2014-04-18 (48 days ago)

Revision history for this message
MikeyB (supermathie) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in iputils (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.