AAA Fundamentals: RADIUS vs. TACACS+
AAA provides a framework for access control, where TACACS+ is ideal for router administration because it encrypts the entire payload and separates authentication from authorization, unlike RADIUS.
What is AAA?
**AAA** stands for Authentication, Authorization, and Accounting. It's an architectural framework for configuring a set of independent security functions:
* **Authentication:** "Who are you?" Verifying user identity (e.g., passwords, biometrics). * **Authorization:** "What are you allowed to do?" Determining what resources the authenticated user can access or commands they can run. * **Accounting:** "What did you do?" Logging session statistics, commands entered, and time spent for auditing purposes.
RADIUS Protocol
**RADIUS** (Remote Authentication Dial-In User Service) is an open-standard protocol primarily used for network access (like 802.1X and VPNs).
* It uses UDP (ports 1812/1813 or 1645/1646). * It combines Authentication and Authorization into a single process. * Crucially, it only encrypts the password in the access-request packet; the rest of the payload is sent in cleartext.
TACACS+ Protocol
**TACACS+** (Terminal Access Controller Access-Control System Plus) is a Cisco-proprietary protocol mainly used for device administration (router/switch CLI access).
* It uses TCP (port 49), ensuring reliable delivery. * It strictly separates Authentication, Authorization, and Accounting. * It encrypts the entire payload of the packet, making it more secure than RADIUS.
❓ Frequently Asked Questions
What does AAA stand for?
Authentication, Authorization, and Accounting.
Which protocol encrypts the entire payload, RADIUS or TACACS+?
TACACS+ encrypts the entire payload, whereas RADIUS only encrypts the password.
Which transport protocols do RADIUS and TACACS+ use?
RADIUS uses UDP, while TACACS+ uses TCP.