From owner-freebsd-net@FreeBSD.ORG Wed Dec 6 09:13:26 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0CF1716A407 for ; Wed, 6 Dec 2006 09:13:26 +0000 (UTC) (envelope-from josh@tcbug.org) Received: from sccrmhc14.comcast.net (sccrmhc14.comcast.net [204.127.200.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72A3E43CAA for ; Wed, 6 Dec 2006 09:12:41 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (c-24-118-173-219.hsd1.mn.comcast.net[24.118.173.219]) by comcast.net (sccrmhc14) with ESMTP id <20061206091324014006dcere>; Wed, 6 Dec 2006 09:13:24 +0000 From: Josh Paetzel To: freebsd-net@freebsd.org Date: Wed, 6 Dec 2006 03:13:23 -0600 User-Agent: KMail/1.9.4 References: <6199c3dc0612050848g16a0911dga145485ba14bf21f@mail.gmail.com> <200612060552.WAA04850@lariat.net> In-Reply-To: <200612060552.WAA04850@lariat.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612060313.23621.josh@tcbug.org> Cc: Brett Glass , Benjamin Adams Subject: Re: Bandwidth Monitoring program X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Dec 2006 09:13:26 -0000 On Tuesday 05 December 2006 23:52, Brett Glass wrote: > Add a few IPFW "count" rules to count the bytes and packets. Then, > periodically harvest and reset the counters via a cron job and > write the results to a file. You can then prepare tables and charts > which are as simple or as fancy as you please, without resorting to > SNMP (which isn't secure). A little bit of code in your favorite > scripting language will do it. And of course you can output to a > graphing package, though for me a simple histogram using asterisks > has sufficient precision in most cases. > > --Brett Glass > Just curious.....but where is he going to run ipfw? I seriously doubt his router can run it, and what good is it going to do him to run it on a machine on the network if the network is switched? It's not going to be able to see any of the traffic other than what that specific machine is sending/receiving. -- Thanks, Josh Paetzel