From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
netfilter@lists.netfilter.org
Subject: Re: ipt_MARK/xt_MARK usage problem
Date: Tue, 22 Aug 2006 08:29:27 +0200 [thread overview]
Message-ID: <44EAA447.1080004@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0608220815560.24532@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
> kernel 2.6.17 ships with xt_MARK, but iptables 1.3.5 still uses ipt_MARK.
> In essence, I cannot use `iptables -j MARK` giving me
>
> # iptables -A INPUT -j MARK --set-mark 1
> iptables: Unknown error 4294967295
>
> I have seen this before and the problem behind this strange error (-1) is
> that the .targetsize/.matchsize variables in the kernel modules do not
> match their userspace parts.
No, its a bug in the iptables userspace version you're using, which
makes it report any error as "Unknown error 4294967295". The
error itself is that you're using MARK in the filter table.
> However, this time it seems to be something different:
>
> # iptables -t mangle -A INPUT -j MARK --set-mark 1
>
> Works without problems. Am I missing something?
> How do I get MARK back to work in -t filter -- possibly without hacking in
> xt_MARK.c?
You won't, its not supposed to work in the filter table.
next prev parent reply other threads:[~2006-08-22 6:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-22 6:21 ipt_MARK/xt_MARK usage problem Jan Engelhardt
2006-08-22 6:29 ` Patrick McHardy [this message]
2006-08-22 6:31 ` Jan Engelhardt
2006-08-22 6:38 ` Patrick McHardy
2006-08-22 6:38 ` Patrick McHardy
2006-08-22 9:17 ` Jan Engelhardt
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=44EAA447.1080004@trash.net \
--to=kaber@trash.net \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--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.