Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2002 12:55:26 -0700
From:      Derrick John Klise <derrick@lumiere.net>
To:        security@freebsd.org
Subject:   Re: bandwidth monitoring tools ?
Message-ID:  <20020513125526.A9334@leaf.lumiere.net>
In-Reply-To: <20020513183701.GA27548@chocobo.cx>; from chip@chocobo.cx on Mon, May 13, 2002 at 02:37:01PM -0400
References:  <034901c1fa98$509ddae0$fd6e34c6@mlevy> <20020513183701.GA27548@chocobo.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, May 13, 2002 at 02:37:01PM -0400, Chip Marshall wrote:
> On May 13, 2002, Moti sent me the following:
> > I'm interested in ip bandwidth reporting.
> > basically I have a client who's using part of my t1 and I want to know how
> > much bandwidth he's taking.
> > the gateway is FreeBSD stable and I'm using ipf/ipnat as my firewall.
> > I know I can use ucd-snmp for statistics and ipfm for ip based logging
> > i'm wondering what other people are using and how.
> > is there anyone using trafd ? ipband ?
> 
> I know some people use count rules with ipfw to do such a thing. I
> don't know if ipf has a similar mechanism for counting packets and
> bytes.
> 

IP Filter does have an accounting rules,

   # accounting
   count in  from any to CUSTOMER
   count out from CUSTOMER to any

would keep track of how many bytes are sent to and from CUSTOMER. You
can then get the statistics gathered with `ipfstat -aio`.

-- 
Derrick John Klise			<derrick@lumiere.net>
"I went into a general store, and they wouldn't sell me anything
specific".  -- Steven Wright

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020513125526.A9334>