From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: "J.O. Aho" <trizt@iname.com>
Cc: netfilter@vger.kernel.org
Subject: Re: kernel 2.6.28/iptables <=1.4.2 not working together?
Date: Sat, 14 Mar 2009 11:32:32 +0100 [thread overview]
Message-ID: <49BB87C0.4030200@plouf.fr.eu.org> (raw)
In-Reply-To: <alpine.LNX.2.00.0903141103050.20196@quad.local.lan>
J.O. Aho a écrit :
> On Tue, 3 Feb 2009, Pascal Hambourg wrote:
>> J.O. Aho a écrit :
>>>
>>> iptables -t mangle -A OUTPUT -p tcp --dport 20:21 -j TOS --set-tos 16
>>> Keep in mind that ipt_TOS has been merge into xt_dscp and modinfo on
>>> xt_dscp gives an alias list with ipt_tos.
>> Since kernel 2.6.25, ipt_TOS has been merged into xt_DSCP (target),
>> not ipt_dscp (match).
>
> So back to my question, how to rewrite the rule to work with target
> instead of the old match?
You do not have to rewrite the rule. But since the TOS target is now
handled by the xt_DSCP kernel module, you must have this module enabled
in your kernel configuration (CONFIG_NETFILTER_XT_TARGET_DSCP=y or m).
next prev parent reply other threads:[~2009-03-14 10:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-31 17:17 kernel 2.6.28/iptables <=1.4.2 not working together? J.O. Aho
2009-02-03 12:23 ` Pascal Hambourg
2009-03-14 10:04 ` J.O. Aho
2009-03-14 10:32 ` Pascal Hambourg [this message]
2009-03-14 10:59 ` J.O. Aho
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=49BB87C0.4030200@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--cc=netfilter@vger.kernel.org \
--cc=trizt@iname.com \
/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