Ok, one last thing
Reset = never ??
At 01:18 PM 9/5/2001 +0200, you wrote:
>Hi all
>
>We can do this in radiusd.conf
>
>DEFAULT Daily-Session-Time > 3600, Auth-Type = Reject
Actually, you put the DEFAULT into the 'users' file, but I think you
knew that.
>What are the keywords that are supported?
What do you mean by this? Can you expand your question? There are
examples and an explanation in the comments for this module in the
'radiusd.conf' file.
>Can we do DEFAULT Total-Session-Time > 3600, Auth-Type = Reject?
Yes, please read the docs, it tells you what you can change in the
'radiusd.conf' file.
You would want something similar to:
counter {
filename = ${raddbdir}/db.counter
key = User-Name
count-attribute = Acct-Session-Time
reset = monthly
counter-name = Daily-Session-Time
check-name = Total-Session-Time
allowed-servicetype = Framed-User
cache-size = 5000
}
Give it a try, and test it, don't be afraid to change values.
-Chris
--
\\\|||/// \ Chris Parker - Manager, Development Engineering
\ ~ ~ / \ WX *is* Wireless! \ [EMAIL PROTECTED]
| @ @ | \ http://www.starnetwx.net \ (847) 963-0116
oOo---(_)---oOo--\------------------------------------------------------
\ Without C we would have 'obol', 'basi', and 'pasal'
-
List info/subscribe/unsubscribe? See
http://www.freeradius.org/list/users.html
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html