[Bug 841] New: Specifying netmask option when creating ipv6 hash:ip is inconsistent
bugzilla-daemon at netfilter.org
bugzilla-daemon at netfilter.org
Tue Aug 13 01:25:45 CEST 2013
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.
More information about the netfilter-buglog
mailing list