Previous Topic: Using the Policy Server as a RADIUS ServerNext Topic: Attributes and Expressions Reference


Define Multiple Instances of an Attribute

You can define multiple instances of a vendor-specific attribute for the same Agent type. When you define multiple instances of a vendor-specific attribute, you can send a different value to the NAS device for each instance of the attribute. For example, for a Cisco Agent, you could define the following vendor-specific attributes, all using the same identifier (26):

The settings that define the number of times an attribute can be used within a response are located on the Modify Agent Type Attribute pane of the Administrative UI.

To configure the attribute to be used multiple times, the Access Accept value must be set to Zero or Many.

The type of attribute that you define must match the vendor type of the Agent returning the response. For example, a vendor-specific Cisco attribute can only be returned by a Cisco Agent.

When the response is returned by the Agent, the packet structure of the response reflects the type of RADIUS Agent that sent the response. For example, the packet structure of a response returned by a Cisco Agent would include the vendor ID and the length of the string.

To define an attribute for an Agent type

  1. Log into the Administrative UI.
  2. Click Infrastructure, Agent Type, Modify Agent Type.

    The Modify Agent Type pane opens.

  3. Specify search criteria, and click Search.

    A list of Agent types that match the search criteria opens.

  4. Select an Agent type, and click Select.

    The Modify Agent Type: Name pane opens.

  5. Click Create Agent Type Attribute on the Agent Type Attributes group box.

    The Create Agent Type Attribute pane opens.

  6. Verify that Create a new object is selected, and click OK.

    The Create Agent Type Attribute: Name pane opens.

  7. Type the name and a description of the Agent type in the fields on the General group box.
  8. Select RADIUS, RADIUS Extended, or Vendor Specific from the RADIUS Type list.
  9. Select the type of data that the attribute contains from the Data Type list.
  10. Type one of the following attribute identifiers in the Identifier field:

    Note: For more information about attribute identifiers, see your RADIUS vendor documentation.

  11. Select a RADIUS code for each field on the RADIUS Behavior group box. The RADIUS codes are:
    Not allowed

    Attribute cannot be used in a response.

    Zero or One

    One instance or no instances of the attribute can be returned in the same response. If this value is selected, and you use the attribute in a response, the attribute will be removed from the Attribute list after you have used the attribute in a response.

    Zero or Many

    Multiple instances or no instances of the attribute can be returned in the same response.

    One and Only One

    One instance of the attribute must be returned in a response. If this value is selected, and you use the attribute in a response, the attribute will be removed from the Attribute list after you have used the attribute in a response.

    The fields on the RADIUS group box are:

    Access Request

    Provides information used to determine whether or not a user is allowed access to a specific NAS. The Access Request packets also provide information for any special services requested for that user.

    Access Accept

    Provides specific configuration information necessary to begin delivery of service to the user.

    Note: You must set the Access Accept value to Zero or One, Zero or Many, or One and Only One in order to use the attribute in a response.

    Access Reject

    Sends information if any value of the received Attributes is not acceptable. This code is often used for reply messages.

    Access Challenge

    Sends information if the NAS device has been configured for challenge/response.

    Accounting Request

    Describes the type of service being delivered and the user to whom it is being delivered.

    Accounting Response

    Sends information if the Accounting Request was recorded successfully. A RADIUS Accounting-Response is not required to have any attributes in it.

  12. If the data type is number, click Create on the Values group box.
  13. Type the symbolic name of the attribute in the Symbolic Name field, type the actual numeric value of the attribute in the Numeric Value field, and click OK.

    The Modify Agent Type Attribute pane reopens, and the attribute name-value pair is added to the Values group box.

    Note: To create multiple attribute name-value pairs, repeat steps 12 and 13. By mapping symbolic names to values, you only need to remember names.

  14. Click Submit.

    The Modify Agent Type pane reopens, and the Agent type attribute is added to the Agent Type Attributes group box.

  15. Click Submit.

    The Modify Agent Type task is submitted for processing.

    Note: When the task is complete and you create a response for this Agent type, you can select the Agent type attribute that you just added to the Agent type from an attribute list.

Modify Existing Attributes

You can modify attributes that you created and attributes that have been pre-defined for a RADIUS Agent. For example, you can modify the pre-defined Ascend-PPP-Address attribute for the Ascend Agent type.

Note: When you modify an existing attribute, the attribute is not updated dynamically in responses that already use the attribute. If an attribute is used in a response, you must recreate the response using the updated attribute.

All RADIUS Agent types have been pre-configured to use the generic RADIUS attributes, as defined in RFC 2138. These attributes are available to be used by each RADIUS Agent type.

Important! If you overwrite a generic attribute or define a new attribute in the Generic RADIUS Agent, the change is applied to all RADIUS Agents. For example, if you modify the Filter ID attribute in the Generic RADIUS Agent, the modification is also made to all of the other RADIUS Agent types, such as Cisco, Shiva, Livingston, Ascend, and Checkpoint.

To modify agent type attributes

  1. Log into the Administrative UI.
  2. Select Agents from the Infrastructure tab.
  3. Click Modify Agent Type.
  4. Click Search.
  5. Select an Agent type and click Select.

    The Modify Agent Type pane opens.

  6. Modify the Agent Type values by clicking the Edit button on the left of the attribute
  7. Click Submit to save the changes.

More Information:

Define Multiple Instances of an Attribute

Deploy SiteMinder in a RADIUS Environment

SiteMinder can be setup to provide authentication services in a variety of different RADIUS environments:

Guidelines for Protecting RADIUS Devices

Before deploying SiteMinder in a RADIUS environment, note the following guidelines:

How to Authenticate Users in a Homogeneous RADIUS Environment

A homogeneous RADIUS environment is the most simple to protect. You can protect the RADIUS device using just one policy. This type of environment includes only one RADIUS device, such as a Cisco RAS, and one user directory, as shown in the following graphic:

Diagram showing how authentication is processed in a homogeneous RADIUS environment,

Follow these steps:

  1. Configure the system:
    1. Define the RADIUS Agent, as explained in Configure a RADIUS Agent.
    2. Setup a user directory against which to authenticate RADIUS users, as explained in Set Up the User Directory
    3. Optionally, you can also define administrative users and modify the authentication schemes.
  2. Configure the policy domain:
    1. Create a RADIUS authentication scheme (CHAP or PAP), as explained in Create the Authentication Scheme.
    2. Define a realm that identifies the RADIUS Agent and the RADIUS authentication scheme, as explained in Configure a Realm Protected by a RADIUS Agent.
    3. Define a rule that enables authenticated users to access the realm protected by the RADIUS Agent, as explained in Configure a Rule for Authentication Event Actions.
    4. Define a response that provides the user profile to the NAS device and configures the characteristics of the session using response attributes, as explained in Configure a Response and RADIUS Agent Response Attributes.
    5. Create a policy that binds the rule and response with the user directory, as explained in Configure a Policy.

More Information:

How RADIUS Authentication Works with the Policy Server

Set Up the User Directory

You can authenticate RADIUS users using any user directory that is supported for the NT or UNIX platform you are using.

If the user directory contains information about user privileges, you can create responses using user attributes. When the user attributes are sent back to the RADIUS device, the attributes are used to configure the user session.

You can use the following directories:

Set Up the Policy Domain

The policy domain must identify one or more user directories that contain the names of the RADIUS users, the names of the Administrators who can modify the domain, and the realm that the RADIUS Agent is protecting.

Create the Authentication Scheme

You can use any of the following authentication schemes:

Note: For more information on creating an authentication scheme, see the Authentication Schemes chapter in this guide.

Authenticate Users in Heterogeneous RADIUS Environments with One User Directory

A more powerful and complex deployment of the Policy Server in a RADIUS environment is one that includes multiple realms administered by multiple NAS devices. In this scenario, the Policy Server can serve as the RADIUS authentication server for multiple RADIUS clients at once.

The advantage of using a heterogeneous configuration is that you save time by using the same RADIUS authentication server (that is, the Policy Server) for each RADIUS client.

How Users are Authenticated in Heterogeneous, Single Directory Environments

An example of a heterogeneous configuration is illustrated in the following graphic:

Grapihic showing a heterogeneous configuration using single directory for authenticating users

In the network topology shown in the previous diagram, the Policy Server authenticates users of two NAS devices: a Cisco RAS and a Checkpoint Firewall. The Policy Server uses one user directory to authenticate the users.

Each NAS device has its own RADIUS Agent, which has been configured with a realm hint. When the Policy Server receives a request to authenticate the user, it uses the RADIUS Agent’s realm hint to determine the resource (domain) that the authenticated user can access.

The process of authentication when one user directory is used is as follows:

  1. The remote user dials in from a modem and the Cisco RAS determines that it must use a RADIUS user profile to authenticate the user.
  2. The RAS sends the user connection request to the Policy Server.
  3. The Policy Server enacts the policy defined for the RAS, and the RADIUS Agent associated with the Cisco RAS does the following:
    1. Determines the user’s domain using a realm hint.
    2. Obtains the user’s name and password using the authentication scheme configured for the Agent.
  4. The Policy Server evaluates the user information against the user directory and policy store.
  5. The Policy Server sends an authentication response to the Cisco RAS and one of the following takes place:

When the Internet user attempts to dial into the Internet Service Provider via the Checkpoint Firewall, a similar process of authentication occurs. Using the realm hint, the RADIUS Agent defined for the Checkpoint Firewall determines which domain the Internet user has access to. If the user is authenticated, the Policy Server passes the Firewall the correct attributes to establish the session.

User information for both NAS devices is stored in the same user directory. Each time the Policy Server receives an authentication request, it authenticates the user using the same data directory.

System and Policy Domain Configuration

This system configuration differs from the homogeneous environment; you must now create two Agents.

Within the policy domain there is one policy that includes rules and responses for the Cisco Agent and the Checkpoint Agent.

To setup SiteMinder in the heterogeneous, single directory environment described above, you must:

  1. Configure the system:
    1. Define two RADIUS Agents, as described in Define Agents for a Heterogeneous, Single Directory Environment.
    2. Setup a user directory against which to authenticate RADIUS users, as described in Configure the User Directory.
    3. Create one policy domain, as described in Create the Policy Domain.
    4. Create an authentication scheme, as described in Create the Authentication Scheme.
  2. Configure the policy domain:
    1. Define two realms--one realm for the Cisco RAS and one realm for the Checkpoint firewall. Each realm binds a RADIUS Agent with a RADIUS authentication scheme.
    2. Define two rules that allow authenticated users to access the appropriate realm. Each rule binds a realm with an allow or deny access event.
    3. Define two responses that provide the user profile to the NAS device and configure the characteristics of the session using response attributes. A separate response must be defined for each NAS device because each device uses a different Dictionary file.
    4. Create one policy that binds the Cisco rule with the Cisco response and the Checkpoint rule with the Checkpoint response. This policy also binds the components of the policy domain (the rule and response groupings) with the RADIUS user directory.

A diagram of this policy domain is shown in the following graphic:

Graphic showing how to configure system and policy domain

Define Agents for a Heterogeneous, Single Directory Environment

For this environment, you must configure two RADIUS Agents:

Configure the User Directory

The Policy Server can authenticate users using the same user directory for both NAS devices.

Create the Policy Domain

The policy domain must identify the user directory that contains the names of the RADIUS users, the names of the Administrators who can modify the domain, and the realm that the RADIUS Agent is protecting. A RADIUS environment that uses only one user directory requires only one policy domain.

How to Authenticate Users in Heterogeneous RADIUS Environments with Two User Directories

The Policy Server can also be configured to authenticate users for multiple NAS devices when the user information for each device is located in separate user directories. The NAS devices can be of different vendor types.

There are several advantages to this configuration:

An example of a heterogeneous configuration that uses two user directories is illustrated in the following graphic:

Diagram showing a heterogeneous RADIUS environment using two user directories

Unlike the topology described in the previous section, this Policy Server uses two user directories to authenticate the users. User information for the Cisco RAS users is stored in User Directory A. User information for the Checkpoint firewall is stored in User Directory B. The Policy Server can authenticate users using both of these directories.

By dividing the configuration into two policy domains, the need for realm hints is eliminated. Each RADIUS Agent exists in a separate policy domain and is bound to only one realm.

The process of authentication when two user directories are used is as follows:

  1. The remote user dials in from a modem and the Cisco RAS determines that it must use a RADIUS user profile to authenticate the user.
  2. The RAS sends the user connection request to the Policy Server.
  3. The Policy Server enacts the policy defined for the RAS, and the RADIUS Agent obtains the user’s name and password using the authentication scheme configured for the Agent.
  4. The Policy Server evaluates the user information against the user directory and policy store associated with the policy’s domain.
  5. The Policy Server sends an authentication response to the Cisco RAS and one of the following takes place:

When the Internet user attempts to dial into the Internet Service Provider by using the Checkpoint Firewall, this same process of authentication occurs. However, the Policy Server evaluates the Internet user’s authentication information against a different user directory.

How to Configure the System and Policy Domain

To configure the heterogeneous environment described above, which includes two user directories, you must:

  1. Configure the system:
    1. Define two RADIUS Agents, as described in Define Agents for a Heterogeneous, Two Directory Environment.
    2. Set up the user directories, as described in Set Up User Directories.
    3. Create two policy domains, as described in Create Two Policy Domains.
  2. Configure the policy domain:
    1. Define one realm. The realm binds a RADIUS Agent with a RADIUS authentication scheme.
    2. Define a rule that enables authenticated users to access the realm. Each rule binds a realm with an allow or deny access event.
    3. Define a response that provides the user profile to the NAS device and optionally, configures the characteristics of the session using response attributes.
    4. Create a policy that binds the rule with the response. This policy also binds the rule and response with the RADIUS user directory.

A diagram of these two policy domains is shown in the following graphic:

Graphic showing how to configure the system and policy domain

Define Agents for a Heterogeneous Two Directory Environment

For this environment, you must configure two RADIUS Agents:

More information:

Define Agents for a Heterogeneous, Single Directory Environment

Set Up User Directories

Each of the user directories containing RADIUS user information must be configured in the Policy Server. Each directory will be associated with a separate policy domain so that separate administrators can be defined for each policy domain.

Create Two Policy Domains

One policy domain must be created for the Cisco RAS and one policy domain must be created for the Checkpoint firewall. When defining the policy domains, associate each domain with the appropriate user directory.

RADIUS Agents Group Overview

Creating a RADIUS Agent group enables you to manage multiple RADIUS Agents at once and eliminates the need to create and configure separate realms for each RADIUS Agent. Using one realm saves time because you can define the same session timeouts and the same authentication scheme for all RADIUS Agents simultaneously.

A group of RADIUS Agents could include Agents for different types of NAS devices. For instance, an Agent group could contain Agents for a Shiva LAN Rover RAS, a Checkpoint firewall, and a Cisco RAS. The Agent group containing all of these RADIUS Agents would be associated with a single realm, which defined the authentication scheme and session timeout requirements.

Agent groups are best suited for static environments that do not change often; Agent groups enable you to quickly configure SiteMinder to authenticate users of many NAS devices. If your environment is not static and frequently changes as new NAS devices are added or removed, you should probably avoid using Agent groups. Instead, it is usually easier to add and remove RADIUS Agents if they are not located in groups. If the Agents are separated and not grouped together, you can usually find specific Agents faster, and modify or remove policies more quickly.

Set Up RADIUS Agent Groups

When using RADIUS Agent groups, you typically setup a separate policy for each type of RADIUS Agent. By using separate policies for each type of RADIUS Agent, you can share the common elements of the policy domain, such as the realm and a rule, in each policy. Sharing these common elements saves time.

Unlike the rule and realm, the response in each policy is not shared. Each policy has its own response, which corresponds to the device type of the RADIUS Agent in the policy. The attributes in a response match the attributes provided by the Dictionary file of the NAS device. For example, a response for a Cisco RAS would need to provide attributes that the Cisco RAS could interpret using the Cisco Dictionary file.

Note: All of the NAS devices represented in a RADIUS Agent group must share the same user directory. If they do not share the same user directory, they cannot exist in the same policy domain and therefore, they cannot share the same generic realms or generic rules.

The following example depicts one RADIUS Agent group that contains both an Agent for a Cisco RAS and an Agent for a Shiva RAS. The Agent group is shared by both the Cisco policy and the Shiva policy. Both of these policies share the same generic rule to allow access and the same generic realm, which binds the Agent group to the same authentication scheme. Notice, however, that the responses for each policy are unique.

Graphic showing an example of a RADIUS Agent group that contains both an Agent for a Cisco RAS and an Agent for a Shiva RAS

The procedure for setting up a RADIUS Agent Group is in Configure an Agent Group.

Group RADIUS Responses

A RADIUS response group is a collection of responses defined for the same type of Agent, such as Generic RADIUS. When a rule fires, all of the RADIUS responses paired with it in the response group are triggered.

The responses must be of the same Agent type in order to use the same Dictionary file. For example, you could combine two Cisco responses in the same group or two Generic RADIUS responses in the same group. However, you could not group a Generic RADIUS and a Cisco response in the same group.

The advantage of using RADIUS response groups is that it enables you to configure a policy domain using fewer policies. Instead of creating a separate realm and a separate policy for each RADIUS Agent, you could group RADIUS Agents of the same type, create one generic rule for authentication, and then group the responses for the rule. This type of configuration is shown in the following diagram:

Diagram illustrating the use of RADIUS response groups.

Response groups also make it easier to add RADIUS devices to the environment. For instance, in an environment such as the one shown in the previous figure, you could quickly add another Shiva RAS to the RADIUS Agent group and this new RAS would automatically be configured with the appropriate rule and responses.

Troubleshoot and Test RADIUS

Once you have configured the Policy Server to act as a RADIUS authentication server, you can test and troubleshoot the policies using the tools described in subsequent topics.

Generate RADIUS Logs for Accounting and Debugging

RADIUS logs track debugging and accounting information generated by the Policy Server. Use the RADIUS log file to track the following:

Logs are turned on and off using the Policy Server Management Console from the Debug tab.

The Policy Server time stamps the log file with the date and time it was created. For example, "log.txt" can be specified as the name of the file. When the Policy Server is restarted and the Policy Server creates the log file, the date and time are added to the name.

If you are appending logging information to the same file, the date on the file reflects the date and time it was created. The timestamp is only updated if the Policy Server is restarted.

Read RADIUS Log Files With Smreadclog

This tool is used to read RADIUS log files generated by the Policy Server. It is useful for troubleshooting the Policy Server when used as a RADIUS authentication server. Options are provided to display individual RADIUS attributes that are exchanged between NAS and SiteMinder.

Smreadclog uses the following arguments to supply information required to read RADIUS log files:

-i<input-file>

Specifies the filename of the log file.

-o<output-file>

Specifies the filename of the output file.

-s<secret>

Specifies the shared secret that can be used to decode RADIUS passwords.

-r

Indicates that a hex dump of an entire RADIUS packet be displayed.

-a

Indicates that RADIUS attributes should be displayed individually.

-d

Indicates that RADIUS attributes should be displayed according to their definition in the policy store. This option displays actual attribute names as well as attribute values formatted based on their attribute type. Without this option, only the attribute name and value are displayed (as a hex string).

-p<radius-server>

Enables you to record and replay RADIUS activity of the Policy Server service against your RADIUS server.

-m<authentication port>

Specifies the port used for RADIUS authentication if that port is not the default port, 1645.

-n<accounting port>

Specifies the port used for RADIUS accounting if that port is not the default port, 1646.

To use smreadclog

  1. Navigate to one of the following locations:
  2. Enter the following command:
    smreadclog -i<input-file> -o<output-file>
    -s<secret> -r -a -d -p<radius-server> -m<portnumber>
    -n<portnumber>
    

    For example,

    smreadclog -iradiuslog.txt -oradiuslog2.txt
    -ssecret -r -a -d -p123.123.12.12
    
How to Test using the SiteMinder Test Tool

The SiteMinder Test Tool simulates the behavior of a RADIUS authentication server. Using the Test Tool, you can test policies that authenticate RADIUS users and ensure that the response attributes you configured are returning the appropriate data.

The process of testing RADIUS policies includes the following steps:

  1. Create a RADIUS policy.
  2. Configure the Policy Server Management Console to use RADIUS, as explained in Configure the Policy Server Management Console.
  3. Configure the SiteMinder Test Tool to test RADIUS policies, as explained in Test RADIUS Policies.
Configure the Policy Server Management Console

To configure the Policy Server Management console

  1. Start the Policy Server Management Console.

    Important! If you are accessing this graphical user interface on Windows Server 2008, open the shortcut with Administrator permissions. Use Administrator permissions even if you are logged in to the system as an Administrator. For more information, see the release notes for your SiteMinder component.

  2. Select the Settings tab.
  3. On the Settings tab, do the following:
    1. In the RADIUS UDP Ports group box, select the Enable check box.
    2. In the Authentication field, enter 1645.
    3. In the Accounting field, enter 1646.
  4. On the Status tab, restart the Policy Server to enable the Policy Server configuration changes.

    You are now ready to test the RADIUS policies using the Test Tool.

Test RADIUS Policies

To test RADIUS policies

  1. Start the Test Tool.

    Important! Before running a SiteMinder utility or executable on Windows Server 2008, open the command line window with administrator permissions. Open the command line window this way, even if your account has administrator privileges.

  2. In the SiteMinder Agent group box, do the following:
    1. Select the RADIUS radio button.
    2. In the Secret field, enter the shared secret that was defined for the RADIUS agent in the SiteMinder Administration User Interface.
  3. In the User Information group box, do the following:
    1. In the User field, enter the name of a user in the RADIUS user directory whose authentication will be tested.
    2. In the Password field, enter the user's password.
    3. Select the CHAP Password check box if you are using a RADIUS CHAP Authentication scheme.
  4. In the Command group box, click IsAuthenticated.

The policy is tested and the response attributes appear in the Attributes group box.