Tutorial 3.15: Internet Authentication Applications

Table of Contents

Learning Objectives

After completing this tutorial, you should be able to:

Overview

In the previous tutorials, we have explored authentication protocols for user access to systems and applications— Kerberos for enterprise networks, SAML and OIDC for web-based federation. However, authentication is not limited to user-to-application interactions. Network infrastructure itself—routers, switches, firewalls, VPN gateways, and wireless access points—requires robust authentication mechanisms to control access and manage administrative sessions. This tutorial focuses on the Internet Authentication Applications that provide Authentication, Authorization, and Accounting (AAA) services for network access: RADIUS, TACACS+, and Diameter.

These protocols are foundational to network security. They enable centralized management of authentication and authorization policies, allowing organizations to enforce consistent security controls across diverse network infrastructure. Without these protocols, network administrators would need to manage credentials and permissions on each device individually—a task that quickly becomes unmanageable in any organization of significant size.

We begin with RADIUS (Remote Authentication Dial-In User Service), the most widely deployed AAA protocol. Developed in the 1990s for dial-up access, RADIUS has evolved to support a broad range of network access scenarios, including VPNs, wireless (802.1X), and switch/router management. We examine its architecture, message formats, attribute types, and authentication methods (PAP, CHAP, EAP). We also discuss RADIUS proxying and its use in enterprise wireless authentication.

We then explore TACACS+ (Terminal Access Controller Access Control System Plus), a Cisco-developed protocol that provides separate authentication, authorization, and accounting services. TACACS+ is primarily used for network device administration (e.g., router and switch access). We analyze its architecture, message exchange, and key features—including the separation of AAA functions and encryption of the entire payload—and compare it with RADIUS.

We then examine Diameter, a more recent protocol designed to address the limitations of RADIUS, particularly in mobile and IP multimedia environments. Diameter is used in LTE/5G networks, IP Multimedia Subsystems (IMS), and by many large-scale service providers. We discuss its architecture, applications, and how it improves upon RADIUS.

The tutorial concludes with case studies illustrating the use of RADIUS in enterprise wireless networks, TACACS+ for network device administration, and Diameter in a mobile telecommunications environment. By the end of this tutorial, you will have a comprehensive understanding of the protocols that secure network infrastructure access.

1. Introduction to Internet Authentication Applications

1.1 What Are Internet Authentication Applications?

Internet Authentication Applications are protocols that provide AAA (Authentication, Authorization, and Accounting) services for network access. They enable centralized management of user access to network resources, ensuring that only authorized users and devices can connect to the network, and that their activities are logged for audit and billing purposes.

The three primary protocols in this domain are:

1.2 The AAA Framework in Network Access

1.3 Centralized vs. Distributed Authentication

Without a central AAA system, each network device (router, switch, access point) must maintain its own user database. This is difficult to manage, inconsistent, and insecure. Centralized AAA, using protocols like RADIUS and TACACS+, allows organizations to manage authentication policies from a single server, improving security and operational efficiency.

Key Takeaway: Internet Authentication Applications provide centralized AAA services for network access, enabling consistent security policies and scalable administration.

2. RADIUS – Remote Authentication Dial-In User Service

2.1 Overview

RADIUS (Remote Authentication Dial-In User Service) is a networking protocol that provides centralized AAA services for users who connect to a network. It was originally developed by Livingston Enterprises for dial-up PPP access and later standardized in RFC 2865 (Authentication) and RFC 2866 (Accounting). RADIUS is widely used for VPN, wireless (802.1X), and network device authentication.

2.2 RADIUS Architecture

┌─────────────────────────────────────────────────────────────────────────────┐ │ RADIUS ARCHITECTURE │ ├─────────────────────────────────────────────────────────────────────────────┤ │ │ │ ┌────────────┐ RADIUS ┌────────────────────┐ │ │ │ NAS / │─── Messages ──►│ RADIUS Server │ │ │ │ Access │ │ (Authentication │ │ │ │ Point │◄── Responses ──│ + Authorization │ │ │ └────────────┘ │ + Accounting) │ │ │ │ └──────────┬─────────┘ │ │ │ │ │ │ ┌─────┴─────┐ ┌─┴─┐ │ │ │ User │ │ DB│ │ │ │ (Client) │ │ │ │ │ └───────────┘ └───┘ │ │ │ └─────────────────────────────────────────────────────────────────────────────┘

Figure 1: RADIUS architecture with client (NAS), server, and backend database.

2.3 Authentication Methods

RADIUS supports various authentication methods, which are negotiated between the client and server:

2.4 RADIUS Security

Note: RADIUS over UDP uses ports 1812 (authentication) and 1813 (accounting). Older implementations may use ports 1645 and 1646, which are now deprecated.
Key Takeaway: RADIUS is a widely deployed AAA protocol for network access. It uses a client-server model with a shared secret for security, but has limitations in confidentiality and reliability.

3. RADIUS Messages and Attributes

3.1 RADIUS Message Structure

A RADIUS message consists of a header and a variable number of attributes.

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Code | Identifier | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Authenticator | | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Attributes ... +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

3.2 Common RADIUS Attribute Types

Attribute Type Code Description
User-Name1The username of the user.
User-Password2The user's password (encrypted).
CHAP-Password3CHAP response (challenge + hash).
NAS-IP-Address4IP address of the NAS.
Service-Type6Type of service requested (e.g., Framed, Login).
Framed-IP-Address8IP address to assign to the user.
Framed-MTU12Maximum Transmission Unit for the user.
State24Used for stateful authentication (e.g., EAP).
Session-Timeout27Maximum session duration.
Idle-Timeout28Maximum idle time before disconnect.
Called-Station-Id30Called number (e.g., SSID for wireless).
Calling-Station-Id31Calling number (e.g., MAC address for wireless).
EAP-Message79Encapsulates EAP packets.
Message-Authenticator80Used for EAP and improved security.

3.3 RADIUS Proxy

RADIUS supports proxying, where a RADIUS client forwards requests to a RADIUS proxy, which then forwards them to a RADIUS server. This is useful in scenarios like:

4. RADIUS Operations and Network Access

4.1 Authentication Flow

  1. User connects to the NAS (e.g., wireless access point).
  2. NAS sends an Access-Request to the RADIUS server with the user's credentials (username, password, etc.).
  3. RADIUS server validates the credentials against its user database.
  4. If valid, the server sends an Access-Accept with authorization attributes (e.g., VLAN, IP address).
  5. If invalid, the server sends an Access-Reject.
  6. Accounting: NAS sends Accounting-Start/Stop messages to the RADIUS server.

4.2 802.1X and Enterprise Wireless Authentication

In enterprise Wi-Fi networks, RADIUS is used with 802.1X (Port-Based Network Access Control). The typical flow is:

The access point acts as a RADIUS client, forwarding EAP messages from the supplicant to the RADIUS server. The RADIUS server performs the authentication (e.g., using EAP-TLS, PEAP, or EAP-MSCHAPv2) and sends an Access-Accept or Access-Reject. This provides strong, centralized authentication for wireless networks.

4.3 RADIUS Accounting

RADIUS accounting messages (Accounting-Request, Accounting-Response) are used to track user sessions. Accounting attributes include:

Key Takeaway: RADIUS provides comprehensive AAA services for network access, including authentication (via PAP, CHAP, EAP), authorization (via attributes), and accounting (session logging). It is a cornerstone of enterprise network security.

5. TACACS+ – Terminal Access Controller Access Control System Plus

5.1 Overview

TACACS+ (Terminal Access Controller Access Control System Plus) is a Cisco-developed protocol that provides AAA services for network device administration (e.g., router, switch, firewall access). Unlike RADIUS, TACACS+ separates the three AAA functions (Authentication, Authorization, Accounting) into independent services, providing greater flexibility. It also encrypts the entire packet payload, not just the password.

5.2 Architecture

TACACS+ uses TCP (port 49) for reliable communication, unlike RADIUS which uses UDP.

5.3 TACACS+ Features

5.4 TACACS+ Message Exchange

TACACS+ uses a three-phase negotiation:

  1. Start: Client sends a START message indicating the service (e.g., login).
  2. Continue: Server sends a response (e.g., challenge); client responds with credentials.
  3. Finish: Server sends a PASS or FAIL message.

This process is similar to a challenge-response, but the messages can be encrypted. TACACS+ also supports an "authorization only" mode, where the client requests authorization for a specific command.

6. TACACS+ Message Structure

6.1 TACACS+ Header

0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Major Version | Minor Version | Type | Sequence | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Flags (16 bits) | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

6.2 TACACS+ Body

The body contains the actual AAA data. For authentication, it includes fields like username, password, and remote address. For authorization, it includes the command to be authorized. For accounting, it includes session details. The body is encrypted using a key derived from the shared secret, providing confidentiality.

7. Comparison: RADIUS vs. TACACS+

Feature RADIUS TACACS+
Transport UDP (ports 1812/1813) TCP (port 49)
AAA Separation Combined (authentication and authorization are often combined in Access-Request/Access-Accept) Separate (authentication, authorization, accounting are independent)
Encryption Only password (PAP) is encrypted; other attributes are in cleartext Full payload encryption
Granular Authorization Limited to session-level attributes (e.g., VLAN, IP) Per-command authorization (e.g., specific router commands)
Reliability UDP (connectionless, no guarantee of delivery) TCP (reliable, connection-oriented)
Authentication Methods PAP, CHAP, EAP PAP, CHAP, MS-CHAP, EAP, etc.
Use Cases Network access (VPN, wireless, switch authentication) Device administration (router, switch, firewall access)
Proprietary Open standard (RFC 2865/2866) Cisco proprietary (but widely supported)
Important: While TACACS+ is often considered more secure and flexible for device administration, RADIUS remains the dominant protocol for network access due to its widespread support and integration with 802.1X.

8. Diameter Protocol

8.1 Overview

Diameter is a AAA protocol designed to overcome the limitations of RADIUS. It was developed by the IETF and standardized in RFC 6733 (Diameter Base Protocol). Diameter is used primarily in mobile networks (LTE/5G), IP Multimedia Subsystems (IMS), and by large-scale service providers. It provides a more robust, extensible, and scalable framework than RADIUS.

8.2 Architecture

8.3 Key Features

8.4 Diameter Applications

Diameter is extended through "applications" that define specific message sets and AVPs for particular use cases:

9. Comparison: RADIUS vs. Diameter

Feature RADIUS Diameter
Transport UDP (unreliable) TCP or SCTP (reliable)
Security Shared secret, password encryption only IPsec/TLS, full payload encryption
Session State Stateless Stateful (supports sessions)
Attribute Space 8-bit attribute type (255 max) 32-bit AVP (4 billion+)
Peer Discovery Manual (pre-configured clients/servers) Dynamic (peer discovery, capability negotiation)
Error Handling Limited (only Access-Reject/Response) Comprehensive error codes and reporting
Extensibility Limited (vendor-specific attributes) Extensible (via applications)
Use Cases Enterprise network access, VPN, wireless Mobile (LTE/5G), IMS, service provider networks

10. Case Studies and Real-World Applications

10.1 Case Study: Enterprise Wireless Authentication with RADIUS

Background: A large university with 30,000 students and 5,000 staff deploys a campus-wide Wi-Fi network using 802.1X and RADIUS.

Architecture:

Outcome: Students and staff authenticate using their university credentials. The network provides secure, authenticated access with centralized management.

10.2 Case Study: Network Device Administration with TACACS+

Background: A financial services company manages hundreds of routers, switches, and firewalls. They need fine-grained control over who can access these devices and what commands they can execute.

Solution:

Outcome: The company achieves strict control over network device access, with detailed audit trails for all administrative actions.

10.3 Case Study: Diameter in 5G Networks

Background: A mobile network operator (MNO) deploys a 5G network. The core network uses Diameter for AAA services, including subscriber authentication (S6a interface between MME and HSS).

Architecture:

Outcome: Diameter provides secure, reliable, and scalable AAA for millions of subscribers, supporting the complex requirements of 5G networks.

11. Summary and Transition

This tutorial provided a comprehensive exploration of Internet Authentication Applications—the protocols that secure network infrastructure access. We began by introducing the AAA framework and the need for centralized authentication in networks. We then examined RADIUS, the most widely deployed network AAA protocol, covering its architecture, messages, operations, and use in enterprise wireless (802.1X). We explored its security model, including shared secrets and encryption limitations.

We then examined TACACS+, a Cisco-developed protocol for device administration, highlighting its separation of AAA functions, full payload encryption, and granular command authorization. We compared RADIUS and TACACS+, showing how each is suited to different use cases—RADIUS for network access, TACACS+ for device administration.

Finally, we explored Diameter, a more modern protocol that overcomes many of RADIUS's limitations, offering reliable transport, full encryption, session state, and extensibility. Diameter is used in mobile networks (LTE/5G), IP multimedia systems, and large-scale service provider environments.

The case studies illustrated the real-world application of these protocols: RADIUS in university wireless networks, TACACS+ in enterprise network administration, and Diameter in 5G networks.

This tutorial has equipped you with a comprehensive understanding of the protocols that secure network infrastructure access. In the next tutorial, Tutorial 3.16, we will explore OAuth, OpenID Connect, and Modern Identity Systems, delving deeper into the protocols that underpin modern web authentication and federation.

Quiz

Answer the following questions to check your understanding. Click the "Answer" button to reveal the solution.

Q1. Which protocol is the most widely deployed AAA protocol for network access?

Answer
C) RADIUS is the most widely deployed AAA protocol for network access.

Q2. Which transport protocol does RADIUS use?

Answer
B) RADIUS uses UDP (ports 1812/1813).

Q3. Which protocol separates authentication, authorization, and accounting into independent services?

Answer
B) TACACS+ separates AAA functions into independent services.

Q4. In RADIUS, which attribute is used to encapsulate EAP packets?

Answer
A) EAP-Message (79) encapsulates EAP packets.

Q5. Which protocol encrypts the entire payload, not just the password?

Answer
D) Both TACACS+ and Diameter encrypt the entire payload (with TACACS+ using a shared secret and Diameter using IPsec/TLS).

Q6. What is the primary use case for TACACS+?

Answer
B) TACACS+ is primarily used for network device administration.

Q7. Which protocol is designed to overcome the limitations of RADIUS and is used in 5G networks?

Answer
B) Diameter is designed to overcome RADIUS limitations and is used in 5G networks.

Q8. Which protocol uses TCP as its transport?

Answer
D) Both TACACS+ (TCP port 49) and Diameter (TCP or SCTP) use reliable transport.

Q9. In RADIUS, what is the purpose of the Message-Authenticator attribute?

Answer
B) Message-Authenticator provides message integrity for EAP.

Q10. Which protocol supports per-command authorization (e.g., allowing specific router commands)?

Answer
B) TACACS+ supports per-command authorization.

Q11. What is the default port for RADIUS authentication?

Answer
A) RADIUS authentication uses UDP port 1812.

Q12. Which protocol uses AVPs (Attribute-Value Pairs) with 32-bit type space?

Answer
C) Diameter uses 32-bit AVPs, providing a large attribute space.

Exercises

These exercises are designed to help you apply the concepts from this tutorial. Attempt each exercise before revealing the sample solution.

Exercise 3.15-1: RADIUS Message Analysis

Given the following RADIUS Access-Request attributes, determine what type of authentication is being used and what the client is requesting:

What would a successful Access-Accept likely include?

Sample Solution

Analysis:

  • The request is for a user "alice" authenticating via PAP (since User-Password is included).
  • NAS-IP-Address indicates the NAS (access point) is at 192.168.1.1.
  • Service-Type: Framed indicates a PPP session (typical for dial-up or VPN).
  • Calling-Station-Id is the MAC address of the client device.

Access-Accept likely includes:

  • Framed-IP-Address: an IP address to assign to the user.
  • Framed-MTU: MTU for the connection.
  • Session-Timeout: maximum session duration.
  • VLAN or other attributes depending on policy.

Exercise 3.15-2: TACACS+ vs. RADIUS Selection

You are the network security architect for a large enterprise. The organization has the following requirements:

Which protocols would you recommend for each use case? Justify your answer.

Sample Solution

Recommendation:

  • Wireless authentication (802.1X): Use RADIUS. RADIUS is the standard for 802.1X and supports EAP for strong authentication. It integrates well with wireless controllers.
  • Network device administration: Use TACACS+. TACACS+ provides per-command authorization and full payload encryption, which is ideal for device administration. It also supports separate AAA functions, allowing granular control.
  • Logging commands: TACACS+ accounting logs all commands executed on devices, which meets the compliance requirement.
  • Different levels of access: TACACS+ supports granular authorization (e.g., read-only, read-write) through command authorization.

Justification: The organization should deploy both RADIUS (for wireless access) and TACACS+ (for device administration). They can be run on separate servers or on a unified platform like Cisco ISE.

Exercise 3.15-3: Diameter Application Design

You are designing a AAA system for a new mobile network operator. The network will use Diameter for authentication, authorization, and accounting. Describe the Diameter architecture, including the necessary agents and applications. What security measures would you implement?

Sample Solution

Architecture:

  • Diameter Nodes: Clients (e.g., MME in LTE), Servers (e.g., HSS/UDM), and Agents (DRA – Diameter Routing Agent).
  • Applications: 3GPP S6a application for subscriber authentication, Gx for policy control, Gy for credit control.
  • Transport: TCP or SCTP for reliable communication.

Security:

  • Use IPsec or TLS for encryption and integrity protection.
  • Implement mutual authentication between Diameter nodes using certificates.
  • Use Diameter's capability negotiation to ensure only authorized applications are used.
  • Deploy redundant Diameter servers and agents for high availability.
  • Monitor Diameter traffic for anomalies.

Exercise 3.15-4: RADIUS Proxy Configuration

An organization has a RADIUS server that authenticates users for VPN access. They want to extend this to allow employees to authenticate using their company credentials when working from partner offices. The partner office has its own RADIUS server. Design a RADIUS proxy solution to enable this. What configurations are needed?

Sample Solution

RADIUS Proxy Solution:

  • Deploy a RADIUS proxy at the partner office that forwards authentication requests to the organization's RADIUS server.
  • The proxy must be configured with the organization's RADIUS server as a "home" server.
  • The proxy uses a shared secret to authenticate with the organization's RADIUS server.
  • Requests from the partner office's NAS are sent to the proxy, which forwards them.
  • The proxy can also handle accounting messages.
  • Ensure that the proxy supports the required EAP methods.
  • Use a realm-based routing if multiple domains are involved.

Security: Use strong shared secrets, encrypt communications with IPsec or TLS if possible, and monitor the proxy for abuse.

Exercise 3.15-5: TACACS+ Command Authorization

You are configuring TACACS+ for a network operations team. The team has three privilege levels:

Describe how you would implement this using TACACS+ authorization. What would the authorization configuration look like?

Sample Solution

TACACS+ Authorization Implementation:

  • In the TACACS+ server, define three privilege levels: 1, 2, 3.
  • Configure authorization rules for each level:
    • Level 1: Allow only "show" commands (e.g., show running-config, show ip interface brief).
    • Level 2: Allow "show" and "configure" commands, but not destructive commands like "reload".
    • Level 3: Allow all commands.
  • Map users to these privilege levels in the TACACS+ user database.
  • On the network devices, configure TACACS+ authentication and authorization, specifying the privilege level based on the user's login.
  • The TACACS+ server will enforce the command authorization based on the privilege level.

Configuration example (pseudo):

  • user alice { privilege = 1; authorization = "show .*" }
  • user bob { privilege = 2; authorization = "(show|configure).*" }
  • user admin { privilege = 3; authorization = ".*" }

Homework

These homework questions require deeper analysis, research, and application. Answer each question comprehensively.

Homework 3.15-1: RADIUS Security Analysis

Write a 1,000–1,250 word security analysis of RADIUS. Discuss its security model, including the shared secret, encryption (or lack thereof), and vulnerabilities. Compare its security to TACACS+ and Diameter. Propose improvements to RADIUS security, considering modern threats.

Sample Answer

RADIUS Security Analysis

  • Security Model: RADIUS uses a shared secret for authentication and encryption of the password (PAP). However, other attributes are sent in cleartext.
  • Vulnerabilities: UDP is connectionless; susceptible to spoofing and replay attacks (though the authenticator provides some protection). Lack of full payload encryption exposes user identity and other attributes.
  • Comparison: TACACS+ and Diameter both offer full payload encryption, making them more secure for sensitive environments.
  • Improvements: Use IPsec or TLS to encrypt RADIUS traffic; implement strong shared secrets; use EAP with Message-Authenticator for integrity.

Homework 3.15-2: Diameter vs. RADIUS Research

Write a 1,000–1,250 word research paper comparing RADIUS and Diameter. Include architectural differences, protocol features, security, and use cases. Provide a decision framework for choosing between the two for a large-scale network.

Sample Answer

RADIUS vs. Diameter

  • Architecture: RADIUS is client-server with simple request/response; Diameter is peer-to-peer with stateful sessions.
  • Features: Diameter offers reliable transport, full encryption, session state, and extensibility.
  • Use Cases: RADIUS for enterprise network access; Diameter for mobile (LTE/5G) and service provider.
  • Decision Framework: Use RADIUS for standard enterprise; use Diameter for mobile, large-scale, or when extensibility is needed.

Homework 3.15-3: TACACS+ Deployment Plan

Develop a detailed deployment plan for TACACS+ in a large enterprise with 5,000 network devices. Include:

Sample Answer

TACACS+ Deployment Plan

  • Architecture: Two redundant TACACS+ servers (e.g., Cisco ISE) with load balancing.
  • Integration: Use LDAP/AD for user authentication; TACACS+ server acts as proxy.
  • Device config: Enable AAA on devices: aaa new-model, aaa authentication login default group tacacs+ local.
  • Policies: Define privilege levels; command authorization using TACACS+ command sets.
  • Accounting: Enable accounting for all commands; log to TACACS+ server and SIEM.
  • Testing: Pilot with a small group of devices; validate all scenarios.

Homework 3.15-4: 802.1X and RADIUS Case Study

Write a 1,000–1,250 word case study on a real-world 802.1X deployment using RADIUS. Describe the organization, the network architecture, the authentication method (e.g., EAP-TLS, PEAP), and the RADIUS infrastructure. Discuss the challenges faced and how they were overcome. Include lessons learned.

Sample Answer

802.1X Deployment in a University

  • Organization: A university with 20,000 students and staff.
  • Architecture: Wireless controllers, RADIUS servers (FreeRADIUS), LDAP for user data.
  • Authentication: PEAP-MSCHAPv2 with student credentials.
  • Challenges: Device compatibility (iOS, Android, Windows), on-boarding issues, and RADIUS server load.
  • Solutions: Use EAP-TLS for corporate devices; implement RADIUS load balancing; provide clear user instructions.
  • Lessons: Plan for scale; test with all device types; provide robust helpdesk support.

Homework 3.15-5: Future of Network AAA

Write a 1,000–1,250 word essay on the future of network AAA protocols. Discuss emerging trends such as the adoption of Diameter in 5G, the role of AI in authentication, and the potential for blockchain-based identity. How will RADIUS and TACACS+ evolve?

Sample Answer

Future of Network AAA

  • 5G and Diameter: Diameter is the standard for 5G, with extensions for network slicing and massive IoT.
  • AI in AAA: Anomaly detection, risk-based authentication, and predictive analytics.
  • Blockchain: Decentralized identity for devices and users, potential for tamper-proof accounting.
  • RADIUS/TACACS+: Will continue to be used in legacy environments; may evolve with enhanced security (e.g., RADIUS over TLS).

Summary

This tutorial provided a comprehensive exploration of Internet Authentication Applications—the protocols that secure network infrastructure access. We began by introducing the AAA framework and the need for centralized authentication in networks. We then examined RADIUS, the most widely deployed network AAA protocol, covering its architecture, messages, operations, and use in enterprise wireless (802.1X). We explored its security model, including shared secrets and encryption limitations.

We then examined TACACS+, a Cisco-developed protocol for device administration, highlighting its separation of AAA functions, full payload encryption, and granular command authorization. We compared RADIUS and TACACS+, showing how each is suited to different use cases—RADIUS for network access, TACACS+ for device administration.

Finally, we explored Diameter, a more modern protocol that overcomes many of RADIUS's limitations, offering reliable transport, full encryption, session state, and extensibility. Diameter is used in mobile networks (LTE/5G), IP multimedia systems, and large-scale service provider environments.

The case studies illustrated the real-world application of these protocols: RADIUS in university wireless networks, TACACS+ in enterprise network administration, and Diameter in 5G networks.

This tutorial has equipped you with a comprehensive understanding of the protocols that secure network infrastructure access. In the next tutorial, Tutorial 3.16, we will explore OAuth, OpenID Connect, and Modern Identity Systems, delving deeper into the protocols that underpin modern web authentication and federation.

© 2026 COMP400 – Computer and Network Security • School of Computing and Information Systems, TrustOpen University • Unit 3: Authentication and Access Control