Update documentation for the counter module
authorkkalev <kkalev>
Sat, 17 May 2003 09:41:13 +0000 (09:41 +0000)
committerkkalev <kkalev>
Sat, 17 May 2003 09:41:13 +0000 (09:41 +0000)
raddb/radiusd.conf.in

index 94cdc7b..1d259c2 100644 (file)
@@ -1040,6 +1040,7 @@ modules {
                attrsfile = ${confdir}/attrs
        }
 
+       #  counter module:
        #  This module takes an attribute (count-attribute).
        #  It also takes a key, and creates a counter for each unique
        #  key.  The count is incremented when accounting packets are
@@ -1051,6 +1052,12 @@ modules {
        #
        #  The 'reset' parameter defines when the counters are all reset to
        #  zero.  It can be hourly, daily, weekly, monthly or never.
+       #
+       #  hourly: Reset on 00:00 of every hour
+       #  daily: Reset on 00:00:00 every day
+       #  weekly: Reset on 00:00:00 on sunday
+       #  monthly: Reset on 00:00:00 of the first day of each month
+       #
        #  It can also be user defined. It should be of the form:
        #  num[hdwm] where:
        #  h: hours, d: days, w: weeks, m: months
@@ -1075,8 +1082,11 @@ modules {
        #  If check-name is set and the user is to be rejected then we
        #  send back a Reply-Message and we log a Failure-Message in
        #  the radius.log
+       #  If the count attribute is Acct-Session-Time then on each login
+       #  we send back the remaining online time as a Session-Timeout attribute
        #
-       #  The counter-name can also be used like below:
+       #  The counter-name can also be used instead of using the check-name
+       #  like below:
        #
        #  DEFAULT  Daily-Session-Time > 3600, Auth-Type = Reject
        #      Reply-Message = "You've used up more than one hour today"