From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 25 11:13:39 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5417616A4CE for ; Sun, 25 Jan 2004 11:13:39 -0800 (PST) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 4C11343D2D for ; Sun, 25 Jan 2004 11:13:30 -0800 (PST) (envelope-from silby@silby.com) Received: (qmail 88578 invoked from network); 25 Jan 2004 19:13:29 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 25 Jan 2004 19:13:29 -0000 X-pair-Authenticated: 209.68.2.70 Date: Sun, 25 Jan 2004 13:13:28 -0600 (CST) From: Mike Silbersack To: Robert Watson In-Reply-To: Message-ID: <20040125131053.X873@odysseus.silby.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Max Laier cc: hackers@freebsd.org Subject: Re: XL driver checksum producing corrupted but checksum-correct packets X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2004 19:13:39 -0000 On Sat, 24 Jan 2004, Robert Watson wrote: > To pick up the corrupted packet on the machine where the corruption is > occurring, you might want to try hooking up the UDP checksum drop case to > BPF_MTAP() for a special BPF device or rule, or have it spit them into a > raw socket (probably easier). He said that the packet's checksum passes, but it is corrupt, so this won't work. I suppose that one thing we could do in the long run to help detect this sort of corruption would be to import OpenBSD's TCP MD5 support and ensure that packets which fail the md5 or fail the checksum are logged so that they can be investigated. Of course, that's adding data to the packet, and heisenberg wouldn't be too happy about that. :) Mike "Silby" Silbersack