Expand description
RADIUS (RFC 2865 / RFC 2866) — Remote Authentication Dial-In User Service
Provides a RADIUS client for authenticating users against a RADIUS server (e.g. FreeRADIUS, Microsoft NPS, Cisco ISE). Supports Access-Request / Access-Accept / Access-Reject / Access-Challenge flows and basic accounting (RFC 2866).
§Protocol Overview
RADIUS uses UDP with a shared secret for packet authentication. The authenticator field is an MD5 hash that binds the request/response to the shared secret, providing integrity (but not confidentiality unless RadSec / TLS is used).
§Security Considerations
- The shared secret must be strong (≥16 random bytes recommended)
- User-Password attribute is encrypted with MD5(secret + authenticator)
- Consider RadSec (RADIUS over TLS, RFC 6614) for transport security
Modules§
Structs§
- Radius
Attribute - A RADIUS attribute (type-length-value).
- Radius
Auth Result - Result of a RADIUS authentication attempt.
- Radius
Client - RADIUS authentication and accounting client.
- Radius
Config - RADIUS client configuration.
- Radius
Packet - A RADIUS packet.