Shiva Logo

RADIUS: Vendor-Specific Attributes

The RADIUS Request for Comment (RFC) defines a list of attributes. Attributes are sent in RADIUS packets between the Shiva device and the RADIUS server. These attributes contain authentication and authorization information for a specific user.

Attributes

Every attribute used to support RADIUS is specified on the RADIUS server (usually in a file called a DICTIONARY file, but this varies with RADIUS Server vendors). Each attribute is assigned a number and a name. Currently, the RADIUS Authentication RFC defines about 95 attributes. The remaining numbers, up to 255, are reserved for future use. These attributes are usually in Tag/Length/Value (TLV) format.

Vendor-Specific Attribute (VSA)

Vendor-specific attributes (VSAs) are defined by vendors of remote access servers to customize how RADIUS works on their servers. Currently, Shiva has defined only one vendor-specific attribute, but may add more in the future. Shiva's vendor code is 166. The Shiva vendor-specific attribute is:

Shiva-User-Attributes (attribute code = 1)

The format of this attribute is a string which includes user options.

A VSA is necessary if you want to give a user permission for more than one type of access (for example, dial-in, dial-out, shell, LAN-to-LAN, fixed dial back, roaming dial back, view config, telnet and ping access). See Shiva User List: Setting User Profiles.

The RADIUS protocol only allows one service-type attribute to be sent in an Access-Accept packet. Therefore, if you wish to give a user more than one type of access you must use the Shiva User Attribute VSA.

Shiva User Attribute

You can use the Shiva User Attribute in combination with RADIUS- defined attributes. Most of the other options that can be configured with the Shiva User Attribute can also be configured using RADIUS-defined attributes.

For example:

testuser Password = "testpassword",

Shiva-User-Attributes = "/di/do /ip=200.1.1.1
/max = 180"

If your RADIUS server supports VSAs according to the method specified in the most current RADIUS Authentication RFC, you do not need to carry out any special configuration on the Shiva device. In this case, all you have to do is add the Shiva User Attribute to the list of attributes on the RADIUS server with the value of 1 and the Vendor-Code of 166 (for Shiva).

Tag/Length/Value (TLV) Format

Not all RADIUS servers support the TLV format for the VSA. Several configuration parameters have been defined to allow the Shiva device to work with non-conforming RADIUS servers. If your RADIUS server does not support the TLV format for the VSA and you plan to use Shiva User Attribute when configuring your users, you must configure several parameters in the Security Section on the Shiva device to identify that you are using VSAs and what values these attributes have been assigned in the DICTIONARY file, or elsewhere, on the RADIUS server. These configuration parameters allow you to use attribute numbers from the reserved range of RADIUS-defined attributes for your VSAs. (In this case, we refer to the VSAs as Extended Attributes because they are extending the range of RADIUS-defined attributes).

To choose the attribute numbers to assign to Shiva User Attributes, go to the DICTIONARY file on your RADIUS server and find a number lower than 255 which is not already assigned to another attribute. At the current time, only one Shiva User Attributes is defined, so only one number is needed. However, if more Shiva attributes are defined in the future, you may have to find more than one available attribute number and these numbers must be contiguous.

Note: If your RADIUS server does not have a DICTIONARY file, refer to the vendor's RADIUS server documentation to find out how to add VSAs.

Related Information

Security and Accounting

RADIUS: Overview

RADIUS: Authentication and Authorization

RADIUS: Accounting Records

RADIUS: Using Vendor-Specific Attributes

Shiva User List: Implementation

Shiva User List: Setting User Profiles

[ Top of Page... ]

[ Back to Shiva Configurator Directory ]