Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9E4839A5D for ; Mon, 9 Jan 2012 16:35:08 +0000 (UTC) Received: (qmail 88673 invoked by uid 500); 9 Jan 2012 16:35:08 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 88529 invoked by uid 500); 9 Jan 2012 16:35:06 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 88511 invoked by uid 99); 9 Jan 2012 16:35:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 16:35:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jan 2012 16:35:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id C2C2913F243 for ; Mon, 9 Jan 2012 16:34:39 +0000 (UTC) Date: Mon, 9 Jan 2012 16:34:39 +0000 (UTC) From: =?utf-8?Q?Micka=C3=ABl_Tricot_=28Commented=29_=28JIRA=29?= To: issues@commons.apache.org Message-ID: <832182724.22072.1326126879799.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1958641602.65223.1303154165803.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (NET-405) Support for IPv6 in SubnetUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NET-405?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1318261= 1#comment-13182611 ]=20 Micka=C3=ABl 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 i= n CIDR format, then to check if a given IP matches one of those. I would ha= ve 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.sp= ringsource.org/spring-security/site/docs/3.1.x/apidocs/org/springframework/= security/web/util/IpAddressMatcher.html). =20 > 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 IPv= 6 addresses. This class will become less and less useful as more internet d= evice are only assigned IPv6 addresses since all available IPv4 address blo= cks have now been attributed. http://en.wikipedia.org/wiki/IPv4_address_exh= austion -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira