From 9ac4d06c0bddbbb1b87ba93d1591ef1707d30420 Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sun, 25 Jan 2026 15:08:29 +0000 Subject: [PATCH] radius : fix XML by converting para to simpara tags via script --- reference/radius/book.xml | 23 +- reference/radius/configure.xml | 11 +- reference/radius/constants.xml | 288 +++++++++--------- reference/radius/examples.xml | 15 +- .../radius/functions/radius-acct-open.xml | 8 +- .../radius/functions/radius-add-server.xml | 28 +- .../radius/functions/radius-auth-open.xml | 8 +- reference/radius/functions/radius-close.xml | 8 +- reference/radius/functions/radius-config.xml | 16 +- .../functions/radius-create-request.xml | 16 +- .../radius/functions/radius-cvt-addr.xml | 12 +- reference/radius/functions/radius-cvt-int.xml | 12 +- .../radius/functions/radius-cvt-string.xml | 12 +- .../functions/radius-demangle-mppe-key.xml | 12 +- .../radius/functions/radius-demangle.xml | 12 +- .../radius/functions/radius-get-attr.xml | 8 +- .../functions/radius-get-tagged-attr-data.xml | 12 +- .../functions/radius-get-tagged-attr-tag.xml | 12 +- .../functions/radius-get-vendor-attr.xml | 12 +- .../radius/functions/radius-put-addr.xml | 12 +- .../radius/functions/radius-put-attr.xml | 12 +- reference/radius/functions/radius-put-int.xml | 12 +- .../radius/functions/radius-put-string.xml | 12 +- .../functions/radius-put-vendor-addr.xml | 12 +- .../functions/radius-put-vendor-attr.xml | 12 +- .../functions/radius-put-vendor-int.xml | 12 +- .../functions/radius-put-vendor-string.xml | 12 +- .../radius-request-authenticator.xml | 8 +- .../functions/radius-salt-encrypt-attr.xml | 16 +- .../radius/functions/radius-send-request.xml | 12 +- .../radius/functions/radius-server-secret.xml | 8 +- .../radius/functions/radius-strerror.xml | 8 +- 32 files changed, 333 insertions(+), 340 deletions(-) diff --git a/reference/radius/book.xml b/reference/radius/book.xml index c36e275564..3aa5c354bb 100644 --- a/reference/radius/book.xml +++ b/reference/radius/book.xml @@ -1,41 +1,39 @@ - - + Radius - + &reftitle.intro; - + This package is based on the libradius (Remote Authentication Dial In User Service) of FreeBSD. It allows clients to perform authentication and accounting by means of network requests to remote servers. - - + + This PECL extension adds full support for Radius Authentication - (RFC 2865) and Radius Accounting + (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. - + - + &reference.radius.setup; &reference.radius.constants; &reference.radius.examples; &reference.radius.reference; - - diff --git a/reference/radius/configure.xml b/reference/radius/configure.xml index 9e978981ee..781f5e4fe4 100644 --- a/reference/radius/configure.xml +++ b/reference/radius/configure.xml @@ -1,16 +1,15 @@ -
+
&reftitle.install; - + &pecl.moved; - - + + &pecl.info; &url.pecl.package;radius. - +
- - - + &reftitle.examples; @@ -9,17 +8,17 @@ get a radius resource configure the library - create the request + create the request put attributes send the request - receive attributes + receive attributes close the radius resource (optional) 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 + authenticate with radius using PAP or CHAP (md5). If you authenticate with Microsoft Radius servers then its not possible to use CHAP (md5). If you would like to authenticate with Microsoft Servers you have to use MS-CHAPv1 or MS-CHAPv2, but its more complicated, because you need md4, @@ -28,9 +27,8 @@ 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. - + - - diff --git a/reference/radius/functions/radius-acct-open.xml b/reference/radius/functions/radius-acct-open.xml index 5fdec81a35..e8e5287432 100644 --- a/reference/radius/functions/radius-acct-open.xml +++ b/reference/radius/functions/radius-acct-open.xml @@ -13,8 +13,8 @@ resourceradius_acct_open - - + + @@ -24,10 +24,10 @@ &reftitle.returnvalues; - + Returns a handle on success, &false; on error. This function only fails if insufficient memory is available. - + diff --git a/reference/radius/functions/radius-add-server.xml b/reference/radius/functions/radius-add-server.xml index a144de80ae..df74a4b336 100644 --- a/reference/radius/functions/radius-add-server.xml +++ b/reference/radius/functions/radius-add-server.xml @@ -18,13 +18,13 @@ inttimeout intmax_tries - + radius_add_server may be called multiple times, and it may be used together with radius_config. At most 10 servers may be specified. When multiple servers are given, they are tried in round-robin fashion until a valid response is received, or until each server's max_tries limit has been reached. - + @@ -33,18 +33,18 @@ radius_handle - - + + hostname - + The hostname parameter specifies the server host, either as a fully qualified domain name or as a dotted-quad IP address in text form. - + @@ -64,29 +64,29 @@ secret - + The shared secret for the server host is passed to the secret parameter. The Radius protocol ignores all but the leading 128 bytes of the shared secret. - + timeout - + The timeout for receiving replies from the server is passed to the timeout parameter, in units of seconds. - + max_tries - + The maximum number of repeated requests to make before giving up is passed into the max_tries. - + @@ -94,9 +94,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/radius/functions/radius-auth-open.xml b/reference/radius/functions/radius-auth-open.xml index 3d2b3e8f0d..ff99e4e99c 100644 --- a/reference/radius/functions/radius-auth-open.xml +++ b/reference/radius/functions/radius-auth-open.xml @@ -13,8 +13,8 @@ resourceradius_auth_open - - + + @@ -24,10 +24,10 @@ &reftitle.returnvalues; - + Returns a handle on success, &false; on error. This function only fails if insufficient memory is available. - + diff --git a/reference/radius/functions/radius-close.xml b/reference/radius/functions/radius-close.xml index ebfd777c2d..9bfd0869fd 100644 --- a/reference/radius/functions/radius-close.xml +++ b/reference/radius/functions/radius-close.xml @@ -13,10 +13,10 @@ boolradius_close resourceradius_handle - + It is not needed to call this function because php frees all resources at the end of each request. - + @@ -28,9 +28,9 @@ &reftitle.returnvalues; - + &return.success; - +