Authentication, Authorization, and Accounting (AAA) is an architectural framework to gain access to computer resources, enforcing policies, auditing usage, to provide essential information required for billing of services and other processes essential for network management and security. This process is mainly used so that network and software application resources are accessible to some specific and legitimate users. Two widely accepted AAA protocols are RADIUS and TACACS+.
Authentication
For the user to perform certain tasks or to issue commands to the network, he must gain authorization. It determines the extent of access to the network and what type of services and resources are accessible by the authenticated user. Authorization is the method of enforcing policies.
Authorization
For the user to perform certain tasks or to issue commands to the network, he must gain authorization. It determines the extent of access to the network and what type of services and resources are accessible by the authenticated user. Authorization is the method of enforcing policies.
Accounting
In this stage, the usage of system resources by the user is measured: Login time, Data Sent, Data Received, and Logout Time. Accounting Process is carried out by logging out the session statistics and usage information and is used for authorization control, billing, resource utilization.
RADIUS and TACACS+
The main differences between RADIUS and TACACS+ can be tabulated as below.
RADIUS | TACACS+ |
---|---|
RADIUS uses UDP as Transport Layer Protocol | TACACS+ uses TCP as Transport Layer Protocol |
RADIUS uses UDP ports 1812 and 1813 / 1645 and 1646 | TACACS+ uses TCP port 49 |
RADIUS encrypts passwords only | TACACS+ encrypts the entire communication |
RADIUS combines authentication and Authorization | TACACS+ treats Authentication, Authorization, and Accountability differently |
RADIUS is an open protocol supported by multiple vendors | Mainly used for Network Access |
RADIUS is a light-weight protocol consuming less resources | Mainly used for Network Access |
RADIUS is limited to privilege mode | TACACS+ supports 15 privilege levels |
Mainly used for Network Access | Mainly used for Device Administration |
Pros & Cons
The Prons:
- AAA framework increases the scalability of a network: Scalability is the property of a system to handle a growing amount of work by adding resources to the system.
- It causes increased flexibility and better control of the network.
- It helps maintain standard protocols in the network.
- RADIUS allows for unique credentials for each user.
- IT Admins will have a central point for the user and system authentication.
The Cons:
- On RADIUS Servers, Configuration and Initial setup can be complicated and time-consuming.
- It is a very hard choice to determine which is the best RADIUS server software and implementation model for your organization.
- Maintenance can be difficult and time-consuming for on-prem hardware.