From owner-freebsd-hackers Wed Jun 6 22:49:29 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail-blue.research.att.com (mail-blue.research.att.com [135.207.30.102]) by hub.freebsd.org (Postfix) with ESMTP id 56A5337B403 for ; Wed, 6 Jun 2001 22:49:27 -0700 (PDT) (envelope-from fenner@research.att.com) Received: from alliance.research.att.com (alliance.research.att.com [135.207.26.26]) by mail-blue.research.att.com (Postfix) with ESMTP id AA4874D722; Thu, 7 Jun 2001 01:49:21 -0400 (EDT) Received: from windsor.research.att.com (windsor.research.att.com [135.207.26.46]) by alliance.research.att.com (8.8.7/8.8.7) with ESMTP id BAA01728; Thu, 7 Jun 2001 01:49:20 -0400 (EDT) From: Bill Fenner Received: (from fenner@localhost) by windsor.research.att.com (8.8.8+Sun/8.8.5) id WAA06248; Wed, 6 Jun 2001 22:49:19 -0700 (PDT) Message-Id: <200106070549.WAA06248@windsor.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: louie@transsys.com Subject: Re: How to disable software TCP checksumming? Cc: freebsd-hackers@freebsd.org References: <20010529144114.I19771@luke.immure.com> <20010529221107.C49875@skriver.dk> <20010529155212.M19771@luke.immure.com> <20010530045200.A1031@hades.hell.gr> <20010529235215.A60177@luke.immure.com> <20010530085155.B24096@Odin.AC.HMC.Edu> <200105310204.f4V248n15260@whizzo.transsys.com> Date: Wed, 6 Jun 2001 22:49:18 -0700 Versions: dmail (solaris) 2.2g/makemail 2.9a Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG >The TCP checksum protects more than just the contents of the packet >on the wire; it's also a (somewhat) weak check on the contents >of your packet sitting in memory, and as it's going over the bus >in your computer between memory and peripherals and for other end-to-end >sorts of issues. In fact, Jonathan Stone at Stanford did some measurements of checksum errors for his thesis, and found that on a given link in the Stanford residences there were a surprising (small, but measurable) number of packets with IP header checksum errors with what appeared to be DMA errors -- e.g. 4 bytes missing from the middle of the header. When the end to end checksum is really memory to memory, it can catch errors like this... Bill To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message