[ previous ] [ next ] [ threads ]
 
 From:  "Mitch \(WebCob\)" <mitch at webcob dot com>
 To:  "Roberto Pereyra" <rjpereyra at gualeguaychu dot gov dot ar>, m0n0wall at lists dot m0n0 dot ch
 Cc:  sysnetgchu at yahoo dot com
 Subject:  RE: [m0n0wall] traffic accounting per ip
 Date:  Thu, 11 Mar 2004 07:52:47 -0800
Those counters will roll well before a day. A 32 bit counter can roll in
just over 5 minutes.

You need to poll regularly and store, then clear on your commend I think.

m/

> -----Original Message-----
> From: Roberto Pereyra [mailto:rjpereyra at gualeguaychu dot gov dot ar]
> Sent: Thursday, March 11, 2004 6:10 AM
> To: m0n0wall at lists dot m0n0 dot ch
> Cc: sysnetgchu at yahoo dot com
> Subject: Re: [m0n0wall] traffic accounting per ip
>
>
> M0n0wall daily reset the counter ?
>
> I not have logs traffic older than a day ?
>
> roberto
>
>
>
>
>
> On Wed, Mar 10, 2004 at 08:33:28PM -0300, Roberto Pereyra wrote:
> > Hi all !
> >
> > I want to have the traffic accounting per IP in my m0n0wall.
> >
> > I use http://firewall/status.php
> >
> > and read the "ipfw show" output.
> >
> > 00100     7948      624472 allow ip from 10.1.0.2 to any
> > 00200    10910     1272334 allow ip from any to 10.1.0.2
> > 00300      325       18354 pipe 1 ip from 10.1.1.30 to any via rl1
> > 00400      452      444960 pipe 2 ip from any to 10.1.1.30 via rl1
> > 00500        1         229 pipe 3 ip from 10.1.1.31 to any via rl1
> > 00600        0           0 pipe 4 ip from any to 10.1.1.31 via rl1
> > 00700       39        2814 pipe 5 ip from 10.1.1.32 to any via rl1
> > 00800        0           0 pipe 6 ip from any to 10.1.1.32 via rl1
> > 00900        1         244 pipe 7 ip from 10.1.1.33 to any via rl1
> > 01000        0           0 pipe 8 ip from any to 10.1.1.33 via rl1
> > .....
> > 65535 29283699 12971416387 allow ip from any to any
> >
> > I read the third column like the user's traffic per IP.
> >
> > Is this right ?
> >
> > M0n0wall reset the "ipfw show" output only when I reboot the firewall
> > or  at another moment ?
> >
> > If I have the firewall run one month then I have with this
> output the monthly traffic ?
> >
> >
> > Thanks in advance
> >
> > roberto
> >
> > ---------------------------------------------------------------------
> > 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
> >
>
> ---------------------------------------------------------------------
> 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
>
>