Skip to contentSkip to conversation

WARNING: kernel is not very fresh, upgrade is recommended. ping related

DISCUSSION Alessandro Sappia 1 participant 1 message Feb 25, 2004

lore
Share & tools
lore
#0 lore raw

if remote network is down... ping tells me that...

$ ping www.google.it
PING www.google.akadns.net (216.239.59.104) 56(84) bytes of data.
64 bytes from 216.239.59.104: icmp_seq=1 ttl=236 time=62.4 ms
64 bytes from 216.239.59.104: icmp_seq=2 ttl=236 time=57.1 ms

--- www.google.akadns.net ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 57.147/59.778/62.410/2.642 ms

$ ping www.huljet.it
PING www.huljet.it (151.36.102.249) 56(84) bytes of data.
WARNING: kernel is not very fresh, upgrade is recommended.
Quoted 3 lines

From 151.6.33.78: icmp_seq=2 (BAD CHECKSUM)Destination Host Unreachable From 151.6.33.78: icmp_seq=3 (BAD CHECKSUM)Destination Host Unreachable From 151.6.33.78: icmp_seq=4 (BAD CHECKSUM)Destination Host Unreachable

--- www.huljet.it ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3003ms

$

googled (answer refered to 2.4.12)
It looks like a kernel bug. ping sets van icmp filter so it will only receive source quence, redirect and echo reply icmp packets but it still received another icmp packet.

what about it ?

$ uname -a
Linux galileo 2.6.2-ck1 #2 Mon Feb 23 16:22:01 CET 2004 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz GenuineIntel GNU/Linux
$ gcc --version
gcc (GCC) 3.3.3 20040217 (Gentoo Linux 3.3.3, propolice-3.3-7)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.