⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 configure.texi

📁 gnu 的radius服务器很好用的
💻 TEXI
📖 第 1 页 / 共 5 页
字号:
@code{snmp}. @dfn{priority} determines the minimum priority ofthe messages displayed by this channel. The priorities in ascendingorder are: @code{debug}, @code{info}, @code{notice}, @code{warn},   @code{err}, @code{crit}, @code{alert}, @code{emerg}.The full category specification, denoted by the @code{category_spec}in the above section, can take any of the following three forms:@table @asis@item category_namePrint the messages of given category.@item priorityPrint messages of all categories, abridged by given priority. If thepriority is prefixed with @samp{=}, only messages with given prioritywill be displayed. If it is prefixed with @samp{!}, the messages withpriority other than the specified will be displayed. Otherwise, themessages with priorities equal to or greater than the specified willbe displayed.@item category_name . priorityPrint the messages of given category, abridged by given priority. Thepriority may be prefixed with either @samp{=} or @samp{!} as describedabove. The dot (@samp{.}) separates the priority from the categoryname, it may be surrounded by any amount of whitespace.@end tableAdditional category options valid for @code{auth} category are:@table @code@item print-authLog individual authentications.@item print-passInclude passwords for successful authentications. It is @emph{very}insecure, since all users' passwords will be echoed in the logfile.This option is provided only for debugging purposes.@item print-failed-passInclude passwords for failed authentications.@end table@comment **L4***************************************************************@node channel@subsubsection @code{channel} statement@cindex Logging channel@kwindex channel@kwindex file@kwindex syslog@kwindex print-pid@kwindex print-category@kwindex print-cons@kwindex print-level@kwindex print-priority@kwindex print-tid@kwindex print-milliseconds@kwindex prefix-hook@kwindex suffix-hookChannels represent methods for recording logging information.  Eachchannel has a unique name, and any categories which specify that name ina @code{channel} statement will use that channel.@command{radiusd} can write logging information to files or send it tosyslog.  The @code{file} statement sends the channel's output to thenamed file (@pxref{Naming Conventions}).  The @code{syslog} statementsends the channel's output to syslog with the specified facility andseverity.Channel options modify the data flowing through the channel:@table @code@item print-pidAdd the process @sc{id} of the process generating the logging information.@item print-consAlso send the logging information to the system console.@item print-categoryAdd the category name to the logging information.@item print-priority@itemx print-levelAdd the priority name to the logging information.@item print-millisecondsPrint timestamp with milliseconds.@item prefix-hookDeclares the name of Rewrite function used as logging prefix hook for thatchannel (@pxref{hooks}). This overrides any global prefix hook.@item suffix-hookDeclares the name of Rewrite function used as logging suffix hook for thatchannel (@pxref{hooks}). This overrides any global suffix hook.@end table@comment **L4***************************************************************@node logging example@subsubsection Example of the @code{logging} statement@exindex @command{logging} statement@smallexamplelogging @{        channel default @{                file "radius.log";                print-category yes;                print-priority yes;        @};        channel info @{                file "radius.info";                print-pid yes;                print-cons yes;                print-priority yes;        @};        channel notice @{                syslog auth.notice;        @};        category auth @{                print-auth yes;                print-failed-pass yes;        @};        category notice @{                channel notice;        @};        category info @{                channel info;        @};        category debug @{                channel info;                level radiusd=1,files;        @};        category *.!debug @{                channel default;        @};@};@end smallexample@comment **L3***************************************************************@node auth@subsection @code{auth} statement@cindex Authentication service parameters@cindex Customizing authentication server@kwindex auth @kwindex listen@kwindex port@kwindex max-requests @kwindex time-to-live @kwindex request-cleanup-delay@kwindex detail@kwindex strip-names@kwindex checkrad-assume-logged@kwindex password-expire-warning@kwindex compare-atribute-flag@subheading Syntax:@smallexampleauth @{        listen ( @var{addr-list} | no );         forward @var{addr-list};         port @var{number} ;         max-requests @var{number} ;         time-to-live @var{number} ;         request-cleanup-delay @var{number} ;         detail @var{bool} ;         strip-names @var{bool} ;         checkrad-assume-logged @var{bool} ;         password-expire-warning @var{number} ;         compare-atribute-flag @var{character} ;         trace-rules @var{bool} ;         reject-malformed-names @var{bool} ; @} ;@end smallexample@subheading Usage:The @code{auth} statement configures the parameters of the authenticationservice.@subheading @code{listen} statementThis statement determines on which addresses radiusd will listen for incomingauthentication requests. Its argument is a comma-separated list of itemsin the form @var{ip}:@var{port-number}. @var{ip} can be either an IPaddress in familiar ``dotted-quad'' notation or ahostname. :@var{port-number} part may be omitted, in which case thedefault authentication port is assumed.If the @code{listen} statement is omitted, radiusd will accept incomingrequests from any interface on the machine.The special value @code{no} disables listening for authenticationrequests.The following example configures radius to listen for the incomingrequests on the default authentication port on the address 10.10.10.1and on port 1645 on address 10.10.11.2.@smallexamplelisten 10.10.10.1, 10.10.11.2:1645;@end smallexample@subheading @code{forward} statementThis statement enables @dfn{forwarding} of the requests to the givenset of servers. Forwarding is an experimental feature of GNU Radius,it differs from proxying in that the requests are sent to the remoteserver (or servers) @emph{and} processed locally. The remote serveris not expected to reply.This mode is intended primarily for debugging purposes. It could alsobe useful in some very complex and unusual configurations. @subheading Numeric statements@table @code@item portSets the number of which @sc{udp} port to listen on for theauthentication requests.@item max-requestsSets the maximum number of authentication requests in the queue. Anysurplus requests will be discarded.@item time-to-liveSets the request time-to-live in seconds. The time-to-live is the timeto wait for the completion of the request. If the request job isn'tcompleted within this interval of time it is cleared, the correspondingchild process killed and the request removed from the queue.@item request-cleanup-delaySets the request cleanup delay in seconds, i.e. determines how long willthe completed authentication request reside in the queue.@item password-expire-warningSets the time interval for password expiration warning. If user'spassword expires within given number of seconds, radiusd will senda warning along with authentication-acknowledge response. Defaultis 0.@end table@subheading Boolean statements@table @code@item detailWhen set to true, @command{radiusd} will produce the detailed log of eachreceived packet in the file @file{radacct/@var{nasname}/detail.auth}. Theformat of such log files is identical to the format of detailedaccounting files (@pxref{Detailed Request Accounting}).@item strip-namesDetermines whether @command{radiusd} should strip any prefixes/suffixesoff the username before logging.@item checkrad-assume-logged@xref{mlc}, for the description of this setting. It is accepted in@code{auth} for compatibility with previous versions of GNU Radius.  @item trace-rulesEnables tracing of the configuration rules that were matched duringprocessing of each received authentication request. @xref{RuleTracing}, for detailed information about this mode.@item reject-malformed-namesEnables sending access-reject replies for the access-accept requeststhat contain an invalid value in @attr{User-Name} attribute. By defaultsuch requests are discarded without answering. See the description of@code{username-chars} (@pxref{option,username-chars,Option statement}).@end table@subheading Character statement@table @code@item compare-attribute-flagThe argument to this statement is a character from @samp{1} through@samp{9}. This statement modifies the request comparison method forauthentication requests. @xref{Extended Comparison}, for a detaileddescription of its usage.@end table@comment **L3***************************************************************@node acct@subsection @code{acct} statement@cindex Accounting service parameters@cindex Customizing accounting service@kwindex acct statement @kwindex listen@kwindex port @kwindex max-requests @kwindex time-to-live @kwindex request-cleanup-delay@kwindex detail@kwindex compare-atribute-flag@subheading Syntax:@smallexampleacct @{        listen ( @var{addr-list} | no );         forward @var{addr-list} ;         port @var{number} ;         detail @var{bool};         system @var{bool};        max-requests @var{number} ;         time-to-live @var{number} ;         request-cleanup-delay @var{number} ;         compare-atribute-flag @var{character} ;         trace-rules @var{bool} ; @} ;@end smallexample@subheading Usage:The @code{acct} statement configures the parameters of the accountingservice.@subheading @code{listen} statementThis statement determines on which addresses radiusd will listen for incomingaccounting requests. Its argument is a comma-separated list of itemsin the form @var{ip}:@var{port-number}. @var{ip} can be either an IPaddress in familiar ``dotted-quad'' notation or ahostname. :@var{port-number} part may be omitted, in which case thedefault accounting port is assumed.If the @code{listen} statement is omitted, radiusd will accept incomingrequests from any interface on the machine.The special value @code{no} disables listening for accountingrequests.The following example configures radius to listen for the incomingrequests on the default accounting port on the address 10.10.10.1and on port 1646 on address 10.10.11.2.@smallexamplelisten 10.10.10.1, 10.10.11.2:1646;@end smallexample@subheading @code{forward} statementThis statement enables @dfn{forwarding} of the requests to the givenset of servers. Forwarding is an experimental feature of GNU Radius,it differs from proxying in that the requests are sent to the remoteserver (or servers) @emph{and} processed locally. The remote serveris not expected to reply.This mode is intended primarily for debugging purposes. It could alsobe useful in some very complex and unusual configurations. @subheading Numeric statements@table @code@item port Sets the number of which port to listen for the authentication requests.@item max-requests Sets the maximum number of accounting requests in the queue. Anysurplus requests will be discarded.@item time-to-liveSets the request time-to-live in seconds. The time-to-live is the timeto wait for the completion of the request. If the request job isn'tcompleted within this interval of time it is cleared, the correspondingchild process killed and the request removed from the queue.@item request-cleanup-delay Sets the request cleanup delay in seconds, i.e. determines how long willthe completed account request reside in the queue.@end table@subheading Boolean statements@table @code@item detailWhen set to @code{no}, disables detailed accounting(@pxref{Detailed Request Accounting}). @item systemWhen set to @code{no}, disables system accounting (@pxref{SystemAccounting}). Notice, that this will disable simultaneous use checkingas well, unless you supply an alternative @sc{mlc} method (currently@sc{sql}, @xref{Multiple Login Checking}, for the detailed discussionof this). @item trace-rulesEnables tracing of the configuration rules that were matched duringprocessing of each received accounting request. @xref{RuleTracing}, for detailed information about this mode.@end table@subheading Character statement@table @code@item compare-attribute-flagThe argument to this statement is a character from @samp{1} through@samp{9}. This statement modifies the request comparison method forauthentication requests. @xref{Extended Comparison}, for a detaileddescription of its usage.@end table@comment **L3***************************************************************@node usedbm@subsection @code{usedbm} statement@cindex DBM: enabling@cindex Enabling DBM@kwindex usedbm 

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -