Radiator Server Documentation — v10.34.1

radiusproxy

RADIUS proxy request and response data. See RADIUS proxying for configuration examples.

Fields

FieldTypeDescription
requestpacketProxy request. Writable during @pre-proxying.
replypacketProxy reply. Writable during @post-proxying.
serverserver?Proxy server info

Server Object

FieldTypeDescription
namestringProxy server name
tlsbooleanIs TLS connection?

Packet Methods

The packet methods are identical to radius packets. Write methods follow the field restrictions above.

MethodParametersReturnsDescription
attr(name, tag?)attribute name, optional tagvalue?Get first attribute value
attr_last(name, tag?)attribute name, optional tagvalue?Get last attribute value
attr_all(name, tag?)attribute name, optional tagvalues?Get all attribute values
attrs()-tableGet all attributes as table
append_attr(name, tag?, value)name, tag, value-Append an attribute to the writable packet
append_attrs(name, tag?, values)name, tag, values-Append values to the writable packet
set_attr(name, tag?, value)name, tag, value-Set an attribute on the writable packet
set_attrs(name, tag?, values)name, tag, values-Set values on the writable packet