Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Ritesh Majumdar <r.majumdar@globallogic.com>
To: netfilter@vger.kernel.org, netfilter-devel@vger.kernel.org
Subject: iptables ERROR
Date: Thu, 25 Jun 2009 18:26:51 +0530	[thread overview]
Message-ID: <1245934611.4518.58.camel@ripper.synapse.com> (raw)

Hello List,

I have recently added ipset code in to my kernel, so all the ipset
ralated ko's can be compiled while I compile kernel.
my compilation works fine and I can add ipset rules successfully.
but when I add iptables rules to macth specific set I get error.

Here is what I am trying to do.



ipset -N a_ipset iphash 
iptables -N a 
iptables -N b 
iptables -A a -p udp -m set --set a_ipset dst -j b 





when I try to add the last rule,(iptables -A a -p udp -m set --set
a_ipset dst -j b)  it fails with the error as below.

iptables: Invalid argument



I am not sure if its ipset issue or iptables.

I am using "kernel 2.6.27" "ipset-2.4.9" and "iptables-1.4.1.91"


Many Thanks.
Ritesh.


             reply	other threads:[~2009-06-25 12:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25 12:56 Ritesh Majumdar [this message]
2009-06-25 13:39 ` iptables ERROR Richard Horton
2009-06-25 14:00 ` Ritesh Majumdar
2009-06-25 15:11   ` Jan Engelhardt
2009-06-25 18:08     ` Jozsef Kadlecsik
  -- strict thread matches above, loose matches on Subject: below --
2004-08-25 12:56 Iptables error Jason Opperisano
2004-08-25 19:25 ` Jose Maria Lopez
2004-08-25  8:19 Paulo Andre
2004-01-15  0:08 IPTables error Jerry Rasmussen
2004-01-15  0:17 ` Antony Stone
2002-11-12  0:07 iptables error jelenkovic

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=1245934611.4518.58.camel@ripper.synapse.com \
    --to=r.majumdar@globallogic.com \
    --cc=netfilter-devel@vger.kernel.org \
    --cc=netfilter@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox