> I have freeradius running and authenticating/accounting via mysql. Very > slick.
Me too :) > 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 did the following: For auth, I used Exec-Program-Wait for every user. The script that gets executed calculates the left time and volume realtime. For acct, I used Exec-Program which updates the total used amount of the user realtime. > I've searched the web and found some references to some python hacks but not > really come across anything concrete. I didn't find anything either, except that there's a Perl module in FreeRadius 0.9.0, but still unstable and not compiled in by default. When I have time, I'll give the Perl module a try. Regards, Thor. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
