Freeradius en Part1 PDF
Freeradius en Part1 PDF
RADIUS Server
Aurélien Geron, Wifirst, January 7th 2011
• An Open-Source
(GPLv2) server
• A powerful configu-
ration system
• Many expansion
modules
• An Open-Source
(GPLv2) server
• A powerful configu-
ration system
• Many expansion
modules
• An Open-Source
(GPLv2) server
• A powerful configu-
ration system
• Many expansion
modules
Users
Authentication requests
RADIUS Server
• Or some switches
• Or WiFi access-points
vendredi 21 janvier 2011
AAA Server
• A RADIUS Server is a AAA server, because it
handles:
Redundent
servers
Default UDP
ports
Fairly simple
error handling
Other details
The secret allows the RADIUS server to identify the NAS
vendredi 21 janvier 2011
RADIUS Dialog Example
RADIUS
User RADIUS Server
Any protocol protocol
Authentication Authentication
+
Authorization
Success
The user
may access
the network
through the
NAS
Time
Authentication
Challenge
Challenge response
Challenge
Challenge response
Success
Time
vendredi 21 janvier 2011
The RADIUS protocol
• It is defined in several RFCs:
• Example : User-Name="alain"
vendredi 21 janvier 2011
Attribute-Value Pairs
• The attributes are defined and numbered in the RFCs
• The user’s system requires the user to type his password, then it
calculates an MD5 hash of that password + the challenge + a
CHAP response identifier
• The hash is sent to the NAS, which then sends the CHAP-
Identifier + the hash to the RADIUS server within a CHAP-
Password attribute...
• Cons: the RADIUS server must have access to the user’s cleartext
password in order to be able to check the received hash
vendredi 21 janvier 2011
EAP Methods
• The Extensible Authentication Protocol was defined to
overcome the shortcomings of PAP and CHAP, allowing
higher security and flexibility
• During the EAP dialog, the client (ie. the user) gives his
identity to the server, then an authentication method is
negociated with the server, and finally the
authentication itself takes place.
vendredi 21 janvier 2011
EAP Dialog
User Authentication Server
Identity ?
«Alain» ?
Token card ?
No, but certificate
Ok, certificate
Certificate exchange
Verification
Success or Failure
Time
• Between the user and the NAS, the EAPoL (EAP over
LAN) protocol is used
over
Network
User over
Identity ?
«anonymous»
PEAP authentication
...
...
vendredi 21 janvier 2011
PEAP on Windows
• Realm : the part of the user’s login that allows the server
to tell what his Home-Network is: