Thanks,
I was wondering the same, as i was allocating a min of 15mins at
session-time so the frequent disconnects are not a problem any more

thanks anyway, regards
Ripunjay Bararia


-----Original Message-----
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Sat, 24 Jan 2004 11:44:09 -0500
Subject: Re: How does one keep monthly download limits

> "ripunjay" <[EMAIL PROTECTED]> wrote:
> > i have been trying with perl scripts to limit the download my users
> can 
> > do per month,
> 
>   But it's difficult to do, because NAS boxes don't have support for
> that feature.  There's a Session-Timeout attribute, which the NAS uses
> to limit login time, but there's not "Session-Download" attribute.
> 
>   Any attempt to limit downloads will have problems, because you'll
> have to create hacks which won't work in many situations.
> 
> > Is there a way to handle this situation with FR > 0.9.3+.
> 
>   Not really.
> 
> > I was using a exec perl script to decide what should be the
> session-time 
> > per user based on the ammount of download left and the speed being 
> > allocated to the user. 
> 
>   Most users don't download at their full speed, so that's a bad
> number to use.
> 
> > The problem i face is the fact that at the begning of the download
> limit 
> > the session-time is like normal, 30-40min per session, but as total 
> > download limit is reached the session time always gets less and less
> to 
> > the extent of 15secs et al. at this poing the users start complaining
> > about the frequent disconnects they face.
> 
>   Your only other choice is to allow them to sometimes download more
> than their limit.  That will stop them getting 15s login times.
> 
>   Alan DeKok.
> 
> 
> - 
> List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html


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

Reply via email to