php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #47214 IPv6 handling functions
Submitted: 2009-01-25 17:47 UTC Modified: 2017-03-15 00:33 UTC
Votes:11
Avg. Score:4.5 ± 0.8
Reproduced:8 of 9 (88.9%)
Same Version:2 (25.0%)
Same OS:3 (37.5%)
From: tiamo at tfr dot org Assigned: pollita (profile)
Status: Closed Package: Network related
PHP Version: 5.2.8 OS: All
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tiamo at tfr dot org
New email:
PHP Version: OS:

 

 [2009-01-25 17:47 UTC] tiamo at tfr dot org
Description:
------------
PHP really needs functions for handling of IPv6 addresses, Like inet6_aton inet6_ntoa, functions to expand and collapse addresses (::1, 0000:0000:0000:0000:0000:0000:0000:0001, 0:0:0:0:0:0:0:1), to convert to and from v6 mapped IPv4 addresses (::FFFF:1.2.3.4). This is needed to be able make sites future safe, to be able to store and process things like logs, access-lists, database-storage the same way for both IPv6 and IPv4 addresses.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-01 14:32 UTC] tiamo at tfr dot org
Also functions to extract the IPv4 part in from 2002::/16 addresses.
 [2011-04-08 20:43 UTC] jani@php.net
-Package: Feature/Change Request +Package: Network related
 [2017-03-15 00:33 UTC] pollita@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: pollita
 [2017-03-15 00:33 UTC] pollita@php.net
Userspace solutions for this exist already (e.g. Net_IPv6) and thus don't need to be bundled with the core.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 16:01:30 2024 UTC