commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Viktor Hedefalk (JIRA)" <>
Subject [jira] [Commented] (NET-405) Support for IPv6 in SubnetUtils
Date Wed, 21 Nov 2012 12:27:58 GMT


Viktor Hedefalk commented on NET-405:

I just struck this problem when on a IPv6 network. My use case is similar ti Mickaƫl's -
I have a config on my webapp declaring an IP-range considered the "home net" from where you
are allowed to log in. The way I use it, I got a runtime when client has v6 address:

Message: java.lang.IllegalArgumentException: Could not parse [0:0:0:0:0:0:0:1%0]$400($SubnetInfo.isInRange(

I will probably just catch this and say "user is NOT in range" since the range is v4 anyways,
but it would be nice to allow v6 in the future.
> Support for IPv6 in SubnetUtils
> -------------------------------
>                 Key: NET-405
>                 URL:
>             Project: Commons Net
>          Issue Type: Improvement
>            Reporter: Marc Lefrancois
> Currently, we cannot use 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.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message