From owner-freebsd-isp Wed Nov 24 2:59:59 1999 Delivered-To: freebsd-isp@freebsd.org Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (Postfix) with ESMTP id 9D39A15001 for ; Wed, 24 Nov 1999 02:59:56 -0800 (PST) (envelope-from julian@whistle.com) Received: from current1.whiste.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id CAA84493; Wed, 24 Nov 1999 02:59:42 -0800 (PST) Date: Wed, 24 Nov 1999 02:59:42 -0800 (PST) From: Julian Elischer To: Kurt Jaeger Cc: Tom , "Jean M. Vandette" , freebsd-isp@FreeBSD.ORG Subject: Re: IP or packet Accounting Software for burst connections. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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