Alan DeKok wrote:
Try adding those attributes to the dictionary. Pick some someOk, now I have the following as a entry in the users file
greater than 2000 for their value, and 'integer' for their type.
grunky User-Password == "blahblah", RAD-Monthly-Session-Time := 60
User-Service = Framed-User,
Framed-Protocol = PPP,
Framed-Routing = None,
Ascend-Assign-IP-Pool = 1,
Ascend-Idle-Limit = 1800,
Framed-Compression = Van-Jacobson-TCP-IP,
Ascend-Maximum-Time = 43200,
Ascend-Maximum-Channels = 1
and the below in the dictionary.compat file, the value was set intentially low for testing purposes.
#put in to limit monthly users usage
ATTRIBUTE RAD-Monthly-Session-Time 90 integer
and the following in the radiusd.conf file
counter countermonthly {
filename = ${raddbdir}/db.monthly
key = User-Name
count-attribute = Acct-Session-Time
reset = monthly
counter-name = RAD-Monthly-Session-Time
check-name = RAD-Max-Monthly-Session-Time
allowed-servicetype = Framed-User
cache-size = 5000
}
While radius does start and the user grunky is authenticated. The user grunky should be kicked off in rather short order. This does not happen and the db.monthly file is not being written to. After I created it w/ the proper permissions its still a zero byte file.
--
Rock River Internet Roger Grunkemeyer
202 W. State St, 8th Floor [EMAIL PROTECTED]
Rockford, IL 61101 815-968-3888
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
