From: Patrick McHardy <kaber@trash.net>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: netfilter@lists.netfilter.org,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: ipt_MARK/xt_MARK usage problem
Date: Tue, 22 Aug 2006 08:38:33 +0200 [thread overview]
Message-ID: <44EAA669.7050604@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0608220830110.24532@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
>>>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.
>
>
> This worked in 2.6.16, where the ipt_mark_reg_v1 strucutre in xt_MARK.c did
> not have a .table limiter. (It also worked in practice, i.e. packets got
> marked like they should.) I do not see why this was changed.
That is not true, all versions of the mark target starting in 2.4 had
the same check in the checkentry function.
WARNING: multiple messages have this Message-ID (diff)
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:38:33 +0200 [thread overview]
Message-ID: <44EAA669.7050604@trash.net> (raw)
In-Reply-To: <Pine.LNX.4.61.0608220830110.24532@yvahk01.tjqt.qr>
Jan Engelhardt wrote:
>>>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.
>
>
> This worked in 2.6.16, where the ipt_mark_reg_v1 strucutre in xt_MARK.c did
> not have a .table limiter. (It also worked in practice, i.e. packets got
> marked like they should.) I do not see why this was changed.
That is not true, all versions of the mark target starting in 2.4 had
the same check in the checkentry function.
next prev parent reply other threads:[~2006-08-22 6:38 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
2006-08-22 6:31 ` Jan Engelhardt
2006-08-22 6:38 ` Patrick McHardy [this message]
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=44EAA669.7050604@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.