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: 2011-09-08 05:05 UTC
Votes:5
Avg. Score:4.6 ± 0.8
Reproduced:2 of 3 (66.7%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: visser at terena dot org Assigned:
Status: Open Package: radius (PECL)
PHP Version: 5.2.4 OS: Ubuntu 8.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
11 + 3 = ?
Subscribe to this entry?

 
 [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)

Add a Patch

Pull Requests

Add a Pull Request

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.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Dec 07 06:01:24 2019 UTC