Time based usage

tyllerd tyllerd at gmail.com
Tue Jun 1 20:30:43 CEST 2010


Hi

My company has purchased a radius server for our hotpspot solution. What I
am trying to in my free time is put together freeradius to do what out
current server does plus small things here and there that would make our
lives a little better.

What I am struggling with are time based cards. I have used the sqlcounters
in freeradius and have tried to use the noresetcounter counter and would set
it to, lets say 3600 seconds, this works except it leaves me with two
issues.

1 being that when the user logs in and has Max-All-Session set to 3600, he
can continue to surf until he logs off, if he tries to log in again
(assuming he has reached or passed 3600 seconds) he cannot log in. My
question is, is it possible to actaully disconnect him once he has reached
his Max-All-Session?

2 is how would I go about checking how much time a user has used or still
has available to him?

I apologies if it sounds like I am trying to be spoon fed, I just need some
sort of point in the correct direction as I think this is completely the
incorrect way to go about doing this.

Regards,
T
-- 
View this message in context: http://old.nabble.com/Time-based-usage-tp28745711p28745711.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.




More information about the Freeradius-Users mailing list