From owner-freebsd-questions@FreeBSD.ORG Sun Mar 20 10:06:14 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F37D816A4CF for ; Sun, 20 Mar 2005 10:06:13 +0000 (GMT) Received: from smtp2.versatel.nl (smtp2.versatel.nl [62.58.50.89]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DCE043D1F for ; Sun, 20 Mar 2005 10:06:12 +0000 (GMT) (envelope-from f.staals@zonnet.nl) Received: (qmail 31015 invoked by uid 10); 20 Mar 2005 10:06:11 -0000 Received: (vexira-qq 31007-62A516C4 invoked from network) 20 Mar 2005 11:06:10 +0100 Received: from unknown (HELO [192.168.2.5]) ([62.59.173.176]) (envelope-sender ) by smtp2.versatel.nl (qmail-ldap-1.03) with SMTP for < >; 20 Mar 2005 10:06:10 -0000 Message-ID: <423D4B5E.6030406@zonnet.nl> Date: Sun, 20 Mar 2005 11:07:26 +0100 From: Frank Staals User-Agent: Mozilla Thunderbird 1.0 (X11/20050302) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Eugene M. Minkovskii" References: <20050320093159.GA3213@mccme.ru> In-Reply-To: <20050320093159.GA3213@mccme.ru> X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.16; VAE: 6.30.0.2; VDF: 6.30.0.11; host: postbode02.zonnet.nl) Content-Type: text/plain; charset=koi8-r; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 cc: freebsd-questions@freebsd.org Subject: Re: OpenBSD's pf and traffic X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Mar 2005 10:06:14 -0000 Eugene M. Minkovskii wrote: >Hello! > >Does any body know, how can I use OpenBSD's pf (packet filter) for >determine total traffic volume on network interface? If it's >impossible, what facility you recommend me to do this? > > > I don't realy know if it is impossible to use PF for monitoring the total traffic. But you can ( just as I do ) use MRTG ( Multi Router Traffic ) to keep track of the amount of data which you are using. It renders html-documents. By default MRTG only keeps track of the current bandwith-usage with a script which is known as 'mrtg-totals' you can also get graphs of the total amount of traffic. See www.mrtg.org and http://freebsd.munk.nu/archives/157-MRTG-Totals-Perl-Script.html Good Luck Frank Staals