Simple LAN IP accounting

Roger T. Harvey nightstalker.micronta at gmail.com
Sun Jun 18 13:20:17 UTC 2006


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


More information about the freebsd-net mailing list