09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

makes it easier <strong>to</strong> configure, because <strong>the</strong> server only needs <strong>to</strong> know<br />

about one interface.<br />

Setting Up RADIUS<br />

RADIUS is a client/server communications pro<strong>to</strong>col used in<br />

au<strong>the</strong>ntication and accounting. Clients (routers, access servers, and<br />

so on) forward user connection information <strong>to</strong> <strong>the</strong> RADIUS server,<br />

where <strong>the</strong> user's access is verified. User information or profiles are<br />

s<strong>to</strong>red on <strong>the</strong> RADIUS server as a collection of attribute-value pairs<br />

that describe <strong>the</strong> user's access privileges. These attribute-values are<br />

in part defined as part of <strong>the</strong> RADIUS pro<strong>to</strong>col. There are about 50<br />

standard attributes, plus an innumerable amount of vendor-specific<br />

attributes.<br />

If you are planning <strong>to</strong> use a free RADIUS version, you will be running<br />

it on UNIX. The best source for <strong>the</strong> code is at Merit. Many UNIX<br />

implementations come with prebuilt RADIUS implementations that<br />

are just fine. However, you cannot adjust how <strong>the</strong> daemon behaves if<br />

you do not have <strong>the</strong> source code, and RADIUS does support some<br />

different compiling options. Depending on <strong>the</strong> version of RADIUS you<br />

have, <strong>the</strong> binary will be located in /etc/raddb/radiusd or<br />

/usr/private/etc/radiusd. If <strong>the</strong> binary code is not in ei<strong>the</strong>r of<br />

<strong>the</strong>se places, you can use <strong>the</strong> UNIX command <strong>to</strong> find it. The<br />

direc<strong>to</strong>ry where RADIUS looks for its configuration files is built in<strong>to</strong> <strong>the</strong><br />

daemon. The default (again it depends on <strong>the</strong> version) is /etc/raddb<br />

or /usr/private/etc/raddb. The default can be changed using a<br />

flag when you start <strong>the</strong> RADIUS daemon, which is usually part of <strong>the</strong><br />

system's startup scripts.<br />

To start RADIUS from /etc/rc.local, use<br />

if [ -f /etc/raddb/users -a -f /usr private/etc/users ]; <strong>the</strong>n<br />

echo -n 'radiusd'; radiusd<br />

fi<br />

RADIUS s<strong>to</strong>res its logfile in its home direc<strong>to</strong>ry, etc/raddb.<br />

Accounting files are s<strong>to</strong>red in /var/account/radius. This, like its<br />

home direc<strong>to</strong>ry, can be changed in <strong>the</strong> source code or with a flag.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!