ipset : ip range insertion to hash:net list does not work

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. This is my first post. Sorry if there is impropriety. Here is the story.

 I made rpm packet 6.13 for centos 5. While compilation, I got these errors:

ipset v6.13: Syntax error: IP address or IP/cidr must be specified:
1.2.3.4-1.2.3.10
print.c:675: error: ‘IPPROTO_UDPLITE’ undeclared (first use in this function)

Then I added below lines to needed files(print.c , parse.c) and
problem solved and I installed rpm.

#ifndef IPPROTO_UDPLITE
#define IPPROTO_UDPLITE 136 /* from IANA */
#endif


Now I need to use hash:net and insert ip range. When I call following
commands, I get error.

# ipset create foo hash:net family inet
# ipset add foo 192.168.0.1-192.168.0.20
ipset v6.13: Syntax error: IP address or IP/cidr must be specified:
192.168.0.1-192.168.0.20

Here is some information
kernel 3.0.4
ipset 6.13
iptables 1.4.14

In addition to that, I tried it with ubuntu with version 6.11 and it works!.

Thanks for any help...

-- 
İbrahim Ercan
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux