[EMAIL PROTECTED] escreveu:

Hi All,

I have a real problem here and looking for a solution.

User A has Paid for 1 hour time.

User logged in and used 50 mins of it’s time

Then he logged in and start using 51 mins onwards.

In theory he should be allowed to use 10 mins of remaining time but once logged in he can use infinite amount of time until disconnected.

My system doesn’t check user stats until he comes back next time.

Are there any Radius attributes which could update User statistics each min?

Look for the rlm_counter or rlm_sqlcounter module and the Max-All-Session attribute. This will do exactly what you want - disconnect the user when all time is used up.

Hope that helps,
Keith Yoder

- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to