Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 1999 14:18:08 -0500
From:      Dan Nelson <dnelson@emsphone.com>
To:        Dan Larsson <support@junglenote.com>
Cc:        "[FreeBSD-ISP-List] (E-post)" <freebsd-isp@FreeBSD.ORG>, "[FreeBSD-Questions-List] (E-post)" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: how-to setup billing per MB?
Message-ID:  <19991012141808.A5946@dan.emsphone.com>
In-Reply-To: <01BF14F3.EC53B320.support@junglenote.com>
References:  <01BF14F3.EC53B320.support@junglenote.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Oct 12), Dan Larsson said:
> My employer wants me to implement billing per MB.
> 
> * I need to be able to set some kind of MB threshold value for when
>    billing should occur
> * All clients have static IP addresses so it has to be based on per ethernet address (if possible)
>   or per IP address

You can set up ipfw rules to count the packets going to each IP, then
every hour/day store the counts in a database somewhere, and base your
billing off of that.

-- 
	Dan Nelson
	dnelson@emsphone.com


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991012141808.A5946>