Next: usedbm statement, Previous: auth statement, Up: Run-Time Configuration Options — raddb/config [Contents][Index]
acct statementacct {
listen ( addr-list | no );
forward addr-list ;
port number ;
detail bool;
system bool;
max-requests number ;
time-to-live number ;
request-cleanup-delay number ;
compare-atribute-flag character ;
trace-rules bool ;
} ;
The acct statement configures the parameters of the accounting
service.
listen statementThis statement determines on which addresses radiusd will listen for incoming accounting requests. Its argument is a comma-separated list of items in the form ip:port-number. ip can be either an IP address in familiar “dotted-quad” notation or a hostname. :port-number part may be omitted, in which case the default accounting port is assumed.
If the listen statement is omitted, radiusd will accept incoming
requests from any interface on the machine.
The special value no disables listening for accounting
requests.
The following example configures radius to listen for the incoming requests on the default accounting port on the address 10.10.10.1 and on port 1646 on address 10.10.11.2.
listen 10.10.10.1, 10.10.11.2:1646;
forward statementThis statement enables forwarding of the requests to the given set of servers. Forwarding is an experimental feature of GNU Radius, it differs from proxying in that the requests are sent to the remote server (or servers) and processed locally. The remote server is not expected to reply.
This mode is intended primarily for debugging purposes. It could also be useful in some very complex and unusual configurations.
portSets the number of which port to listen for the authentication requests.
max-requestsSets the maximum number of accounting requests in the queue. Any surplus requests will be discarded.
time-to-liveSets the request time-to-live in seconds. The time-to-live is the time to wait for the completion of the request. If the request job isn’t completed within this interval of time it is cleared, the corresponding child process killed and the request removed from the queue.
request-cleanup-delaySets the request cleanup delay in seconds, i.e. determines how long will the completed account request reside in the queue.
detailWhen set to no, disables detailed accounting
(see Detailed Request Accounting).
systemWhen set to no, disables system accounting (see System Accounting). Notice, that this will disable simultaneous use checking
as well, unless you supply an alternative MLC method (currently
SQL, See Multiple Login Checking, for the detailed discussion
of this).
trace-rulesEnables tracing of the configuration rules that were matched during processing of each received accounting request. See Rule Tracing, for detailed information about this mode.
compare-attribute-flagThe argument to this statement is a character from ‘1’ through ‘9’. This statement modifies the request comparison method for authentication requests. See Extended Comparison, for a detailed description of its usage.
Next: usedbm statement, Previous: auth statement, Up: Run-Time Configuration Options — raddb/config [Contents][Index]