Scroll to navigation

rlm_attr_rewrite(5) FreeRADIUS Module rlm_attr_rewrite(5)

NAME

rlm_attr_rewrite - FreeRADIUS Module

DESCRIPTION

The rlm_attr_rewrite module provides functionality to rewrite data in radius packets on the fly. This can be useful in authorization and accounting functions.

The main configuration items to be aware of are:

The name of the attribute that you want to be rewritten
String to be replaced.
Where to look for the attribute. Valid values are: packet, reply, proxy, proxy_reply, config
String to replace "searchfor".
Set to yes or no. If set to yes then the replace string will be appended to the original string.
Set to yes or no. Determines whether search will be case insensitive or case sensitive.
Set to yes or no. If set to yes, then new attribute will be created with values from "searchin" and "replacewith". Other options will be ignored.
Set the max number of attributes to match against. This is useful if you need to rewrite the value in multiple Vendor Specific Attributes.

SECTIONS

authorization, authentication, postauthentication, preaccounting, accounting, preproxy, postproxy

FILES

/etc/raddb/radiusd.conf

SEE ALSO

radiusd(8), radiusd.conf(5)

AUTHOR

Chris Parker, cparker@segv.org

3 February 2004