Re: Bandwidth Monitoring program



Josh Paetzel wrote:
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.


run ipfw in layer 2 after turning on promiscuous mode and attaching it to a hub.

I do it all the time.

_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • ipfw optimization on slow computers?
    ... I'm running FreeBSD on a pretty slow machine as the home's network router. ... but I have a suspicion that I could get faster internal network ... no idle CPU % on the server, even though the idle CPU % is very high when ... is there a way I can get my ipfw config file to ...
    (comp.unix.bsd.freebsd.misc)
  • Re: How to get my Dads Win2k system to access internet through my FreeBSD 6.2 system
    ... My dad has a Windows 2000 machine with a network card but does not have a connection to the internet. ... While I can access the internet easily, I want my dad to be able to connect to the internet with my freebsd box serving as the gateway. ... router to this ISP using a 192.168.1.0 private network space. ... These allow me to control the traffic within ipfw which makes ...
    (freebsd-questions)
  • Re: strange network behaviour
    ... > on Friday i set up 4 old celeron boxes as DNS servers for a client. ... and inbound network traffic vanishes. ... What is your default rule for IPFW? ... It turns out what was happening was that the ipfw machine running ...
    (freebsd-questions)
  • Re: ipfw,ipf
    ... but what is the difference between ipfw and ipf ... > Seting up your firewall is easy to do... ... You can protect just one host, or an entire network. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Cloning & security
    ... > Now, I'd like this to be done by a cron job, and I have some questions: ... conditions could join in the network. ... I guess I'd want to push as much of the config and data serverside. ... netowkr capable grub install). ...
    (comp.os.linux.security)