I have the problem understanding how the counter module works. Lets say I want to
provide a Maximum Daily Session linit of 3600 seconds for a user on freeradius-0.7. Is
the following scenario right? (sorry I can't test it for the moment):
users file:
----------
DEFAULT Max-Daily-Session = 3600
Fall-Through = 1
John_D Password = "FZ768wRll", NAS-IP-Address = "214.32.39.2", Simultaneous-Use = 1
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 1500,
Idle-Timeout = 3600,
Port-Limit = 1
...
_________
radiusd.conf:
____________
...
counter {
filename = ${raddbdir}/db.counter
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
}
authorize {
counter
suffix
files
}
accounting {
detail
counter
unix
radutmp
}
session {
radutmp
}
---------------
If someone knows how to realize the same with "Daily-Session-Time" is appreciated too
Thank you
Oliver
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html