From: Fabrice MARIE <fabrice@netfilter.org>
To: Jackfritt <jackfritt@boh.de>
Cc: netfilter@lists.netfilter.org
Subject: Re: length match problem
Date: Thu, 9 Jan 2003 10:39:44 +0800 [thread overview]
Message-ID: <200301091039.44259.fabrice@netfilter.org> (raw)
In-Reply-To: <3E1CA2BF.6050707@boh.de>
Hello Joerg,
On Thursday 09 January 2003 06:14, Jackfritt wrote:
> Ok I have the following problem.
> iptables -A OUTPUT -o ppp0 -p tcp -m length --length :40 -j MARK --set-mark 10
> That should mark all ACK's or not ?
> When I try to do this I get the error:
> iptables: Invalid argument
> [...]
> So now my question is what am I doin wrong ?
Typically when the only error message from iptables
is 'Invalid Argument', the actual error message would
be most of the time in the kernel log.
i.e. If I run your command above, it tells me
# dmesg
MARK: can only be called from "mangle" table, not "filter"
So, you should be using a -t mangle in front..
Have a nice day,
Fabrice.
--
Fabrice MARIE
"Silly hacker, root is for administrators"
-Unknown
next prev parent reply other threads:[~2003-01-09 2:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-08 22:14 length match problem Jackfritt
2003-01-09 2:39 ` Fabrice MARIE [this message]
2003-01-09 7:53 ` Jörg Esser
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=200301091039.44259.fabrice@netfilter.org \
--to=fabrice@netfilter.org \
--cc=jackfritt@boh.de \
--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.