From owner-freebsd-net@FreeBSD.ORG Tue Dec 5 17:58:03 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 A474416A416 for ; Tue, 5 Dec 2006 17:58:03 +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 CEF3943CA2 for ; Tue, 5 Dec 2006 17:57:22 +0000 (GMT) (envelope-from josh@tcbug.org) Received: from gimpy (failure[24.118.173.219]) by comcast.net (sccrmhc14) with ESMTP id <20061205175802014006im7ge>; Tue, 5 Dec 2006 17:58:02 +0000 From: Josh Paetzel To: freebsd-net@freebsd.org Date: Tue, 5 Dec 2006 11:57:27 -0600 User-Agent: KMail/1.9.4 References: <6199c3dc0612050848g16a0911dga145485ba14bf21f@mail.gmail.com> <57d710000612050945j2b1f7240mdcb58bc5afd2839e@mail.gmail.com> In-Reply-To: <57d710000612050945j2b1f7240mdcb58bc5afd2839e@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612051157.28177.josh@tcbug.org> Cc: pete wright , 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: Tue, 05 Dec 2006 17:58:03 -0000 On Tuesday 05 December 2006 11:45, pete wright wrote: > On 12/5/06, Benjamin Adams wrote: > > I'm on a network that has a normal store firewall, setup as a > > NAT. I'm trying to find a way to monitor all bandwidth by > > clients through that firewall. I don't have the ability to just > > put an inline box to examine packets. Is there a program where I > > can see whats going on from the computer on that network. > > > > What I'm looking for is: > > client ip : 2.3 GB > > List of ports used in bandwidth amounts. > > hard to tell with out knowing what you are running as a > gateway/router but I would look into using some sort of SNMP script > to gather that info and plot it out. A lot of people use MRTG, > i've recently starting using Cacti (www.cacti.net) to help > implement this. > > HTH > -pete In response to your question, the answer basically lies in your networking gear. If you are using a hub you could put a computer on the network into promiscuous mode and use any number of tools to track bandwidth usage. If you have a switched network then you are going to need to gather info on the router itself. SNMP would be the logical choice if the router is capable of running it. You could then poll SNMP from a computer on the network and use any number of tools to analyze/graph the usage. (MRTG and rrdtool being a couple of popular ones) -- Thanks, Josh Paetzel