readme

来自「功能强大的代理服务器」· 代码 · 共 73 行

TXT
73
字号
Squid_radius_auth V1.09This kit is loosely based on radtest from the Cistron-radiusd whichagain is based on Livingston sources. See COPYRIGHT for details.This authenticator is specifically made for Squid-2.5 and later.Installation:Copy the correct makefile to Makefile   Makefile.default = Most OS:es.   Makefile.solaris = SunOS5 (Solaris)cp Makefile.default Makefile   make cleanmake installor if you want the helper installed elsewhere than /usr/local/squid(the default installation path of Squid-2.5) use something like:make CONFDIR=/etc PREFIX=/usr BINDIR='${PREFIX}/libexec/squid' installComplete list of make options for tweakin the installation paths:  PREFIX   Top level installation directory (/usr/local/squid)  BINDIR   Where the binary is installed (PREFIX/libexec)  CONFDIR  Where the configuration file is installed (PREFIX/etc)  MANDIR   Where the manpage is installed (PREFIX/man/man8)  MANEXT   Manpage extension (.8)  DESTDIR  Root prefix for packagingConfiguration:The RADIUS authenticator is configured using a small configuration file.The configuration file should look like this:# squid_rad_auth configuration file# MvS: 28-10-1998server suncone.cistron.nlsecret testjeAn example can be found in etc/squid_rad_auth.conf /etc/services:Modify /etc/services and add:radius          1812/udpAdding this is not mandatory because it used the default port 1812 anyway.Note: Some old RADIUS servers uses the unofficial port 1645, and you mayneed to override the service port used either by editing /etc/servicesor by specifying the port using the -p command line option or the porttag in squid_rad_auth.confTest it:Start squid_rad_auth and type a username and a username. The authenticatorreturns OK if the radiusd accepted your password. In any other case you'llget ERR.Squid:Add the authenticator to squid.conf. See the instructions from squid forhelp.Marc van Selm <selm@cistron.nl>Henrik Nordstrom <hno@squid-cache.org>

⌨️ 快捷键说明

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