From owner-freebsd-current@FreeBSD.ORG Sun Dec 17 20:52:58 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDA5316A407; Sun, 17 Dec 2006 20:52:58 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78BBC43CBD; Sun, 17 Dec 2006 20:52:53 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id A71861A3C1C; Sun, 17 Dec 2006 12:52:52 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9DAEA512EA; Sun, 17 Dec 2006 15:52:49 -0500 (EST) Date: Sun, 17 Dec 2006 15:52:49 -0500 From: Kris Kennaway To: Andrew Pantyukhin Message-ID: <20061217205249.GA73132@xor.obsecurity.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: current@freebsd.org, David Xu Subject: Re: vge(4) bad checksum X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Dec 2006 20:52:58 -0000 --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sun, Dec 17, 2006 at 11:46:24PM +0300, Andrew Pantyukhin wrote: > I'm not sure what it's all about, but with today's > current whatever goes out my vge interface (icmp/ > tcp/udp) has bad checksum: This is a FAQ; it's probably using hardware checksum offloading. Since the packet passed down to the NIC does not yet have the checksum computed, it looks to tcpdump like the checksum is incorrect. However if you look at the packet actually transmitted by the NIC (e.g. tcpdump on another host), you'll see that it has the correct checksum. Kris --4Ckj6UjgE2iN1+kY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQFFha4hWry0BWjoQKURAkPDAKDv6DDEkCGdSi+Hq/RVdTedthSfjACgvVQW Yd27Rb3UV1qeJtEtnwk3Z/g= =OnaB -----END PGP SIGNATURE----- --4Ckj6UjgE2iN1+kY--