Home > Articles > Certification > Cisco Certification > CCNP Security / CCSP

This chapter is from the book

RADIUS Overview

RADIUS is an access server AAA protocol developed by Livingston Enterprises, Inc. (now part of Lucent Technologies). It is a system of distributed security that secures remote access to networks and network services against unauthorized access. RADIUS is composed of three components:

  • Protocol with a frame format that uses UDP/IP

  • Server

  • Client

The server runs on a central computer, typically at the customer's site, while the clients reside in the dial-up access servers and can be distributed throughout the network. Cisco incorporated the RADIUS client into Cisco IOS, starting with Cisco IOS Release 11.1.

Client/Server Model

A router operates as a client of RADIUS. The client is responsible for passing user information to designated RADIUS servers, and then acting on the response that is returned. RADIUS servers are responsible for receiving user connection requests, authenticating the user, and then returning all configuration information that is necessary for the client to deliver service to the user. The RADIUS servers can act as proxy clients to other kinds of authentication servers.

Network Security

Transactions between the client and RADIUS server are authenticated using a shared secret, which is never sent over the network. In addition, any user passwords are sent encrypted between the client and RADIUS server to eliminate the possibility that someone who is snooping on an unsecured network could determine a user's password.

Flexible Authentication Mechanisms

The RADIUS server supports a variety of methods to authenticate a user. When it is provided with the username and original password given by the user, it can support PPP, PAP, CHAP, or MS-CHAP UNIX login, and other authentication mechanisms.

Configuring RADIUS

RADIUS configuration is a three-step process:

Step 1

 

Configure communication between the router and the RADIUS server.

Step 2

 

Use the AAA global configuration commands to define authentication and authorization method lists containing RADIUS. Method lists include the keywords as follows:

 

enable—Uses the enable password for authentication

 

line—Uses the line password for authentication

 

local—Uses the local username database for authentication

 

none—Uses no authentication

 

radius—Uses RADIUS authentication

 

tacacs+—Uses TACACS+ authentication

Step 3

 

Use line and interface commands to cause the defined method lists to be used.


Use the following radius-server command to configure router to RADIUS server communication:

radius-server key keystring
radius-server host {host-name ? ipaddress}

You can also accomplish the same thing by combining these two commands into the following single command:

radius-server host ipaddress key keystring

Examples of using these three commands are shown here:

router(config)# radius-server key 2bor!2b@?
router(config)# radius-server host 10.1.2.4
!
router(config)# radius-server host 10.1.2.4 key 2bor!2b@?

NOTE

The radius-server global command is analogous to tacacs-server global commands.

RADIUS is a fully open protocol, distributed in source code format that can be modified to work with any security system that is currently available on the market. Cisco supports RADIUS under its AAA security paradigm. RADIUS can be used with other AAA security protocols, such as TACACS+, Kerberos, or local username lookup. Cisco Secure ACS for Windows supports RADIUS.

RADIUS has been implemented in a variety of network environments that require high levels of security while maintaining network access for remote users. RADIUS combines authentication and authorization. The protocol is specified in RFCs 2138 and 2139.

As of this writing, three major versions of RADIUS are available:

  • IETF, with approximately 63 attributes—Developed and proposed to IETF by Livingston Enterprises, now a division of Lucent Technologies. The RADIUS protocol is specified in RFC 2138, and RADIUS accounting in RFC 2139.

  • Cisco implementation, supporting approximately 58 attributes—Starting in Cisco IOS Release 11.2, an increasing number of attributes and functionality are included in each release of Cisco IOS software and Cisco Secure ACS for Windows.

  • Lucent implementation, supporting over 254 attributes—Lucent is constantly changing and adding vendor-specific attributes, such as token caching and password changing. An API enables rapid development of new extensions, making competing vendors work hard to keep up. Although Livingston Enterprises developed RADIUS originally, it was championed by Ascend.

Vendors have implemented proprietary extensions to RADIUS features. TACACS+ is considered superior because:

  • TACACS+ encrypts the entire TACACS+ packet (RADIUS only encrypts the shared-secret password portion).

  • TACACS+ separates authentication and authorization, making possible distributed security services.

  • RADIUS has limited "name space" for attributes.

Figure 3-13 shows a typical network configuration that uses both TACACS+ and RADIUS.

Figure 13Figure 3-13 Comparison of TACACS+ and RADIUS

There are several differences between TACACS+ and RADIUS:

  • Functionality—TACACS+ separates AAA functions according to the AAA architecture, allowing modularity of the security server implementation. RADIUS combines authentication and authorization and separates accounting, thus allowing less flexibility in implementation.

  • Transport protocol—TACACS+ uses TCP. RADIUS uses UDP, which was chosen for simplification of client and server implementation, yet UDP makes the RADIUS protocol less robust and requires the server to implement reliability measures, such as packet retransmission and timeouts, instead having them built into the TCP protocol.

  • Challenge/response—TACACS+ supports bidirectional challenge and response as used in CHAP between two routers. RADIUS supports unidirectional challenge and response from the RADIUS security server to the RADIUS client.

  • Protocol support—TACACS+ provides more complete dial-up and WAN protocol support than RADIUS.

  • Data integrity—TACACS+ encrypts the entire packet body of every packet. RADIUS only encrypts the Password Attribute portion of the Access-Request packet, which makes TACACS+ more secure.

  • Customization—The flexibility provided in the TACACS+ protocol allows many things to be customized on a per-user basis (that is, customizable username and password prompts). RADIUS lacks flexibility and therefore many features that are possible with TACACS+ are not possible with RADIUS (that is, message catalogs).

  • Authorization process—With TACACS+, the server accepts or rejects the authentication request based on the contents of the user profile. The client (router) never knows the contents of the user profile. With RADIUS, all reply attributes in the user profile are sent to the router. The router accepts or rejects the authentication request based on the attributes that are received.

  • Accounting—TACACS+ accounting includes a limited number of information fields. RADIUS accounting can contain more information than TACACS+ accounting records, which is RADIUS's key advantage over TACACS+.

RADIUS Attribute Enhancements

Cisco has introduced enhancements in the latest releases of the Cisco IOS software to support RADIUS attribute capabilities. Some of the more important ones are discussed here.

ACL Default Direction (RADIUS Attribute 11)

The ACL Default Direction feature permits you to configure access lists that dynamically change the RADIUS packet filter direction upon successful RADIUS user authentication. Default filter direction without the application of the RADIUS Attribute 11 capability is outbound, which means that packets must enter the router and be filtered before being sent to the outbound interface.

With RADIUS Attribute 11, you can set the default direction and override that setting as RADIUS authentication occurs. Setting the direction to filter inbound packets causes the router to filter the packets before they are allowed to enter the router.

The following steps are required to implement RADIUS Attribute 11 on a Cisco IOS router:

Step 1

 

Set the default direction of filters from RADIUS to inbound or outbound using the global radius-server attribute 11 command. The command format is

 

 

radius-server attribute 11 direction default
[inbound ? outbound]

Step 2

 

Attach the Filter-Id attribute to the clients on the RADIUS server. Use the format Filter-Id = "myfilter.out" to override the default direction to outbound. Use the format Filter-ID = "myfilter.in" to override the default direction to inbound. A typical RADIUS user configuration might look like this:

 

 

Client Password = "mypasswd" 
Service-Type = Framed,
Framed-Protocol = PPP,
Filter-Id = "myfilter.out"

Accounting Input Gigawords (RADIUS Attribute 52)

Enabled by default, RADIUS Attribute 52 allows the router to maintain a running count of how many times the Acct-Input-Octets counter has wrapped around 232 (4,294,967,296) while providing RADIUS service. The counter resets to 0 at 232 and RADIUS Attribute 52 simply keeps track of how many times the counter refreshed in order to provide an accurate packet count when viewing service statistics. This attribute does not require any configuration.

Accounting Output Gigawords (RADIUS Attribute 53)

Enabled by default, RADIUS Attribute 53 allows the router to maintain a running count of how many times the Acct-Output-Octets counter has wrapped around 232 (4,294,967,296) while providing RADIUS service. The counter resets to 0 at 232 and RADIUS Attribute 52 simply keeps track of how many times the counter refreshed in order to provide an accurate packet count when viewing service statistics. This attribute does not require any configuration.

Tunnel Client Endpoint (Radius Attribute 66)

The Tunnel Client Endpoint capability allows the user to specify the host name of the network access server, rather than having to remember the IP address of the NAS. A typical client configuration might look like the following example:

Cisco.com Password = "cisco"
Service-Type = Outbound-User,
Tunnel-Type = :1:L2F,
Tunnel-Medium-Type = :1:IP,
Tunnel-Client-Endpoint = :1:"cisco2"
Tunnel-Server-Endpoint = :1:"172.21.135.4",
Tunnel-Assignment-Id = :1:"nas1",
Tunnel-Password = :1:"cisco"

Connection Information (RADIUS Attribute 77)

This attribute is enabled by default and keeps track of the upstream and downstream speeds of connecting clients. You can view these speeds by using the debug radius command on the router. You can tell whether the modem connection speed was renegotiated to a lower speed after the connection was made.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.

Overview


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information


To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.

Surveys

Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.

Newsletters

If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information


Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.

Security


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.

Children


This site is not directed to children under the age of 13.

Marketing


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information


If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.

Choice/Opt-out


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information


Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents


California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure


Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.

Links


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact


Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice


We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020