From owner-freebsd-current@FreeBSD.ORG Fri Dec 22 08:22:37 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 1F05C16A417; Fri, 22 Dec 2006 08:22:37 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (relay0.rambler.ru [81.19.66.187]) by mx1.freebsd.org (Postfix) with ESMTP id C78C713C442; Fri, 22 Dec 2006 08:22:36 +0000 (UTC) (envelope-from ru@rambler-co.ru) Received: from relay0.rambler.ru (localhost [127.0.0.1]) by relay0.rambler.ru (Postfix) with ESMTP id 8F99E60B8; Fri, 22 Dec 2006 11:02:22 +0300 (MSK) Received: from edoofus.park.rambler.ru (unknown [81.19.65.108]) by relay0.rambler.ru (Postfix) with ESMTP id 6DCD5608D; Fri, 22 Dec 2006 11:02:22 +0300 (MSK) Received: (from ru@localhost) by edoofus.park.rambler.ru (8.13.8/8.13.8) id kBM82226077874; Fri, 22 Dec 2006 11:02:02 +0300 (MSK) (envelope-from ru) Date: Fri, 22 Dec 2006 11:02:02 +0300 From: Ruslan Ermilov To: Kris Kennaway Message-ID: <20061222080202.GB77429@rambler-co.ru> References: <20061217205249.GA73132@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="U+BazGySraz5kW0T" Content-Disposition: inline In-Reply-To: <20061217205249.GA73132@xor.obsecurity.org> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: No virus found Cc: Andrew Pantyukhin , 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: Fri, 22 Dec 2006 08:22:37 -0000 --U+BazGySraz5kW0T Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Sun, Dec 17, 2006 at 03:52:49PM -0500, Kris Kennaway wrote: > 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: >=20 > This is a FAQ; it's probably using hardware checksum offloading. >=20 > 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. >=20 Kris, you probably missed a commit by csjp@ where it was fixed. : revision 1.220 : date: 2006/11/18 23:17:22; author: csjp; state: Exp; lines: +40 -0 : Currently, drivers that support hardware offload of VLAN tag : processing are forced to toggle this functionality when the card : is put in and out of promiscuous mode. The main reason for this : is because the hardware strips the VLAN tag, making it impossible : for the tag information to show up in network diagnostic tools like : tcpdump(1). : [...] Andrey, have you been able to narrow your problem down to either this commit, my vge(4) commit (though you tested it as well before it was committed), or to FAST_IPSEC? Cheers, --=20 Ruslan Ermilov ru@FreeBSD.org FreeBSD committer --U+BazGySraz5kW0T Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFi5D6qRfpzJluFF4RApBgAJwNSB6+rE9oy72GaIjggMx4my42GACfRJSp piJ+Lc+vrJumSVbBGUCzqbU= =Pewx -----END PGP SIGNATURE----- --U+BazGySraz5kW0T--