All of lore.kernel.org
 help / color / mirror / Atom feed
From: Clist <clist@uah.es>
To: netfilter@lists.netfilter.org
Subject: ipset command ipporthash anormal behavior
Date: Tue, 4 Apr 2006 14:46:00 +0200	[thread overview]
Message-ID: <200604041446.01536.clist@uah.es> (raw)

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
---------------------------------------------


             reply	other threads:[~2006-04-04 12:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04 12:46 Clist [this message]
2006-04-06  9:54 ` ipset command ipporthash anormal behavior Jozsef Kadlecsik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200604041446.01536.clist@uah.es \
    --to=clist@uah.es \
    --cc=netfilter@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.