Hi All,

I am using freeradius-0.9.3 with MySQL on a Red Hat 9.0 machine.
 
Anyone out there have a working config of freeradius using rlm_counter? I'm kinda bogged down at the moment trying to get this rlm_counter working. So far in my radiusd.conf file I have the following:
 
#Modules
#counter module

Max-Daily-Session := 180

Fall-Through = 1

.......................

Daily-Session-Time >=180, Auth-Type = Reject

Reply-Message = "You've used 2 your time of two minutes today!"

.....................

counter daily {

filename = ${raddbdir}/db.daily

key = User-Name

count-attribute = Acct-Session-Time

reset = daily

counter-name = Daily-Session-Time

check-name = Max-Daily-Session

allowed-servicetype = Framed-User

cache-size = 5000

}

.......................

#Instantiation

instantiate {

daily

}

......................

#Authorize

authorize {

counter

sql

counter

}

.......................

accounting {

counter

radutmp

sql

}

..................................

session {

radutmp

sql

}

.........................................
 

Thanx in advance.

Shannon

Reply via email to