bugzilla-daemon at bugzilla.netfilter.org
2012-Dec-09 14:10 UTC
[Bug 803] New: IP Ranges do not work with hash:net
http://bugzilla.netfilter.org/show_bug.cgi?id=803
Summary: IP Ranges do not work with hash:net
Product: ipset
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P5
Component: default
AssignedTo: netfilter-buglog at lists.netfilter.org
ReportedBy: developer at trajano.net
Estimated Hours: 0.0
ipset v6.16.1
In the ipset man pages under "hash:net" it states that
For the inet family one can add or delete multiple entries by specifying a
range, which is converted internally to network(s) equal to the range:
netaddr := { ip[/cidr] | fromaddr-toaddr }
However, when I try the following
ipset create BAR hash:net family inet
ipset add BAR 187.38.113.102-187.38.113.102
I get the following error
ipset v6.16.1: Syntax error: IP address or IP/cidr must be specified:
187.38.113.102-187.38.113.102
Just to double check, the following work as expected
ipset add BAR 187.38.113/24
ipset add BAR 187.38.114.1
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
bugzilla-daemon at bugzilla.netfilter.org
2012-Dec-09 14:18 UTC
[Bug 803] IP Ranges do not work with hash:net
http://bugzilla.netfilter.org/show_bug.cgi?id=803
Archimedes Trajano <developer at trajano.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #1 from Archimedes Trajano <developer at trajano.net>
2012-12-09 15:18:26 CET ---
Seems that a reboot resolved the issue.
--
Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.