|
||||||||
I recently posted a way to do this with examples. John Voigt, President Reston Wireless, LLC High speed internet service no smoke, no mirrors, no wires (tm) http://www.reston-wireless.net/ ----- Original Message ----- From: "Bruno Carlos" <bruno dot carlos at flesk dot com> To: <m0n0wall at lists dot m0n0 dot ch> Sent: Monday, January 26, 2004 2:48 PM Subject: [m0n0wall] Re: Ip traffic daemon > Hi,This could easily be done like this (that's how we're doing it):Create > counters in ipfw that would count traffic based on user request > (example):ipfw add 1000 count all from any to $ip via $wanipfw add 1100 > count all from $ip to any via $wanBeing $ip whatever the user has chosen, > could be a single host, a network, etc.Then, all we have to do is feed MRTG > with both counters every 5 minutes which is easily done with a ipfw show | > grep 1000 | printf .... to extract the third parameter which is the byte > counter.Now, the problem with this is that m0n0wall would have to allow to > create the counters per user selection, much like it currently does for a > firewall rule.Bruno Carlos> Hi folks, > > > > i've decide to donate to the comunity a bpf daemon to monitor ip > > traffic, but... 'cos this product have a copyright i've to *adjust* > > (read re-write from start) the source code. > > So write from scratch, i'm curious to know if you or anyone have already > > do some spec's. I would not want to write nothing of superfluous or > > worse useless. > > > > Best Regards > > Roberto Zilli > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch > For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch > > |