Re: on amd64 tcp4 cksums are bad (FYI)

From: David Malone <dwmalone_at_maths.tcd.ie>
Date: Fri, 20 Aug 2004 20:36:08 +0100
On Fri, Aug 20, 2004 at 12:05:25PM -0700, David W. Hankins wrote:
> This is as observed via tcpdump on [client], which is what is producing
> the bad checksums.  Obviously it doesn't cause a problem since no one
> listens to TCP checksums, but it's interesting.

Actually, most things pay attention to TCP checksums. What you are
actually seeing is that the checksum hasn't been calculated at the
time that tcpdump gets to see the packet. This is probably because
your ethernet card supports TCP checksum offloading, and so the
checksum isn't actually calculated until the packet hits the wire
(which is slightly after bpf feeds the packet to tcpdump....)

If you run tcpdump on the server, you should see that the checksum
is OK (though the packets transmitted by the server may seem to
have bad checksums for similar reasons).

	David.
Received on Fri Aug 20 2004 - 17:36:14 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:07 UTC