Skip to Content
RADIUS
book

RADIUS

by Jonathan Hassell
October 2002
Intermediate to advanced
206 pages
8h 30m
English
O'Reilly Media, Inc.
Content preview from RADIUS

The Functionality

The mod_radius_auth module follows a predictable pattern in its use. A typical transaction occurs like this:

  1. The browser submits a page request for http://www.website.com/index.html.

  2. Apache sees that the directory is secured and sends an Authorization Required prompt (with spaces for the username and password) to the end user.

  3. The user responds to the authentication request with his credentials. The browser sends the response, and the same page request once again, to Apache.

  4. Apache receives the user’s response and hands it off to mod_auth_radius. The module sees that a cookie is not present (since this is the user’s first request.) It constructs a RADIUS request and transmits it to the RADIUS server.

  5. The RADIUS server performs the authentication and sends its response back to mod_auth_radius.

  6. mod_auth_radius interprets the RADIUS server’s decision. If the authentication was deemed successful, the module sends a cookie with the public and private information hidden using MD5. If the authentication was unsuccessful, the module returns an Access Denied message.

  7. The web browser sends the cookie with any other request. As long as mod_auth_radius recognizes the cookie as valid, it will not send another request to the RADIUS server.

The cookies that are set on the end user’s computer are valid for the lesser of the two values specified in the module’s configuration and the secured area’s configuration. The cookies also are killed when the browser ends, either by crash or via ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

FreeRADIUS Beginner's Guide

FreeRADIUS Beginner's Guide

Dirk van der
Perfecting Your Thinking Skills

Perfecting Your Thinking Skills

MIT Sloan Management Review
JUNOS High Availability

JUNOS High Availability

James Sonderegger, Orin Blomberg, Kieran Milne, Senad Palislamovic
The Definitive Guide to CentOS

The Definitive Guide to CentOS

Peter Membrey, Tim Verhoeven, Ralph Angenendt

Publisher Resources

ISBN: 0596003226Errata Page