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

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

 



On Fri, 10 Aug 2012, ?brahim Ercan wrote:

> 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

I'm unable to reproduce this. Could you provide more information, like 
hardware architecture, gcc version used for compiling?

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences
          H-1525 Budapest 114, POB. 49, Hungary
--
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