Shiva Logo

TACACS+

The TACACS+ (Terminal Access Controller Access Control System) protocol was designed by Cisco Systems. Despite the similar names, TACACS+ is very different from TACACS and XTACACS.

TACACS+ Features

Most Shiva devices support the following features for TACACS+ servers:

  • Authentication: When a user logs in using ShivaRemote, the user name and password are passed to the TACACS+ server for authentication.

  • Challenge/Response: If the TACACS+ server supports a challenge/response system, the Shiva device communicates the challenge/response dialogs to the TACACS+ server.

  • Data encryption of TACACS+ packets sent over the network.

  • Authorization: Shiva Access Manager provides additional checks on users based on user attributes.

Authentication

In TACACS+, when the user attempts to log in, the Network Access Server (NAS) asks the security server what to do. The security server typically tells the NAS to prompt for the user's name and password. The security server then sends either a permit or a deny response to the NAS.

After the user logs in, for every command the user enters, the NAS sends an authorization request to the security server. The NAS may propose attributes for the user and additional information about the login session. For example, if the user enters a command to go into PPP mode, the NAS sends a request to the security server for PPP authorization and may propose an IP address for the user. Based on the information in the request, the security server returns either a permit or deny response.

Note: Because the TACACS+ protocol does not support a method for all Shiva devices to configure authorization settings, all users are given the same user privileges. These rights can be modified through the command shell configuration. Modifying these rights changes the rights of all users authenticated by the TACACS+ protocol.

Shiva Access Manager Authorization

Shiva Access Manager supports the full TACACS+ implementation. As a result, it provides authorization features additional to those supported by other Shiva devices.

Shiva Access Manager performs initial authentication, which may include Challenge/Response. In addition, if a permit response is returned from the security server, the security server may then tell the Network Access Server (NAS) to apply other attributes to the user. For example, the security server may tell the NAS to use a different IP address, to apply a certain access filter to the user, or to apply a certain timeout value to the user.

User Attributes

In Shiva's standard implementation, all users inherit the attributes defined by TACACSUSER or DEFAULTUSER during configuration.

Shiva Access Manager: Optional and Mandatory Attributes

Additional user attributes can be defined when using Shiva Access Manager. This enables users to be authenticated.

Attributes Proposed by the NAS

In TACACS+, the attributes proposed by the NAS can be optional or mandatory. If optional, the security server may propose an alternative attribute. If the attribute is mandatory, the security server cannot change that attribute. If the security server does not agree to the attribute, it denies the entire request.

Attributes Proposed by the Security Server

The additional attributes returned by the security server to the NAS can also be optional or mandatory. If optional, the NAS can choose to ignore the attribute. If mandatory, the NAS must use that attribute. If the NAS cannot execute the attributes returned by the security server, it denies permission to the user.

Accounting Records

The NAS sends out an accounting stop record to indicate that the accounting session has ended. This record contains the user name, start time, and end time for the session. If dial back was used, it can also contain the dial back phone number of the session. Additional accounting records are provided when using Shiva Access Manager.

Shiva Access Manager Accounting Records

When using Shiva Access Manager, in TACACS+ the NAS also sends out an accounting start record to the security server to signal that an accounting session has started, and an accounting stop record to indicate that the accounting session has ended. This record contains information about the length of time and amount of data sent and received during the session, as well as the user name, start time and end time for the session, and the dial back phone number.

NAS Configuration

In practice, the configuration of the NAS determines whether or not the NAS actually sends out all the different types of authentication, authorization, and accounting messages. In most cases, you are advised to enable TACACS+ authentication and accounting in the NAS.

Related Information

Security and Accounting

TACACS

XTACACS

RADIUS: Overview

Client/Server Model: Advantages

Client/Server Model: Protocols

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]