Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jun 2002 14:51:43 +0930
From:      Wincent Colaiuta <wincentcolaiuta@mac.com>
To:        freebsd-isp@FreeBSD.ORG
Cc:        Hans-Joachim Picht <hjp@lnxce.net>
Subject:   Re: Bandwidth billing and measurement scripts
Message-ID:  <1B02AF4B-8669-11D6-A31E-003065C60B4C@mac.com>
In-Reply-To: <20020622191521.GA1125@lnxce.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El Sunday, 23 June, 2002, a las 04:45  AM, Hans-Joachim Picht escribi=F3:

>> What I'd like it to do:
>> - run as an hourly cron job
>> - count incoming and outgoing bandwidth user per IP based on ipfw
>> "count" rules - this should give a totally accurate traffic count
>> without the need to resort to parsing mail, http and ftp logs (which
>> could get very messy)
>> - save ipfw output to disc for safe keeping
>
> A tool for that is already available. http://www.simon.org.ua/ipa/

Thanks for the reply Hans. I had already checked out IPA and found that=20=

it wasn't quite what I was looking for. I had two main problems with it:=20=

firstly it was written in C, and I don't know C so I can't modify it or=20=

add to it to make it how I would like; and secondly, I'm not so sure I'm=20=

entirely happy with how deep it digs down into the kernel. =46rom the =
IPA=20
FAQ:

> If you installed a new kernel or made some changes in the kernel, then=20=

> you should also rebuild ipa(8), becase it uses kernel structures and=20=

> they can be changed from one version of the operating system to =
another=20
> one, but see below.

Don't really feel like having to worry about my billing and invoicing=20
system breaking down when I rebuild the kernel. That's why I want to=20
stick with basic user-land accessible tools like Perl, sh and ipfw. In=20=

any case, I've done most of the scripting for my custom solution anyway=20=

now.

Cheers
Wincent


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?1B02AF4B-8669-11D6-A31E-003065C60B4C>