Bug 7739 - Ping generates intermittant invalid checksum
Summary: Ping generates intermittant invalid checksum
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: net-tools
Version: 6.1
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Crutcher Dunnavant
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-10 18:53 UTC by rkennett
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-10 21:03:11 UTC

Attachments (Terms of Use)

Description rkennett 1999-12-10 18:53:56 UTC
PING utility generates an invalid checksum in the IP header when an odd
packet size is specified. It appears through testing that the contents
of the data buffer cause the intermittant operation. When the start of
the buffer begins with 0x00 the checksum error does not manifest. The
data at the start of the buffer appears random in all tested linux version
(5.2, 6.0, and 6.1) and this in turn appears to be the cause of the
intermittent failure.

We have found this same bug in other PING utilities and router code.

Verification used an external network sniffer as well as other network
clients, including PING under Win98 (yech!) which worked correctly.

I realize this is not a RED HAT component, but I cannot find the OSF
individual responsible for this component, and Im daunted by the prospect
of installing the sources and digging to find it. If you or someone else
will send the source file I'll gladly fix it for ya!

Best regards, Bob Kennett

Comment 1 Jeff Johnson 1999-12-10 18:58:59 UTC
What version of netkit-base are you using? (try rpm -qf /bin/ping)
A problem with broken checksums on odd length packates was fixed in June

------- Email From  Robert Kennett <rkennett> 12/10/99 15:54 -------
Attached to Bug # 7739.

Comment 2 Jeff Johnson 1999-12-10 21:03:59 UTC
Try the netkit-base-0.10-37 from Red Hat 6.1. That should fix the
odd len checksum problem and a few other persnickety bugs. However,
watchout for the changed semantics of -c (use -w instead).

Please reopen this bug if netkit-base-0.10-37 does not fix your

Note You need to log in before you can comment on or make changes to this bug.