📄 rlm_attr_filter.5
字号:
.TH rlm_attr_filter 5 "3 February 2004" "" "FreeRADIUS Module".SH NAMErlm_attr_filter \- FreeRADIUS Module.SH DESCRIPTIONThe \fIrlm_attr_filter\fP module exists for filtering certainattributes and values in received ( or transmitted ) radius packetsfrom ( or to ) remote proxy servers. It gives the proxier ( us ) aflexible framework to filter the attributes we send to or receivefrom these remote proxies. This makes sense, for example, in anout-sourced dialup situation to various policy decisions, such asrestricting a client to certain ranges of Idle-Timeout orSession-Timeout..PPFilter rules are defined and applied on a per-realm basis, where therealm is anything that is defined and matched based on theconfiguration of the \fIrlm_realm\fP module..PPThe file that defines the attribute filtering rules follows a similarsyntax to the \fIusers\fP file. There are a few differences however:.PP.DS There are no check-items allowed other than the realm..PP There can only be a single DEFAULT entry..PPThe rules for each entry are parsed to top to bottom, and anattribute must pass *all* the rules which affect it in order tomake it past the filter. Order of the rules is important.The operators and their purpose in defining the rules are asfollows:.TP.B = THIS OPERATOR IS NOT ALLOWED. If used, and warning message isprinted and it is treated as ==.TP.B := Set, this attribute and value will always be placed in theoutput A/V Pairs. If the attribute exists, it is overwritten..TP.B == Equal, value must match exactly..TP.B =* Always Equal, allow all values for the specified attribute..TP.B !* Never Equal, disallow all values for the specified attribute.( This is redundant, as any A/V Pair not explicitly permittedwill be dropped )..TP.B != Not Equal, value must not match..TP.B >= Greater Than or Equal.TP.B <= Less Than or Equal.TP.B > Greather Than.TP.B < Less Than.PPIf regular expressions are enabled the following operators arealso possible. ( Regular Expressions are included by defaultunless your system doesn't support them, which should be rare ).The value field uses standard regular expression syntax..PP.TP.B =~ Regular Expression Equal.TP.B !~ Regular Expression Not Equal.PPSee the default \fI/etc/raddb/attrs\fP for working examples ofsample rule ordering and how to use the different operators..DE.PPThe main configuration item is:.IP attrsfileThis specifies the location of the file used to load the filter rules..PP.SH SECTIONS.BR authorization,.BR accounting,.BR preproxy,.BR postproxy.PP.SH FILES.I /etc/raddb/radiusd.conf.I /etc/raddb/attrs.PP.SH "SEE ALSO".BR radiusd (8),.BR radiusd.conf (5).SH AUTHORChris Parker, cparker@segv.org
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -