Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Dec 2006 22:52:34 -0700
From:      Brett Glass <brett@lariat.net>
To:        "Benjamin Adams" <freebsdworld@gmail.com>, freebsd-net@freebsd.org, freebsd-chat@freebsd.org
Subject:   Re: Bandwidth Monitoring program
Message-ID:  <200612060552.WAA04850@lariat.net>
In-Reply-To: <6199c3dc0612050848g16a0911dga145485ba14bf21f@mail.gmail.co m>
References:  <6199c3dc0612050848g16a0911dga145485ba14bf21f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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

At 09:48 AM 12/5/2006, 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.
>
>
>Thanks for any help,
>Ben Adams
>_______________________________________________
>freebsd-chat@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-chat
>To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612060552.WAA04850>