ipset command ipporthash anormal behavior

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

 



Hi 
I have ipsets 2.2.8 

All commands using iphash run fine but, all comands from other sets return 
error, (ipporthas, nethash etc..) 
Example:

The set clients does not exist, so it is ok to create one,

Shell Command:

ipset -N clients ipporthash --from 192.168.153.206 --to 192.168.153.207 
--hashsize 1024 --probes 4 --resize 50 || echo "failure .."

it prints :

"failure .."

But the set got created!!. 

This is confusing and make my script run bad, if the commnad ran sucessfully, 

Why it returns error code !=0 to the OS??
-- 
---------------------------------------------
Clister UAH
---------------------------------------------


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux