This package is based on the libradius of FreeBSD. This PECL adds
full support for Radius Authentication
(RFC 2865) and Radius Accounting
(RFC 2866). This package is
available for Unix (tested on FreeBSD and Linux) and for Windows.
Замечание:
An exact description for libradius can be found here.
A detailed description of the configuration file can be found here.
If you have comments, bugfixes, enhancements or want to help
developping this you can send me a mail at mbretter@php.net.
Binaries for Windows can be downloaded from here.
Howto install the package?
untar the package (usualy into php4/ext)
rename radius-x.x to radius
run ./buildconf in php4
run ./configure --enable-radius
make; make install
or if you would like to have it as .so:
for windows I recommend to use the php_radius.dll from
here
Howto start?
Take also a look at the examples in this package.
The package contains an example php script. This script demonstrates howto
authenticate with radius using PAP or CHAP (md5). If you authenticate with
MSoft Radius servers then its not possible to use CHAP (md5). If you would like to
authenticate with MSoft Servers you have to use MS-CHAPv1 or MS-CHAPv2, but its
more complicated, because you need md4, sha1 and des to generate the right data.
The enclosed examples demonstrate all authentication-methods, including MS-CHAPv1 and
MS-CHAPv2. To get the MS-CHAP to work you need the mcrypt and the mhash extension, starting
with version 1.2 of the package, the mcrypt extension is no longer needed.