[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


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.



More information about the netfilter-buglog mailing list