[Bug 803] New: IP Ranges do not work with hash:net

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Sun Dec 9 15:10:39 CET 2012


           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

I get the following error

    ipset v6.16.1: Syntax error: IP address or IP/cidr must be specified:

Just to double check, the following work as expected

    ipset add BAR 187.38.113/24
    ipset add BAR

Configure bugmail: http://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