From owner-freebsd-questions@FreeBSD.ORG Mon Nov 6 14:52:12 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 4E34716A51E for ; Mon, 6 Nov 2006 14:52:12 +0000 (UTC) (envelope-from niek@bigfoot.com) Received: from smtp-3.orange.nl (smtp-3.orange.nl [193.252.22.243]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8483543D66 for ; Mon, 6 Nov 2006 14:52:03 +0000 (GMT) (envelope-from niek@bigfoot.com) Received: from [192.168.1.10] (s5591888a.adsl.wanadoo.nl [85.145.136.138]) by mwinf6201.orange.nl (SMTP Server) with ESMTP id 62AAD1C0008E for ; Mon, 6 Nov 2006 15:52:02 +0100 (CET) X-ME-UUID: 20061106145202410.62AAD1C0008E@mwinf6201.orange.nl Message-ID: <454F4C0F.607@bigfoot.com> Date: Mon, 06 Nov 2006 15:51:59 +0100 From: Niek User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl-NL; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20061005103759.L57215@bravo.pjkh.com> In-Reply-To: <20061005103759.L57215@bravo.pjkh.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: tools for network traffic accounting X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 14:52:12 -0000 Thanks, also to all others who answered this question. I found out that setting 'set loginterface ' in pf.conf makes it possible to get transfer statistics from pfctl -si. Maybe it is of interest for other beginners like me. regds, Niek Philip Hallstrom wrote: >> I would like to configure a monthly report of the incoming and >> outgoing amount of traffic on the network interface of my server, for >> instance in the monthly run output. >> >> Can I do this with a built in program of FreeBSD 6.0 or do I need a >> port? > > If you just wanted a total count and run ipfw (or any firewall i > imagine) you could simply add a rule to count all inbound and outbound > packets then at the end of the month look at them, then zero them. > > It could be automated... > > Otherwise, there's mrtg, cacti, and tons of others :) >