From owner-freebsd-isp Tue Nov 23 1:17:42 1999 Delivered-To: freebsd-isp@freebsd.org Received: from complx.LF.net (complx.LF.net [212.118.160.200]) by hub.freebsd.org (Postfix) with ESMTP id C567A14BE2 for ; Tue, 23 Nov 1999 01:17:38 -0800 (PST) (envelope-from pi@complx.LF.net) Received: by complx.LF.net (Smail3.2.0.106/complx.LF.net) via LF.net GmbH Internet Services from pi for freebsd-isp@FreeBSD.ORG for host hub.FreeBSD.ORG id m11qC3g-000zzTC; Tue, 23 Nov 1999 10:16:20 +0100 (CET) Message-Id: Subject: Re: IP or packet Accounting Software for burst connections. To: vandj@securenet.net (Jean M. Vandette) Date: Tue, 23 Nov 1999 10:16:20 +0100 (CET) From: "Kurt Jaeger" Cc: freebsd-isp@FreeBSD.ORG In-Reply-To: <4.2.0.58.19991122182643.00cf4210@ms.securenet.net> from "Jean M. Vandette" at Nov 22, 1999 06:43:41 PM X-NCC-RegID: de.lfnet MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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. After the end of each interval, it will dump a traffic matrix with into a plain ascii file. On our 2mbit link, the files for one month add up to approx. 120 MByte. Send a mail if you questions about it. -- 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