From owner-freebsd-questions Fri Sep 24 7:33:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from moon.mteege.de (ppps-nb01.MVnet.de [194.25.108.145]) by hub.freebsd.org (Postfix) with ESMTP id 5BA7914D43 for ; Fri, 24 Sep 1999 07:33:19 -0700 (PDT) (envelope-from matthias@mteege.de) Received: from moon.mteege.de (localhost [127.0.0.1]) by moon.mteege.de (8.8.8/8.8.8) with ESMTP id PAA17177 for ; Fri, 24 Sep 1999 15:04:33 +0200 (MET DST) (envelope-from matthias@moon.mteege.de) Message-Id: <199909241304.PAA17177@moon.mteege.de> From: Matthias Teege To: freebsd-questions@freebsd.org Subject: ipfw and accounting Reply-To: Matthias Teege Date: Fri, 24 Sep 1999 15:04:33 +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Moin, I wish to count how many bytes I transfer over my isp0 device. So I setup two ipfw rules: ipfw add 64080 count ip from any to any out via isp0 ipfw add 64090 count ip from any to any in via isp0 I open the interface for a short http connection and after i4b close the line i make a 'ipfw show' 64080 1042 97442 count ip from any to any out xmit isp0 64090 924 160482 count ip from any to any in recv isp0 I think that means that there where 97kb outgoing and 160kb incoming but i4b reports that 51kb in and 82kb outgoing. Counts the ipfw rule in 512kb blocks or are the lines completly wrong? Thank Matthias PS: Sorry for my poor english but the problem is hard to describe:-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message