This is a somewhat related question. Can I use an attribute that is not in the Stop record as the key for a monthly counter? For example, I would like to make the Ldap-UserDn attribute the key for the counter. Is there a way to make that value available to my counter? Thanks On Mon, 2006-03-13 at 22:05 +0100, Seferovic Edvin wrote:
Hi Lisa,
to make it short - when NAS tries to authorize the user, freeradius uses a simple counter modules ( sql or db file - depending on your setup ) to count the time information in specific time period. Since NAS sends start and stop time of a session ( and also the session duration ) freeradius is able to count the time and authorize the user if the time limit is NOT reached !
Hope this helps !
Regards,
Edvin
-----Original Message----- From: freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.org [mailto:freeradius-users-bounces+edvin.seferovic=kolp.at@lists.freeradius.or g] On Behalf Of Lisa Casey Sent: Montag, 13. März 2006 21:40 To: freeradius-users@lists.freeradius.org Subject: About Monthly Time Limits
Hi,
We are an ISP. As many ISP's do these days, we outsource our dialup numbers to wholesalers such as Megapops, etc. but we maintain our own radius servers. The wholesaler proxies radius requests to us.
The following is kind of hypothetical, but I need to know this in order to understand how all this works.
I have monthly time limits set up in my Freeradius. When customers login, where exactly does the information come from that tells Freeradius "This customer is OK, he has not used up his time limit yet" or "Reject this customer, he has used up his limit for this month". Is this dependent on something in the radius config at the wholesalers end, or is this info taken
from my db.monthly file?
Another way of asking this question (in case I'm not making myself clear which is always a possibility) is:
Does the wholesaler have to support monthly time limits or can I do it all from my end (whether or not the wholesaler supports such an attribute)?
Any info about how this process works will probably help clear up my thinking.
Thanks,
Lisa Casey
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html