|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59619 IPv6 cannot be used
Submitted: 2011-02-12 04:41 UTC Modified: 2021-10-11 12:16 UTC
Avg. Score:4.3 ± 0.9
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: visser at terena dot org Assigned: cmb (profile)
Status: Duplicate Package: radius (PECL)
PHP Version: 5.2.4 OS: Ubuntu 8.04
Private report: No CVE-ID: None
 [2011-02-12 04:41 UTC] visser at terena dot org
Attempting to use an IPv6 radius server fails, both by using a name and a literal IPv6 address.


pecl-radius-1.2.7-ipv6.diff (last revision 2013-07-17 07:57 UTC by bruno dot premont at restena dot lu)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-17 08:03 UTC] bruno dot premont at restena dot lu
The proposed patch to add IPv6 supports reworks socket handling to better operate in presence of multiple servers (IPv4 or IPv6) where either some destination networks are unreachable or otherwise fail on sendmsg (e.g. due to local firewall rules).

It makes use of two sockets (one for IPv4 communication, one for IPv6 communication) that are created as needed (e.g. no IPv6 socket created if there is no IPv6 server address).

When adding servers by host names, multiple entries are added, one for each IP address found for the hostname (be it IPv4 or IPv6).

NOTE: the patch might not be windows-compatible. It has been tested on Linux only with PHP-5.3.26, PHP-5.4.16 and PHP-5.5.0, on top of pecl-radius-1.2.7.
 [2021-10-11 12:16 UTC]
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-10-11 12:16 UTC]
I'm closing this as duplicate of issue #4[1].  Submitting a pull
request to that repo might help to get the issue fixed.

[1] <>
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Jan 29 15:05:54 2023 UTC