commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mickaël Tricot (Commented) (JIRA) <j...@apache.org>
Subject [jira] [Commented] (NET-405) Support for IPv6 in SubnetUtils
Date Mon, 09 Jan 2012 16:34:39 GMT

    [ https://issues.apache.org/jira/browse/NET-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13182611#comment-13182611
] 

Mickaël Tricot commented on NET-405:
------------------------------------

Some weeks ago, I had to write an IP filter which would work with both IPv4 and IPv6 addresses.
I needed to register some IP addresses and IP ranges in CIDR format, then to check if a given
IP matches one of those. I would have needed these methods to work with IPv6:

- SubnetUtils(String cidrNotation)
- SubnetUtils.SubnetInfo#isInRange(String address)

Instead, I used the IpAddressMatcher from Spring Security (http://static.springsource.org/spring-security/site/docs/3.1.x/apidocs/org/springframework/security/web/util/IpAddressMatcher.html).
                
> Support for IPv6 in SubnetUtils
> -------------------------------
>
>                 Key: NET-405
>                 URL: https://issues.apache.org/jira/browse/NET-405
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Marc Lefrancois
>
> Currently, we cannot use org.apache.commons.net.util.SubnetUtils with IPv6 addresses.
This class will become less and less useful as more internet device are only assigned IPv6
addresses since all available IPv4 address blocks have now been attributed. http://en.wikipedia.org/wiki/IPv4_address_exhaustion

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message