Max-Octets

Brent brent at wilbru.com
Fri May 20 13:51:12 CEST 2011


Please help i`ve configured the follow to enforce data limmits per user , 

sqlcounter noresetBytecounter { 
            counter-name = Total-Max-Octets 
            check-name = Max-Octets 
            reply-name = ChilliSpot-Max-Total-Octets 
            sqlmod-inst = sql 
            key = User-Name 
            reset = never 
            query = "SELECT (SUM(AcctInputOctets)+SUM(AcctOutputOctets))
FROM radacct WHERE UserName='%{%k}'" 
        } 

However it is not disconecting the user from the network once limmit has
been reached , however if i log the user out and back in it then says user
limmit reached , 


Any ideas on how i can disconect the user , 


PS : i have added chillispots dictionary to freeradius dictionary 


Many Thanks 

Brent 
 



--
View this message in context: http://freeradius.1045715.n5.nabble.com/Max-Octets-tp4412382p4412382.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.



More information about the Freeradius-Users mailing list