Clean up loopback / inaddr_any checks
[freeradius.git] / man / man5 / rlm_attr_rewrite.5
1 .TH rlm_attr_rewrite 5 "3 February 2004" "" "FreeRADIUS Module"
2 .SH NAME
3 rlm_attr_rewrite \- FreeRADIUS Module
4 .SH DESCRIPTION
5 The \fIrlm_attr_rewrite\fP module provides functionality to rewrite
6 data in radius packets on the fly.  This can be useful in
7 authorization and accounting functions.
8 .PP
9 The main configuration items to be aware of are:
10 .IP attribute
11 The name of the attribute that you want to be rewritten
12 .IP searchfor
13 String to be replaced.
14 .IP searchin
15 Where to look for the attribute.  Valid values are:
16 .BR packet,
17 .BR reply,
18 .BR proxy,
19 .BR proxy_reply,
20 .BR config
21 .IP replacewith
22 String to replace "searchfor".
23 .IP append
24 Set to yes or no.  If set to yes then the replace string will be
25 appended to the original string.
26 .IP ignore_case
27 Set to yes or no.  Determines whether search will be case insensitive
28 or case sensitive.
29 .IP new_attribute
30 Set to yes or no.  If set to yes, then new attribute will be created
31 with values from "searchin" and "replacewith".  Other options will be
32 ignored.
33 .IP max_matches
34 Set the max number of attributes to match against.  This is useful if
35 you need to rewrite the value in multiple Vendor Specific Attributes.
36 .PP
37 .SH SECTIONS
38 .BR authorization,
39 .BR authentication,
40 .BR postauthentication,
41 .BR preaccounting,
42 .BR accounting,
43 .BR preproxy,
44 .BR postproxy
45 .PP
46 .SH FILES
47 .I /etc/raddb/radiusd.conf
48 .PP
49 .SH "SEE ALSO"
50 .BR radiusd (8),
51 .BR radiusd.conf (5)
52 .SH AUTHOR
53 Chris Parker, cparker@segv.org
54