guava icon indicating copy to clipboard operation
guava copied to clipboard

adding a set of methods into InetAddresses to match ip+subnetmask

Open gissuebot opened this issue 10 years ago • 8 comments

Original issue created by kofemann on 2011-11-10 at 07:56 PM


Hi,

sometimes you need to to match IP addresses with netmask, e.g.:

192.168.2.2 in the allowed range 192.168.2.0/24.

As I am probably not only the user who needs it I added such functionality to com.google.common.net.InetAddresses with IPv4 and IPv6 support.

You can check changes at

https://code.google.com/r/kofemann-ipmatcher/source/detail?r=628bbd3dc9cf2c52baeafd00502adf6b628bcf89

Some unit tests included as well.

kofemann.

gissuebot avatar Oct 31 '14 17:10 gissuebot

Original comment posted by [email protected] on 2011-11-15 at 09:53 PM


(No comment entered for this change.)


Status: Triaged Labels: Type-Enhancement

gissuebot avatar Oct 31 '14 20:10 gissuebot

Original comment posted by kofemann on 2011-11-18 at 08:25 PM


rebased clone to current HEAD:

https://code.google.com/r/kofemann-ipmatcher/source/list

gissuebot avatar Oct 31 '14 20:10 gissuebot

Original comment posted by [email protected] on 2011-12-10 at 04:23 PM


(No comment entered for this change.)


Labels: Package-Net

gissuebot avatar Oct 31 '14 20:10 gissuebot

Original comment posted by kofemann on 2012-01-17 at 09:32 PM


rebased clone to the current HEAD:

https://code.google.com/r/kofemann-ipmatcher/source/list

gissuebot avatar Oct 31 '14 20:10 gissuebot

Original comment posted by [email protected] on 2012-02-16 at 07:17 PM


(No comment entered for this change.)


Status: Acknowledged

gissuebot avatar Oct 31 '14 20:10 gissuebot

Original comment posted by [email protected] on 2012-05-30 at 07:43 PM


(No comment entered for this change.)


Labels: -Type-Enhancement, Type-Addition

gissuebot avatar Oct 31 '14 23:10 gissuebot

Original comment posted by [email protected] on 2012-06-22 at 06:16 PM


(No comment entered for this change.)


Status: Research

gissuebot avatar Nov 01 '14 00:11 gissuebot

Any chance to get this merged and/or to close this issue?

rastov avatar Mar 02 '22 22:03 rastov