Time based usage

liran tal liransgarage at gmail.com
Wed Jun 2 00:23:28 CEST 2010


   1. I don't understand what's the problem you're describing.
   Whatever amount the user has used, whenever the user conencts back the
   NAS should get an accurate
   Session-Timeout value to count-down from, hence the NAS should take care
   of enforcing the connection
   time (thus, disconnecting the user when the time is up).
   2. Simply substract the total accounting record's AcctSessionTime from
   the total alotted session time
   you specified.

You may use daloRADIUS as the management platform for easier
web-based management.


On Tue, Jun 1, 2010 at 9:30 PM, tyllerd <tyllerd at gmail.com> wrote:

> 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.
> -
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100602/56eeff42/attachment.html>

More information about the Freeradius-Users mailing list