From owner-freebsd-questions@FreeBSD.ORG Thu Oct 5 15:32:10 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 D0A6616A532 for ; Thu, 5 Oct 2006 15:32:10 +0000 (UTC) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C5C043D45 for ; Thu, 5 Oct 2006 15:32:10 +0000 (GMT) (envelope-from freebsd@philip.pjkh.com) Received: from bravo.pjkh.com (bravo.pjkh.com [72.36.232.219]) by bravo.pjkh.com (Postfix) with ESMTP id 6870313D56F; Thu, 5 Oct 2006 10:39:03 -0500 (CDT) Received: by bravo.pjkh.com (Postfix, from userid 1000) id 1D9B613D522; Thu, 5 Oct 2006 10:39:03 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by bravo.pjkh.com (Postfix) with ESMTP id 1C97A13C80B; Thu, 5 Oct 2006 10:39:03 -0500 (CDT) Date: Thu, 5 Oct 2006 10:39:03 -0500 (CDT) From: Philip Hallstrom To: Niek Dekker In-Reply-To: Message-ID: <20061005103759.L57215@bravo.pjkh.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-questions@freebsd.org 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: Thu, 05 Oct 2006 15:32:10 -0000 > 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 :)