"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

Reply via email to