authorize users ( time + traffic )

Fajar A. Nugraha list at fajar.net
Wed Aug 22 15:13:36 CEST 2012


On Wed, Aug 22, 2012 at 7:39 PM, Ilaria De Marinis
<ilaria.demarinis at caspur.it> wrote:
> Thank you
>   I want to allow user to surf for 1 hour and for 300MB.

"AND" there as in "if a user have been online for 1 hour but total
traffic is only 100 MB, allow him/her to go online again with maximum
traffic of 200MB"?

If yes, you need to:
- make sure your NAS supports an attribute which limits connect time
by ammount of traffic (e.g. chllispot-based NAS supports
Chillispot-Max-Total-Octets), AND
- follow up Phil's advice on how to overide default module return codes

-- 
Fajar


More information about the Freeradius-Users mailing list