You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "David Auclair (JIRA)" <ji...@apache.org> on 2019/07/18 18:53:00 UTC
[jira] [Created] (METRON-2186) IN_SUBNET doesn't match edge cases
David Auclair created METRON-2186:
-------------------------------------
Summary: IN_SUBNET doesn't match edge cases
Key: METRON-2186
URL: https://issues.apache.org/jira/browse/METRON-2186
Project: Metron
Issue Type: Bug
Affects Versions: 0.7.1
Reporter: David Auclair
/32 is a common notation to indicate a singular IP address. This doesn't match according to IN_SUBNET:
IN_SUBNET('192.168.0.128','192.168.0.128/32') => false
More generally the top and bottom IP within a subnet do not match:
IN_SUBNET('192.168.0.128','192.168.0.128/25') => false
IN_SUBNET('192.168.0.255','192.168.0.128/25') => false
Would setInclusiveHostCount(True) extend the match range to include these cases?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)