Modifying Accounting-Based Authorization; Adjusting The Traffic Limit; Count Only Uploaded Or Downloaded Traffic; Accounting Terminology - AMIGOPOD PowerConnect W Clearpass 100 Software Manual

Implementing accounting-based authorization technote
Hide thumbs Also See for PowerConnect W Clearpass 100 Software:
Table of Contents

Advertisement

5

Modifying Accounting-Based Authorization

Adjusting the traffic limit

The traffic limit is configured in two places:
1. In the RADIUS User Role as part of an authorization expression – the value is used to
compare against the guest's current traffic measurement and determine if the access
request should be permitted.
2. In the RADIUS Web Login as part of the landing page – the value is used to
determine the guest's remaining quota after subtracting the guest's current traffic
measurement.
To increase or decrease the traffic quota, change the traffic limit defined in both of the
places listed above.

Count only uploaded or downloaded traffic

The default configuration in this technical note counts both uploaded and downloaded
traffic towards the quota.
It is possible for the quota to be measured in one direction only, i.e. either guest uploads or
downloads.

Accounting terminology

RADIUS Accounting uses a definition of "input" and "output" octets that corresponds to
upload and download.
NOTE
The following discussion assumes that the NAS equipment follows the normal convention
that "upload" and "download" are relative to the NAS. In this convention, traffic received
from a client (i.e. uploaded by the client) is input traffic, and traffic sent to a client (i.e.
downloaded by the client) is output traffic. Certain vendors use the opposite convention,
in which case you must reverse the definition of "input" and "output".
If in doubt, perform a large download from a client connected to the NAS in question, and
check the accounting statistics – if the "Session Download" is the larger number, then the
normal convention applies, and "input" is "upload". Otherwise, if the "Session Upload" is
the larger number, then the reverse convention applies, and "input" is "download".
Session Traffic
Guest Upload
Guest Download

Counting only downloaded traffic

Two modifications are required to change the quota measurement.
First, use the following condition expression in the RADIUS User Role to count only
"output" traffic (in the normal convention, traffic downloaded by a client):
return GetUserTraffic('00:00', 'now', 'out') > 200e6 &&
AccessReject();
Amigopod |Technical Note
Normal Convention
Input
Output
Implementing Accounting-Based Authorization
Reversed Convention
Output
Input
|21

Advertisement

Table of Contents
loading

This manual is also suitable for:

Amigopod

Table of Contents