PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Networking » Net_IPv6

Check and validate IPv6 addresses

This package is unmaintained.

Download latest release 1.3.0b4 (archived versions might be outdated)

License: BSD

Description

The class allows you to:
* check if an address is an IPv6 address
* compress/uncompress IPv6 addresses
* check for an IPv4 compatible ending in an IPv6 address
* check the assigned address space of an IPv6 address
* do netmask calculations

Documentation

Manual

Maintainers

Dependencies

Required

Releases

Bugs

IDStatusTypeVersionDateSummary
#2802ClosedBug2004-11-21compress() doesn't compress correctly
#2803ClosedBug2004-11-21compress() adds colon
#3404ClosedBug2005-02-08checkIPv6() is case sensitive
#3405ClosedBug2005-02-08compress() does not compress '0000'
#3851ClosedBug2005-03-16IPv4-mapped/compatible IPv6 uncompress bug
#4977ClosedBug2005-08-02Net_IPv6::compress() breaks on already-compressed addresses
#12442ClosedBug1.1.0RC22007-11-14Net_IPv6::Compress method confuses subnet for an ipv6 part
#13006ClosedBug1.1.0RC32008-01-30Compressing a IPv6 with mixed IPv4
#14728ClosedReq1.1.0RC42008-10-02Changes good, need a little more
#14747ClosedBug1.1.0RC42008-10-05Net_IPv6::compress() Fails on Already-Compressed Addr
#14766ClosedReqCVS2008-10-09Add a PHPUnit 3 test suite / improve unit tests
#14767ClosedReqCVS2008-10-09Address PHPCS warnings
#15765AssignedReq1.1.0b12009-01-25inet6_ntoa, inet6_aton
#15947ClosedBug2009-02-26Invalid IPv6 address accepted on function Net_IPv6::checkIPv6
#16220ClosedBug1.1.0b12009-05-12Error at _bin2Ip()
#16451ClosedBugCVS2009-07-18Unit tests vs directory layout
#16613BogusReq1.1.0b22009-09-16Integrate Net_IPv6 into PHP6 core
#17819ClosedDoc1.1.0b22010-08-25documentation needs to be updated
#18085ClosedBug1.2.0b2010-11-25Wrong file path for IPv6.php
#18234ClosedBug1.1.02011-02-03IPv6.php is installed as wrong path.
#18476ClosedBug1.2.12011-04-25compress violates RFC 5952 Section 4.2.2.
#18477FeedbackBug1.2.12011-04-25compress returns blank with the unspecified address (see RFC 4291)
#18687ClosedReq1.2.12011-07-26support RFC5952 compatible format
#18976ClosedBug1.2.12011-11-09IPv6 validation problem
#19334ClosedBug1.2.12012-03-16"False positive"
#19401ClosedDoc1.2.2b22012-04-27Please, add usage example
#20114ClosedBug1.2.2b22013-11-04package.xml does not validate
#20558ClosedBug1.2.2b22015-06-10String offset cast occurred [/usr/share/php/Net/IPv6.php, line 806]
#21046ClosedBug1.2.12016-03-24checkIPv6 wrongly validates IPv6 IPs with leading and/or trailing :
#21069BogusBug1.2.12016-05-28Different distfiles on different pear mirrors
#21094ClosedDoc1.3.0b22016-06-29Whitespace spelling grammar
#21106ClosedBug1.3.0b22016-08-31Fix IP address validation issues
#21107ClosedBug1.3.0b22016-08-31Fix IP address validation issues
#21139ClosedBug1.3.0b22016-10-27compress zero address returns blank
#21140ClosedBug1.3.0b22016-10-29SplitV64 with double-colon
#21141ClosedBug1.3.0b22016-10-29Add test cases for invalid checkIPv6
#21232AssignedReqUnknown2017-07-27Submit to packagist.org
#21233DuplicateReqUnknown2017-07-27Submit to packagist.org
#23737AssignedBug1.3.0b32018-02-13checkIPv6 validates IPv6 addresses with invalid charactes
#23755ClosedBug1.3.0b32018-07-02_ip2Bin() incorrectly convert IPv4 mapped into binary
#23756ClosedBug1.3.0b32018-07-02Compressed netmasks incorrectly detected in isInNetmask()
#27795OpenBug1.3.0b42024-06-05isCompressible uses not existing variable