Book Image

FreeRADIUS Beginner's Guide

Book Image

FreeRADIUS Beginner's Guide

Overview of this book

The Open Source pioneers have proved during the past few decades that their code and projects can indeed be more solid and popular than commercial alternatives. With data networks always expanding in size and complexity FreeRADIUS is at the forefront of controlling access to and tracking network usage. Although many vendors have tried to produce better products, FreeRADIUS has proved over time why it is the champion RADIUS server. This book will reveal everything you need to know to get started with using FreeRADIUS. FreeRADIUS has always been a back-room boy. It's not easy to measure the size or number of deployments world-wide but all indications show that it can outnumber any commercial alternatives available. This essential server is part of ISPs, universities, and many corporate networks, helping to control access and measure usage. It is a solid, flexible, and powerful piece of software, but can be a mystery to a newcomer. FreeRADIUS Beginner's Guide is a friend of newcomers to RADIUS and FreeRADIUS. It covers the most popular Linux distributions of today, CentOS, SUSE, and Ubuntu, and discusses all the important aspects of FreeRADIUS deployment: Installing, configuring and testing; security concerns and limitations; LDAP and Active Directory integration. It contains plenty of practical exercises that will help you with everything from installation to the more advanced configurations like LDAP and Active Directory integration. It will help you understand authentication, authorization and accounting in FreeRADIUS. It uses many practical step-by-step examples, which are discussed in detail to lead you to a thorough understanding of the FreeRADIUS server as well as the RADIUS protocol. A quiz at the end of each chapter validates your understanding.Not only can FreeRADIUS be used to monitor and limit the network usage of individual users; but large deployments are possible with realms and fail-over functionality. FreeRADIUS can work alone or be part of a chain where the server is a proxy for other institution's users forwarding requests to their servers. FreeRADIUS features one of the most versatile and comprehensive Extensible Authentication Protocol (EAP) implementations. EAP is an essential requirement to implement enterprise WiFi security. FreeRADIUS Beginner's Guide covers all of these aspects.
Table of Contents (16 chapters)
15
Index

This section takes the recommendations and instructions from the following FreeRADIUS Wiki page to create the latest RPMs on CentOS:

http://wiki.freeradius.org/Red_Hat_FAQ#How_to_build_an_SRPM

You have to be the root user to execute most of these commands. Once that is done, follow these steps:

  1. Install the rpm-build package. This creates the directory structure required for package building:
    #> yum install rpm-build
    
  2. Allow write and execute rights for normal users on this directory structure:
    #> find /usr/src/redhat -type d | xargs chmod a+wx
    
  3. The latest version of FreeRADIUS will be available for Fedora. We will use this version to build the RPMs on CentOS. Download the source RPM from the following URL:

    http://koji.fedoraproject.org/koji/packageinfo?packageID=298

    The source RPM package's name ends with .src.rpm.

  4. Install this source package. Use the following command as an example. Your source package's name will be different:
    #> rpm...