Date: Sun, 18 Jun 2006 09:20:14 -0400 From: "Roger T. Harvey" <nightstalker.micronta@gmail.com> To: <freebsd-net@freebsd.org> Subject: Simple LAN IP accounting Message-ID: <4495530f.265f68ff.360d.48fa@mx.gmail.com>
next in thread | raw e-mail | index | archive | help
Ok, I've done research, and found this example to track bytes per ip on LAN: $IPFW pipe 1 config mask src-ip 0xffffffff buckets 512 $IPFW pipe 2 config mask dst-ip 0xffffffff buckets 512 $IPFW add 32001 pipe 1 src-ip 192.168.110.0/24 bridged $IPFW add 32002 pipe 2 dst-ip 192.168.110.0/24 bridged Now that's all well and good, and I saw the output as well. However, im not running bridged. or does that make a difference in this instance? Also, is there any scripts, etc to format the pipe info into a nice readable format (pref html) Doesn't need graphs, etc. Just Daily and Monthly totals would be nice. (I am running MySQL so it can store the data) Concidered to this list, you can call me a newbie for sure. as I only know how to Do a handful of things and that's about it. which is why im asking here. TIA to everyone
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4495530f.265f68ff.360d.48fa>