||Radius client library
Michael Bretterklieber <
michael at bretterklieber dot com >
Adam Harvey <
aharvey at php dot net >
||This package is based on the libradius of FreeBSD, with some modifications and extensions.
This PECL provides full support for RADIUS authentication (RFC 2865) and RADIUS accounting (RFC 2866),
works on Unix and on Windows. Its an easy way to authenticate your users against the user-database of your
OS (for example against Windows Active-Directory via IAS).
This release adds several new features:
- Support for CoA and disconnect packets.
- Support for tagged attributes.
- Support for salt-encrypted attributes.
- Support for Juniper vendor specific attributes.
These features are based on code written by Gabriel Blanchard in his fork of
PECL radius: https://github.com/gblanchard/pecl-radius.
Three new functions have been added to handle these features:
- radius_get_tagged_attr_data(string attr)
This function returns the data from a tagged attribute.
- radius_get_tagged_attr_tag(string attr)
This function returns the tag from a tagged attribute.
- radius_salt_encrypt_attr(resource radius_handle, string attr)
This function salt-encrypts the given attribute. This shouldn't normally need
to be called manually, but is available for unusual use cases.
Salt encryption is generally achieved through the use of the new
RADIUS_OPTION_SALT option. All put functions have been extended to accept an
optional options bitfield and an optional tag value, which will be used to tag
an attribute if the RADIUS_OPTION_TAGGED option is set.
There should be no backward compatibility breaks with this release; however
existing users are encouraged to test their code against this release and to
report any issues that they find.
The next beta is expected in around two weeks from today (approximately July