bugzilla-daemon at netfilter.org
2013-Aug-12 23:25 UTC
[Bug 841] New: Specifying netmask option when creating ipv6 hash:ip is inconsistent
https://bugzilla.netfilter.org/show_bug.cgi?id=841 Summary: Specifying netmask option when creating ipv6 hash:ip is inconsistent Product: ipset Version: unspecified Platform: All OS/Version: All Status: NEW Severity: minor Priority: P5 Component: default AssignedTo: netfilter-buglog at lists.netfilter.org ReportedBy: quentin at armitage.org.uk Estimated Hours: 0.0 When creating a hash:ip for ipv6, netmask can be specified before family only if the netmask <= 31, and fails if netmask >= 32. While it's clear that the ipset defaults to family ipv4 until told otherwise, this behaviour is inconsistent from a user perspective. # ipset create foo hash:ip netmask 32 family ipv6 ipset v6.19: Syntax error: '32' is out of range 1-31 Syntax error: netmask is out of the inclusive range of 1-31 # ipset create foo hash:ip netmask 31 family ipv6 # ipset x foo # ipset create foo hash:ip family ipv6 netmask 32 -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Aug-14 13:48 UTC
[Bug 841] Specifying netmask option when creating ipv6 hash:ip is inconsistent
https://bugzilla.netfilter.org/show_bug.cgi?id=841 Jozsef Kadlecsik <kadlec at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |kadlec at netfilter.org --- Comment #1 from Jozsef Kadlecsik <kadlec at netfilter.org> 2013-08-14 15:48:05 CEST --- I modified the parser to parse "family" first, the patch is committed in the ipset git tree. Thanks for reporting the issue. -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
bugzilla-daemon at netfilter.org
2013-Aug-14 14:53 UTC
[Bug 841] Specifying netmask option when creating ipv6 hash:ip is inconsistent
https://bugzilla.netfilter.org/show_bug.cgi?id=841 Jozsef Kadlecsik <kadlec at netfilter.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED -- Configure bugmail: https://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
Maybe Matching Threads
- [Bug 844] New: Can set apparently invalid netmask for hash:ip
- [Bug 838] New: ipset add foo syslog fails for bitmap:port
- [Bug 843] New: ipset swap doesn't behave as expected
- [Bug 840] New: Specifying CIDR when adding to a hash:ip entry is silently ignored
- [Bug 1139] New: The include guards on the include/libipset/linux_ip_set*.h are wrong