[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

12.1 Client Configuration

All programs from the client package share the same configuration file: ‘raddb/client.conf’. The file uses simple line-oriented syntax. Empty lines are ignored; the command ‘#’ introduces an end-of-line comment.

The source IP is introduced with the source_ip statement. Its syntax is:

 
source_ip ip-addr

where ip-addr must be the IP in dotted-quad notation.

The Radius server to send the requests to is introduced with server statement:

 
server name ip-addr secret auth-port acct-port

Its parts are:

name

The server name. It is reserved for further use.

ip-addr

The server IP.

secret

The shared secret to be used when sending requests to this server.

auth-port

The authentication port number.

acct-port

The accounting port number.

If several server statement are present, they are tried in turn until one of them replies to the request.

The amount of time a client program waits for the reply from a server is configured using the timeout statement:

 
timeout number

If the program does not receive any response within number seconds, it assumes the server does not respond and either retries the transmission or tries the next available server. The number of retries is set with the retry statement:

 
retry number

The example ‘raddb/client.conf’ follows:

 
server first 10.11.10.1 secret 1645 1646
server second 10.11.10.1 secret 1645 1646
source_ip 127.0.0.1
timeout 3
retry 5

[ < ] [ > ]   [ << ] [ Up ] [ >> ]

This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.