0% found this document useful (0 votes)
14 views4 pages

Configuring RADIUS for PADM20

This document outlines the configuration of RADIUS authentication for the PADM20 system, detailing prerequisites, dictionary configuration, supported attributes, and user setup. It emphasizes the importance of defining unique user configurations and the necessary communication between PADM20 and the RADIUS server. The document also includes examples of configuration files for both the dictionary and user entries specific to FreeRadius.

Uploaded by

Esmaeil
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

Configuring RADIUS for PADM20

This document outlines the configuration of RADIUS authentication for the PADM20 system, detailing prerequisites, dictionary configuration, supported attributes, and user setup. It emphasizes the importance of defining unique user configurations and the necessary communication between PADM20 and the RADIUS server. The document also includes examples of configuration files for both the dictionary and user entries specific to FreeRadius.

Uploaded by

Esmaeil
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

KNOWLEDGE BASE ARTICLE

2/2/2021
Configuring RADIUS with PADM20

PADM20 supports RADIUS authentication, authorization and accounting. For PADM20 and one or more
RADIUS servers to communicate with each other, they must each be configured. This document provides
information on configuring a RADIUS server for use with PADM20.

Prerequisites:
 One or more RADIUS entries exist in PADM20 [Security > User Accounts > Remote Servers*].
 PADM20 is set to use remote Authentication and/or Accounting [Security > Security Settings > AAA*]
 A version of RADIUS is installed and accessible by PADM20 over the network

* Refer to the PADM20 User Guide for details on creating RADIUS entries and setting AAA

This document uses FreeRadius ([Link]) as a RADIUS server reference. Configurations will
vary depending on the RADIUS server in use.

Configuring the Dictionary


The Dictionary identifies and defines of the attributes that can be exchanged between a RADIUS server
and PADM20 (the RADIUS client). Exhibit A of this document shows a sample '[Link]'
configuration for use with a FreeRadius server.

In configuring the RADIUS server, a Vendor ID needs to be specified. For Tripp Lite, the assigned ID is 850.
This ID allows the RADIUS server to understand and accept Tripp Lite-specific attributes sent by PADM20.
Likewise, it allows the server to respond with Tripp Lite-specific information.

Supported Attributes
Previous PowerAlert firmware releases, 15.x.x, supported three attributes:
 Tripp-Lite-Authorization
 Tripp-Lite-Outlet-Realms
 Tripp-Lite-Message

PADM20 introduces a new attribute for use in RADIUS: TrippLite-User-Role. This attribute grants access
based on PADM20 Roles. For example, a TrippLite-User-Role with a value of “Administrator” would grant
PADM20 Administrator privileges to the user. If a role “CustomRole1” is created in PADM20, a TrippLite-
User-Role with a value of “CustomRole1” would give the user all privileges associated with that role.

Note: PADM20 minimally supports the TrippLite-Authorization attribute to retain RADIUS access after an
upgrade from 15.x.x, in case the TrippLite-User-Role attribiute has not yet been configured. The table
below indicates the role PADM v20 will assign based on TrippLite-Authorization values.

Role Administrator Manager Guest


default=rw,security=rw default=rw,security=none default=ro
TrippLite-Authorization default=rwv default=rw,security=ro default=ro,security=ro
all other combinations
KNOWLEDGE BASE ARTICLE

Configuring the Users


Each user requires a unique configuration. For a FreeRadius server, the user entries go into a single file
called “users.” A sample of the configuration file is given in Exhibit B

RADIUS Entry Example: User with PADM20 Administrator Privileges


The following is an example of an entry in the RADIUS user table:

radiusadmin Cleartext-Password := "radiusadmin1"


Reply-Message = "Hello, %{User-Name}",
TrippLite-User-Role = “Administrator”,
Session-Timeout = 2400,
Idle-Timeout = 1200

In this entry, the user name is 'radiusadmin' with a password of 'radiusadmin1'. Note that PowerAlert will
only generate authentication requests with a clear text password; no other exchange mechanism is
supported at this time.

The Reply-Message line defines the textual return response when the user authenticates successfully. It
is a standard component of a response to an authentication request, though not required by PADM20.

The TrippLite-User-Role string is required in all successful authentication responses. Failure to return said
string will default the user to no authorization. In this example, the user would receive privileges
associated with the default PADM20 Administrator role.

The Session-Timeout and Idle-Timeout strings are not defined in the dictionary. They are part of the
standard RADIUS configuration defined by RFC 2865 (i.e. not vendor-specific).

 Session-Timeout = the maximum number of seconds a session can be active before it is terminated.
In the case of PADM20, if this value is not sent, a user’s session will never timeout.

 Idle-Timeout = the maximum number of consecutive seconds a session can be idle before it is
terminated. In the case of PADM20, if this value is not sent, a user’s session will never expire due to
inactivity.

Configuring Client Access


Once the Dictionary and User Configurations are defined, the RADIUS server must be configured to
communicate with PADM20; this varies by RADIUS server, so refer to its documentation. For a FreeRadius
server, entries would be added to the [Link] file per the instructions provided with the sample
entries.
KNOWLEDGE BASE ARTICLE

Exhibit A - Sample '[Link]' FreeRadius Configuration File

Below is a sample '[Link]' FreeRadius Configuration File. A similar dictionary can be viewed
on the FreeRadius GitHub:
[Link]
server/blob/master/share/dictionary/radius/[Link]

######################################################################

VENDOR TrippLite 850

BEGIN-VENDOR TrippLite

#
## Access is granted to the various facilities within the PowerAlert software
## by means of the TrippLite-Authorization attribute, which is a comma-delimited
## string of facility-code to access-level pairs.
##
## Facility Codes: default, security, networksettings, systemsettings, systreminfo,
## logging, devicestatus, devicecontrols, deviceevents,
## deviceloads, actions, schedules, discovery
##
## Access Levels: none (or 0), ro (or 1), rw (or 2)
##
## Example: default=rw,security=none,systemsettings=ro
##
## - The default access for all non-specified facilitys is read/write
## - The user has no access to the security facility
##

ATTRIBUTE TrippLite-Authorization 1 string

#
## Comma-delimited string of outlet security realms from 1 through 32 to which
## an otherwise restricted user has read-write access.
##
## Example: 1-5,10,15
##
## - User has read-write access to realms 1, 2, 3, 4 and 5
## - User has read-write access to realms 10 and 15
##

ATTRIBUTE TrippLite-Outlet-Realms 2 string

#
## Simple message, usually sent as part of accounting
##

ATTRIBUTE TrippLite-Message 3 string

#
## PADM20 user role. Role with same name should exists on the device.
##
ATTRIBUTE TrippLite-User-Role 4 string

END-VENDOR TrippLite
KNOWLEDGE BASE ARTICLE

Exhibit B - Sample 'users' FreeRadius Configuration File Snippet

The following snippet defines simple sample of an account for PADM20:

# -------------------------------------------------------------------#
# PowerAlert Entries
# -------------------------------------------------------------------#
radiusadmin Cleartext-Password := "radiusadmin"
Reply-Message = "Hello, %{User-Name}",
TrippLite-User-Role = “Administrator”,
Session-Timeout = 2400,
Idle-Timeout = 1200

Common questions

Powered by AI

Configuring PADM20 without a properly defined RADIUS dictionary and attribute assignments can have significant security implications. Without accurately defined attributes, there can be misinterpretation of access levels, resulting in either overly permissive or restrictive user access. This may lead to unauthorized access to sensitive data or operations, or preventive measures might unnecessarily hinder legitimate user operations. Additionally, without explicit attribute definitions, custom functionalities specific to PADM20 might not function correctly, compromising both security and operational effectiveness .

A RADIUS dictionary like 'dictionary.tripplite' plays a critical role in enforcing attribute compatibility across different RADIUS configurations by providing a standardized set of definitions for vendor-specific attributes. These dictionaries establish how various attributes such as 'TrippLite-Authorization' and 'TrippLite-User-Role' are interpreted and transmitted between the RADIUS server (like FreeRadius) and client devices (like PADM20). This ensures that messages exchanged are correctly understood and processed, allowing for seamless integration of custom functionalities within standard protocols .

The 'Session-Timeout' and 'Idle-Timeout' configurations affect user sessions in PADM20 by determining the duration of user activity within a session. The 'Session-Timeout' setting specifies the maximum time a session can be active before it is automatically terminated; without this value, a session does not expire due to time alone. Meanwhile, 'Idle-Timeout' defines the maximum period a session can remain inactive before termination. If not set, a session will not close due to inactivity. These configurations help control and secure user access based on activity and time .

PADM20 ensures that RADIUS attributes specific to Tripp Lite are recognized by the RADIUS server by specifying a Vendor ID during the RADIUS server configuration. For Tripp Lite, the assigned Vendor ID is 850. This ID enables the server to handle Tripp Lite-specific attributes such as TrippLite-Authorization, TrippLite-Outlet-Realms, TrippLite-Message, and TrippLite-User-Role. These attributes are defined in the 'dictionary.tripplite' configuration to ensure compatibility and proper communication between PADM20 and the RADIUS server .

The 'TrippLite-Authorization' attribute manages access levels to various facilities in PADM20 by using a comma-delimited string of facility-code to access-level pairs. Each pair specifies the rights for a particular facility, such as 'default', 'security', 'systemsettings', etc. The access levels can be 'none' (or 0), 'ro' (or 1), and 'rw' (or 2), representing no access, read-only access, and read-write access, respectively. This attribute allows detailed customization of user permissions across different system components in PADM20, providing precise control over what actions users can perform .

If the 'TrippLite-User-Role' string is not returned in a successful RADIUS authentication response for PADM20, the user may default to having no authorization, effectively preventing access to the system or providing the user only minimal or incorrect access rights. This could lead to security issues or operational inefficiencies, as users would not have the appropriate permissions to perform required tasks .

The 'TrippLite-User-Role' attribute in a RADIUS configuration for PADM20 is significant because it determines the access level granted to a user based on PADM20 roles. For instance, assigning a 'TrippLite-User-Role' with a value of “Administrator” grants a user Administrator privileges within PADM20. This attribute ensures that after authenticating, the user receives the appropriate permissions as defined by PADM20 roles .

The use of FreeRadius as the reference server influences the configuration of custom RADIUS attributes for PADM20 by serving as a template for setting up vendor-specific attributes. The 'dictionary.tripplite' provides examples of how to configure attributes like 'TrippLite-Authorization' and 'TrippLite-User-Role', facilitating compatibility and ensuring correct communication between PADM20 and the RADIUS server. FreeRadius's flexible configuration options allow detailed tailoring of these attributes according to PADM20's requirements .

When upgrading from a previous version of PADM20 firmware, the RADIUS configuration affects the updating of access roles by providing backward compatibility through the 'TrippLite-Authorization' attribute. This ensures that existing RADIUS access is retained even if the newer 'TrippLite-User-Role' attribute has not been configured. The system is designed to minimally support the 'TrippLite-Authorization' attribute, which maps predefined access roles to ensure that users maintain correct access levels post-upgrade .

It is necessary for a user configuration entry in a FreeRadius server to include a clear text password for PADM20 authentication because PowerAlert, as used in PADM20, only generates authentication requests using clear text passwords. No other authentication methods, such as encrypted passwords, are supported at this time. This ensures compatibility between the RADIUS server and PADM20, while also aligning with the current authentication capabilities of the system .

You might also like