From: Ami Ganguli <ami.ganguli@gmail.com>
To: netfilter@lists.netfilter.org
Subject: "No chain/target/match by that name" when using -m state
Date: Wed, 22 Jun 2005 18:05:21 +0300 [thread overview]
Message-ID: <87eeecff050622080541743401@mail.gmail.com> (raw)
Hi all,
I've been searching around for the answer to this and I've finally
given up trying to solve it on my own. Any hints would be much
appreciated.
I'm entering the following command (cut and paste from the command line):
iptables -A INPUT -i eth0 -m state --state ESTABLISHED,RELATED -j ACCEPT
which appears in various docs. It looks pretty straightforward, but I
get this error:
iptables: No chain/target/match by that name
If I enter the same command without "-m state --state
ESTABLISHED,RELATED" it's accepted, so I figure my problem is there
somewhere.
I thought that maybe my kernel (2.6.11.10, ARCH=xen) was compiled
without connection tracking, but dmesg includes the following:
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (1024 buckets, 8192 max) - 244 bytes per conntrack
also, if I enter "iptables -m state --help" I get the normal help with
this at the end:
state v1.2.11 options:
[!] --state [INVALID|ESTABLISHED|NEW|RELATED|UNTRACKED][,...]
State(s) to match
so I figure I must have the necessary bits installed.
Any ideas or hints on what I should do next to debug this?
Regards,
Ami.
next reply other threads:[~2005-06-22 15:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-22 15:05 Ami Ganguli [this message]
2005-06-22 15:21 ` "No chain/target/match by that name" when using -m state Marius Mertens
2005-06-22 15:26 ` Jason Opperisano
2005-06-22 15:31 ` Ami Ganguli
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=87eeecff050622080541743401@mail.gmail.com \
--to=ami.ganguli@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox