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

📄 radwatch.8.man

📁 This program is a RADIUS RFC-compliant daemon, which is derived from original Livingston Enterprise
💻 MAN
字号:
'\" t.\" Copyright (c) 2004 Francesco Paolo Lovergine <frankie@debian.org>.\" See copyright section for conditions of redistribution.\" $Id: radwatch.8.man,v 1.4.2.1 2004/08/02 18:40:06 flovergine Exp $.\".TH RADWATCH 8 "Aug 28, 2004" "1.1" "Yard Radius Manual".SH NAMEradwatch \- A watchdog for RADIUS users .SH SYNOPSIS.BR radwatch " [ ".BR "\-mhx " "] [".B "\-a ".IR acct_dir " ] [".B "\-d ".IR db_dir " ]" .SH DESCRIPTION.B radwatchreads its configuration file .I PREFIX/conf/radwatch.confand uses the radlast and user-stats information to verify that userslisted in configuration file are not exceeding their time quota limit..PFor each user logged into user-stats database radwatch will try to match arestriction line from its configuration file and will compute the user'sonline time for the time interval coresponding to the restriction. If theonline time is bigger than the restriction, the user name is printed to thestandard output AND it is added to the list of the 'stopped' userscontained in.IR PREFIX/conf/stopuser ..SH OPTIONS.TP.BR "\-a " acct_dirSets the accounting directory instead of the builtin default.The default is choosen at configuration time and it is generally.I PREFIX/logs.TP.BR "\-d " db_dirSets the database directory instead of the builtin default one.The default is choosen at configuration time and it is generally .I PREFIX/logs..TP.B \-hPrints out usage of the command..TP.B \-mUse monthly/yearly hierarchy structure for radlast logging files. You should always use this argument with YARD RADIUS..SH FILES.B radiusdrequires a group of configuration files under .I PREFIX/conf in order to properly work. Examples of thoseworking files are provided with sources and should be present under the same directory, with extension .IR .example .All files are well commented and it should be easy to customize them.The work files are the following ones:.TP.I PREFIX/conf/usersThis file contains the human readable information for users' accountingand authorization. See .BR radius_attributes (5)for details about its syntax..TP.I PREFIX/conf/users.dbThe same of the previous one as compiled in by.B builddbmin GDBM format. It needs to be compiled again every time you makechanges to the previous one and without restarting .B radiusd ..TP.I PREFIX/conf/stopuserThis text file is created by .B radwatch to deny access to users,when certain conditions are reached (as selected in the radwatchconfiguration file). The authentication daemon .B radiusdconsults that file along with `denyuser' in order to grant access or not.It has an entry per line, which should be a valid system or `users'username..TP.I PREFIX/conf/radwatch.confThis is the configuration file for .BR radwatch .It is a text files each line of which is of the form:.I "user_list:restriction:time_list"where `user_list' is a comma-separated list of usernames for whichthis line apply. You can use @group syntax to denote the standard UNIX user groups. The field `restriction' is the value in seconds of themaximum permitted online time within the `time_list'. This one is thethird colon separated fieldand is a list of days of the week and times during which thisrestriction apply to this user. The valid days are 'Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', and 'Sa'. In addition, the value 'Al'represents all 7 days, and 'Wk' represents the 5 weekdays.Times are given as HHMM-HHMM.  The ending time may be beforethe starting time.  Days are presumed to wrap at 0000..SH "SEE ALSO".BR radiusd (8).SH AUTHORSCristian Gafton <gafton@sorosis.ro>..PFrancesco Paolo Lovergine <francesco@yardradius.org>..PA complete list of contributors is contained in CREDITS file. You should get that file among other ones within your distribution and possibly installed under.BR "PREFIX/docs " directory.SH COPYRIGHTCopyright (C) 1997 Cristian Gafton. All rights reserved.Copyright (C) 1999-2004 Francesco Paolo Lovergine. All rights reserved..PSee the LICENSE file enclosed within this software for conditions of use and distribution. This is a pure .B "ISO BSD Open Source License" ..SH BUGSThe parser for the configuration file is quite fragile, please DO NOT usespaces in the configuration lines. The maximum length of a configurationline in /etc/raddb/radwatch.conf is set at 1024 byts, if you need more groupyour users in UNIX groups and abuse @group syntax..SH NOTESIn order to use this program you need also a script or a program tostop user sessions on your access server(s). There is not a uniqueproduct to do this. Sometimes you can use a SNMP oid to do this; oftenthe only way is opening a telnet admin session to issue a suitable clear/reset line command. It depends on the specific access server and it is not easyto support this kind of feature. You are definitively on your ownwith this.

⌨️ 快捷键说明

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