[Bug 840] Specifying CIDR when adding to a hash:ip entry is silently ignored

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Aug 14 13:17:40 CEST 2013


https://bugzilla.netfilter.org/show_bug.cgi?id=840

Jozsef Kadlecsik <kadlec at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |kadlec at netfilter.org
         Resolution|                            |INVALID

--- Comment #1 from Jozsef Kadlecsik <kadlec at netfilter.org> 2013-08-14 13:17:39 CEST ---
The CIDR is not ignored at all, please see the elements: you specified that you
will add /24 netblocks to the set. When adding 1.2.4.5/32, you added 1.2.4.5/24
(which is consistent to what the SET target does).

The /24 is not printed, because the set header definition contains the
information:

Header: family inet hashsize 1024 maxelem 65536 netmask 24

You can easily check that any IP address in 1.2.4.5/24 is matched in the set.

-- 
Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the netfilter-buglog mailing list