From owner-freebsd-questions Fri Sep 4 00:16:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA13927 for freebsd-questions-outgoing; Fri, 4 Sep 1998 00:16:41 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from omnix.net (omnix.net [194.183.217.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA13918 for ; Fri, 4 Sep 1998 00:16:39 -0700 (PDT) (envelope-from didier@omnix.net) Received: from localhost (didier@localhost) by omnix.net (8.8.7/8.8.7) with SMTP id HAA18836; Fri, 4 Sep 1998 07:15:28 GMT (envelope-from didier@omnix.net) Date: Fri, 4 Sep 1998 09:15:28 +0200 (CEST) From: Didier Derny To: Yuan Tuo cc: "freebsd-questions@FreeBSD.org" Subject: Re: Re: How to do IP accouting? In-Reply-To: <199809040053.AAA16760@osiris.siris.fr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 4 Sep 1998, Yuan Tuo wrote: > > > Thank you ! > But I don't know how to do. Could you tell me something? > > I have a machine connected behind the main router. this machine has serveral network boards. I count the packet with the count function of ipfw with a set of rules base on the network board and/org subnet. then I dump the rules every hours and process them with a c program to produce a log. I get the log at the end of this month. form this log I can extract hour by hour the packets / bytes transfered (the averall traffic, web, ftp) a few utilities I wrote extract the data by client and for the month. -- Didier Derny didier@omnix.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message