Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 1999 02:59:42 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        Kurt Jaeger <pi@complx.LF.net>
Cc:        Tom <tom@sdf.com>, "Jean M. Vandette" <vandj@securenet.net>, freebsd-isp@FreeBSD.ORG
Subject:   Re: IP or packet Accounting Software for burst connections.
Message-ID:  <Pine.BSF.4.10.9911240250240.11412-100000@current1.whistle.com>
In-Reply-To: <m11qZnF-000zzVC@complx.LF.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 24 Nov 1999, Kurt Jaeger wrote:

> Hi!
> 
> > > > I was wondering if any one would know of a software that would
> > > > do packet or bandwidth accounting for billing a burstable connection,
> > > > and also something that would keep track of how many bytes a
> > > > client consumed during the period (month).
> 
> > > I modified tcpdump to do bean, ehr, packet/byte counting.
> 
> > > ftp://ftp.LF.net/pub/unix/systems/FreeBSD/sw/ipcount-19991106.tgz
> 
> > > It also requires sleepycat's/berkely DB, some 2.7.x version.
> 
> > > Basically, it will add up the bytes that match a given tcpdump expression,
> > > over a configurable interval.
> 
> >   That seems rather silly, since ipfw can do that already.
> 
> My bean-count-list is roughly 3000 records large. Will ipfw scale to
> that number of rules ? For 2-3 times 34mbit/sec ?
> 
> Did it do that in 1996, when I first did this modification ?

ipfw will not count bytes, just packets
as for performance.
you can branch using skipto 
so that you split your search list in binary manner and thus do 4096
different addresses while only actually running 13 rules. You'd have to
have a program to generate the ipfw ruleset.


> 
> -- 
> MfG/Best regards, Kurt Jaeger                                  21 years to go !
> LF.net GmbH        pi@LF.net            Oberon.net GmbH   pi@oberon.net
> Vor dem Lauch 23   fon +49 711 90074-23 Friedrich-Ebert-Str.1
> D-70567 Stuttgart  fax +49 711 7289041  40210 Duesseldorf fon +49 211 179253-11
> For Redmond: "nuke the site from orbit -- it's the only way to be sure."
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-isp" in the body of the message
> 



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911240250240.11412-100000>