rlm_sqlcounter is what you need to use
in radius.conf look at counter section
also look at sqlcounter.conf
I'm sure there are some topics in the mail archive as well (but I wouldn't swear to it)
From: "Scott" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: freeradius+mysql prepaid (block time) Date: Tue, 26 Aug 2003 00:41:54 -0400
I have freeradius running and authenticating/accounting via mysql. Very slick.
I can see the accounting showing up in mysql with an accurate AcctSessionTime. Is there a way to keep a running total of these times per user and authenticate not only on the basis of password but also on the value of the total connection time?
I've searched the web and found some references to some python hacks but not
really come across anything concrete.
Thanks!
Scott
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
_________________________________________________________________
Tired of 56k? Get a FREE BT Broadband connection http://www.msn.co.uk/specials/btbroadband
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
