php.net |  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
Votes:6
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: visser at terena dot org
New email:
PHP Version: OS:

 

 [2011-02-12 04:41 UTC] visser at terena dot org
Description:
------------
Attempting to use an IPv6 radius server fails, both by using a name and a literal IPv6 address.


Patches

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

Pull Requests

History

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] cmb@php.net
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: cmb
 [2021-10-11 12:16 UTC] cmb@php.net
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] <https://github.com/LawnGnome/php-radius/issues/4>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Nov 24 00:01:27 2024 UTC