From owner-freebsd-ipfw@FreeBSD.ORG Tue Aug 7 13:12:49 2007 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0771A16A41A for ; Tue, 7 Aug 2007 13:12:49 +0000 (UTC) (envelope-from pekkas@netcore.fi) Received: from netcore.fi (eunet-gw.ipv6.netcore.fi [IPv6:2001:670:86:3001::1]) by mx1.freebsd.org (Postfix) with ESMTP id 3B29413C442 for ; Tue, 7 Aug 2007 13:12:47 +0000 (UTC) (envelope-from pekkas@netcore.fi) Received: from netcore.fi (localhost [127.0.0.1]) by netcore.fi (8.13.8/8.13.8) with ESMTP id l77DCY1M002466 for ; Tue, 7 Aug 2007 16:12:34 +0300 Received: from localhost (pekkas@localhost) by netcore.fi (8.13.8/8.13.8/Submit) with ESMTP id l77DCYa7002463 for ; Tue, 7 Aug 2007 16:12:34 +0300 Date: Tue, 7 Aug 2007 16:12:34 +0300 (EEST) From: Pekka Savola To: freebsd-ipfw@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV 0.90.3/3879/Tue Aug 7 03:27:49 2007 on otso.netcore.fi X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED autolearn=failed version=3.1.9 X-Spam-Checker-Version: SpamAssassin 3.1.9 (2007-02-13) on otso.netcore.fi Subject: ip6fw byte reporting error in v6 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Aug 2007 13:12:49 -0000 Hi, Fiddling around with ipfw, I noticed that 'ip6fw -ta l', under byte reports, does not include the base IPv6 header in the length calculation (hmm.. I wonder how it would calculate the length of extension-header chained packet). IPv4 byte statistics, on the other hand, include the IPv4 header bytes. Is this a known problem? Is it a more general BSD kernel problem? -- Pekka Savola "You each name yourselves king, yet the Netcore Oy kingdom bleeds." Systems. Networks. Security. -- George R.R. Martin: A Clash of Kings