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

📄 configure.texi

📁 gnu 的radius服务器很好用的
💻 TEXI
📖 第 1 页 / 共 5 页
字号:
@subheading Syntax:@smallexampleusedbm ( yes | no ) ;@end smallexample@subheading UsageThe @code{usedbm} statement determines whether the DBM support shouldbe enabled.@table @code@item noDo not use DBM support at all.@item yesUse only the DBM database and ignore @file{raddb/users}.@end table@comment **L3***************************************************************@node snmp@subsection @code{snmp} statement @cindex SNMP service parameters@cindex Customizing SNMP server@kwindex snmp@kwindex port @kwindex max-requests@kwindex time-to-live@kwindex request-cleanup-delay@kwindex ident@kwindex community@kwindex network@kwindex acl@kwindex allow@kwindex deny@kwindex storage@kwindex file@kwindex perms@kwindex max-nas-count@kwindex max-port-count@subheading Syntax:@smallexamplesnmp @{        port @var{portno} ;         listen ( @var{addr-list} | no );         max-requests @var{number} ;         time-to-live @var{number} ;         request-cleanup-delay @var{number} ;         ident @var{string} ;         community @var{name} ( rw | ro ) ;         network @var{name} @var{network} [ @var{network} ... ] ;         acl @{                allow @var{network_name} @var{community_name} ;                 deny @var{network_name} ;         @} ;         storage @{                file @var{filename} ;                 perms @var{number} ;                 max-nas-count @var{number} ;                 max-port-count @var{number} ;         @} ; @};@end smallexample@subheading UsageThe @code{snmp} statement configures the SNMP service.@subheading @code{listen} statementThe @code{listen} statement determines on which addresses radiusd willlisten for incoming SNMP requests. The argument is a comma-separatedlist of items in the form @var{ip}:@var{port-number}. The @var{ip} canbe either an IP address in familiar ``dotted-quad'' notation or ahostname. The :@var{port-number} part may be omitted, in which case thedefault SNMP port (161) is used.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 SNMP requests.The following example configures radius to listen for the incomingSNMP requests on the default SNMP port on the address 10.10.10.1and on port 4500 on address 10.10.11.2.@smallexamplelisten 10.10.10.1, 10.10.11.2:4500;@end smallexample@subheading Numeric statements@table @code@item portSets the number of which port to listen for the SNMP requests.@item max-requestsSets the maximum number of SNMP 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 SNMP request reside in the queue.@end table@subheading String statements@table @code@item identSets the SNMP server identification string.@end table@subheading Community and network definitions@table @code@item community @var{name} ( rw | ro )Defines the community @var{name} as read-write (@code{rw}) or read-only(@code{ro}).@item network @var{name} @var{network} [ @var{network} ... ]Groups several networks or hosts under one logical network name.@end table@subheading Access-Control List definitions@table @code@item allow @var{network_name} @var{community_name}allow hosts from the group @var{network_name} access to community@var{community_name}.@item deny @var{NETWORK_NAME}Deny access to SNMP service from any host in the group @var{network_name}.@end table@subheading Storage controlGNU Radius stores the SNMP monitoring data in an area of sharedmemory mapped to an external file. This allows all subprocessesto share this information and to accumulate the statistics acrossinvocations of the daemon.The @code{storage} statement controls the usage of the storage forthe SNMP data.@table @code@item fileSets the file name for the SNMP storage file. Unless the filenamebegins with a @samp{/} it is taken as relative to the currentlogging directory.@item permsSets the access permissions for the storage file. @emph{Notice}, thatthis statement does not interpret its argument as octal by default, sobe sure to prefix it with @samp{0} to use an octal value.@item max-nas-countSets maximum number of NASes the storage file is able to handle. Defaultis 512. Raise this number if you see the following message in your logfile:@cartouche@examplereached SNMP storage limit for the number ofmonitored NASes: increase max-nas-count@end example@end cartouche@item max-port-countSets maximum number of ports the storage file is able to handle. Defaultis 1024. Raise this number if you see the following message in your logfile:@cartouche@examplereached SNMP storage limit for the number ofmonitored ports: increase max-port-count@end example@end cartouche@end table@comment **L3***************************************************************@node rewrite@subsection @code{rewrite} statement.@cindex Rewrite language settings@kwindex rewrite@UNREVISED{}@subheading Syntax:@smallexamplerewrite @{        stack-size @var{number} ;         load-path @var{string} ;         load @var{string} ; @};@end smallexample@subheading Numeric statements@table @code@item stack-sizeConfigures runtime stack size for Rewrite. The @var{number} is thesize of stack in words. The default value is 4096.@end table@subheading String statements@table @code@item load-pathAdd specified pathname to the list of directories searched forrewrite files. @item loadLoads the specified source file on startup. Unless @var{string} is anabsolute pathname, it will be searched in directories set up by@code{load-path} statement.@end table @subheading LoadingThe default load path is @code{@file{RADDB}:@file{DATADIR}/rewrite}. @FIXME{Describe the loading process in detail. Also, some kind ofautoloading is necessary for Rewrite.}@comment **L3***************************************************************@node guile@subsection @code{guile} statement@cindex Guile interface configuration@cindex Customizing Radiusd Guile interface@kwindex guile @kwindex debug@kwindex load-path@kwindex load-module@kwindex load@kwindex gc-interval@kwindex outfile@kwindex eval@UNREVISED{}The @code{guile} statement allows to configure server interface withGuile. @subheading Syntax@smallexampleguile @{        debug @var{bool} ;         load-path @var{string} ;         load @var{string} ;         load-module @var{string} [ @var{string} ... ] ;         eval @var{expression} [ @var{expression} ... ] ;         gc-interval @var{number} ;         outfile @var{string} ; @};@end smallexample@subheading Usage@subheading Boolean statements@table @code@item debugWhen set to yes, enables debugging evaluator and backtraces on Guilescripts.@end table@subheading Numeric statements@table @code@item gc-intervalConfigures the forced garbage collections. By default the invocationof the garbage collector is run by the internal Guile mechanism.However, you may force Radius to trigger the garbage collectionat fixed time intervals. The @code{gc-interval} statement setssuch interval in seconds.For more information about Guile memory management system in generaland garbage collections in particular, see @ref{Memory Management,,Memory Management and Garbage Collection,guile,The Guile Reference Manual}.@end table@subheading String statements@table @code@item evalEvaluates its argument as @code{Scheme} expression.@item load-pathAdds specified pathname to @code{%load-path} variable.@item loadLoads the specified source file on startup.@item load-moduleLoads the specified Scheme module on startup. This statement takes anarbitrary number of arguments. The first argument specifies the nameof the module to load, the rest of arguments is passed to the@dfn{module initialization} funtion. Module initialization functionis a function named @samp{@var{module}-init}, where @var{module} isthe module name. Arguments are converted using usual @code{Guile}rules, except that the ones starting with a dash (@samp{-}) areconverted to keyword arguments.  @FIXME{Describe theloading sequence in more detail. Why are modules preferred over plainSCM programs, etc.}@item outfileRedirects the standard output and standard error streams of the @code{Guile}functions to the given file. Unless the filename starts with @samp{/},it is taken relative to the current logging directory.@end table@xref{Guile}, for a detailed description of Guile extensions interface.@comment **L3***************************************************************@node message@subsection @code{message} statement@cindex Messages: configuring@cindex Customizing reply messages@kwindex message@kwindex account-closed @kwindex password-expired@kwindex password-expire-warning @kwindex access-denied @kwindex realm-quota @kwindex multiple-login @kwindex second-login @kwindex timespan-violation The @code{message} statement allows to set up the messages that arereturned to the user with authentication-response packets.@subheading Syntax@smallexamplemessage @{        account-closed @var{string} ;         password-expired @var{string} ;         password-expire-warning @var{string} ;         access-denied @var{string} ;         realm-quota @var{string} ;         multiple-login @var{string} ;         second-login @var{string} ;         timespan-violation @var{string} ; @};@end smallexampleAll variables in @code{message} block take a string argument. In@var{string} you can use the usual C backslash notation to representnon-printable characters. The use of %C@{@} and %R@{@} sequencesis also allowed (@pxref{Macro Substitution}).@subheading String statements@table @code@item account-closedThis message will be returned to the user whose account isadministratively closed.@item password-expiredThis message will be returned to the user whose password has expired.@item password-expire-warningThis is a warning message that will be returned along with anauthentication-acknowledge packet for the user whose password willexpire in less than @var{n} seconds. The value of @var{n} is set by@code{password-expire-warning} variable in @code{auth} block.@xref{auth}. In this string, you can use the %R@{Password-Expire-Days@}substitution, to represent the actual number of @emph{days} leftto the expiration date. The default is@smallexamplePassword Will Expire in %R@{Password-Expire-Days@} Days\r\n@end smallexample@item access-deniedThis message is returned to the user who supplies an incorrect password ora not-existent user-name as his authentication credentials.@item realm-quotaThis message is returned when the user is trying to log in using arealm, and number of users that are currently logged in from this realmreaches maximum value. For a description of realms, see @ref{Realms}.@item multiple-loginThis message is returned to the user, who has logged in more thanallowed number of times. For description of how to set the maximumnumber of concurrent logins, see @ref{Simultaneous-Use}.@item second-loginThis is a special case of @code{multiple-login}, which is used whenthe user's login limit is 1.@item timespan-violationThis message is returned to the user who is trying to login outside ofallowed time interval. For description of how to limit user's logintime, see @ref{Login-Time}.@end table@comment **L3***************************************************************@node filters@subsection @code{filters} statement@kwindex filters@kwindex filter@kwindex auth

⌨️ 快捷键说明

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