Ascend Filter Translation
Ascend defines two attributes—Ascend-Data-Filter (242) and Ascend-Call-Filter (243)—that contain structured binary data representing a filter to be applied to the NAS device.
Instead of entering hexadecimal strings to configure these attributes, users can configure these attributes as text strings. Steel-Belted Radius Carrier automatically converts the text strings to the proper binary representation. The original filter attributes are still supported, and these attributes still may be configured as hexadecimal strings.
The following attributes allow configuration as text:
When Steel-Belted Radius Carrier formats a response packet, it translates the string version of the attribute to the appropriate binary value, and returns the attribute in the Access-Accept message.
These attributes may be entered as text strings through the Web GUI. The attributes may also be returned from an LDAP or SQL database during authentication.
No syntax validation is performed when the attribute is configured. The validation of syntax occurs only when the response packet is formatted. If the syntax is invalid, a reject response is issued and an error is logged.
We recommend that you test these attributes before using them on a production server.
Two types of filter are supported: ip and generic.
In the syntax descriptions in Table 171, brackets [ ] indicate that the items enclosed are optional.
ip [direction] [action] [srcip address[/mask]] [dstip address[/mask]] protocol [srcport operator port] [dstport operator port]
Table 171: Syntax
May be in or out. The default is out.
May be forward or drop. The default is drop.
An IP address in decimal dotted notation.
The number of bits (decimal) in the network portion, from 0 through 32. The default is based on class of network.
The protocol number (decimal); for example, 6 for TCP or 17 for UDP. The following protocol names are translated to the proper number:
May be = (equal sign), != (exclamation and equal sign), < (less than), or > (greater than).
The port number (decimal). In addition, the following service names are translated to the proper port number:
ip out forward srcip 10.1.1.0/24 6 dstport = 80 srcport < 1023
See your Ascend documentation for details about the syntax for these attributes.