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>
index | next in thread | previous in thread | raw e-mail
El Sunday, 23 June, 2002, a las 04:45 AM, Hans-Joachim Picht escribió: >> 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 it wasn't quite what I was looking for. I had two main problems with it: firstly it was written in C, and I don't know C so I can't modify it or add to it to make it how I would like; and secondly, I'm not so sure I'm entirely happy with how deep it digs down into the kernel. From the IPA FAQ: > If you installed a new kernel or made some changes in the kernel, then > you should also rebuild ipa(8), becase it uses kernel structures and > they can be changed from one version of the operating system to another > one, but see below. Don't really feel like having to worry about my billing and invoicing system breaking down when I rebuild the kernel. That's why I want to stick with basic user-land accessible tools like Perl, sh and ipfw. In any case, I've done most of the scripting for my custom solution anyway now. Cheers Wincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B02AF4B-8669-11D6-A31E-003065C60B4C>
