Ping from Network Tools shows packetloss even though it works
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-nettool (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gnome-nettool
Just by coincidence I tried using Ping from Administration > Network Tools.
It doesn't work! It says that I cannot ping anything, even though it works just fine if I do it in a terminal. I can also see with tcpdump that ping from this tool actually does work and nice replies are received also.
Ping from terminal + tcpdump:
$ ping -c 5 www.du.se
PING neon.du.se (130.243.57.245) 56(84) bytes of data.
64 bytes from neon.du.se (130.243.57.245): icmp_req=1 ttl=117 time=22.1 ms
64 bytes from neon.du.se (130.243.57.245): icmp_req=2 ttl=117 time=22.5 ms
64 bytes from neon.du.se (130.243.57.245): icmp_req=3 ttl=117 time=22.3 ms
64 bytes from neon.du.se (130.243.57.245): icmp_req=4 ttl=117 time=22.3 ms
64 bytes from neon.du.se (130.243.57.245): icmp_req=5 ttl=117 time=22.3 ms
--- neon.du.se ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4007ms
rtt min/avg/max/mdev = 22.119/
$ sudo tcpdump -i eth0 -nv icmp -c 5
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
21:54:47.271593 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21409, seq 1, length 64
21:54:47.293692 IP (tos 0x0, ttl 117, id 31149, offset 0, flags [none], proto ICMP (1), length 84)
130.243.57.245 > 217.210.11.124: ICMP echo reply, id 21409, seq 1, length 64
21:54:48.273194 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21409, seq 2, length 64
21:54:48.295670 IP (tos 0x0, ttl 117, id 32035, offset 0, flags [none], proto ICMP (1), length 84)
130.243.57.245 > 217.210.11.124: ICMP echo reply, id 21409, seq 2, length 64
21:54:49.275146 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21409, seq 3, length 64
5 packets captured
5 packets received by filter
0 packets dropped by kernel
tcpdump output when I do a ping from the Ping tab in Network Tools:
$ sudo tcpdump -i eth0 -nv icmp -c 5
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
21:55:41.266045 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21454, seq 1, length 64
21:55:41.288631 IP (tos 0x0, ttl 117, id 1091, offset 0, flags [none], proto ICMP (1), length 84)
130.243.57.245 > 217.210.11.124: ICMP echo reply, id 21454, seq 1, length 64
21:55:42.267640 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21454, seq 2, length 64
21:55:42.289662 IP (tos 0x0, ttl 117, id 2004, offset 0, flags [none], proto ICMP (1), length 84)
130.243.57.245 > 217.210.11.124: ICMP echo reply, id 21454, seq 2, length 64
21:55:43.268804 IP (tos 0x0, ttl 64, id 0, offset 0, flags [DF], proto ICMP (1), length 84)
217.210.11.124 > 130.243.57.245: ICMP echo request, id 21454, seq 3, length 64
5 packets captured
5 packets received by filter
0 packets dropped by kernel
Also look at screenshot from this program (attached).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-nettool 2.31.6-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Thu Jan 20 21:50:41 2011
ExecutablePath: /usr/bin/
ProcEnviron:
LANG=en_DK.utf8
SHELL=/bin/bash
SourcePackage: gnome-nettool
Same problem here.