fair usage policy best practices
    Alan DeKok 
    aland at deployingradius.com
       
    Tue Oct  2 15:36:59 CEST 2018
    
    
  
On Oct 2, 2018, at 7:05 AM, Ali Arslan via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> My radius server should handle multiple NAS devices from multiple vendors (Cisco, Mikrotik, juniper).
> I want to implement FUP (fair usage policy),
> Every user may buy different rates and fair usage limits, after he/she downloads fair usage limit quantity the rate will be lower.
> 
> I see 2 options:
> 
> 1- An application that checks periodically the download quantities of users and and send SSH command to server to request CoA  from NAS like:
>     echo "User-Name={UserName}, Rate-Limit={RateLimit}" | radclient NAS-IP:coaPort CoA secret
  That's fine.  If you're sending only a few packets a second, it will be fine.
> 2- Unlang code in default site accounting section
  That works, too.
> In first option the check period should be low enough so that users wont download too much excess of their limit, this will hang server.
  Why would it hang the server?
> I need your suggestions about  best practices for FUP, and some instructions if second option is suggested.
  Both options are fine. For the second option, see sites-available/originate-coa.  This is documented in detail.
  Alan DeKok.
    
    
More information about the Freeradius-Users
mailing list