From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pascal Hambourg Subject: Re: kernel 2.6.28/iptables <=1.4.2 not working together? Date: Sat, 14 Mar 2009 11:32:32 +0100 Message-ID: <49BB87C0.4030200@plouf.fr.eu.org> References: <49883751.6010700@plouf.fr.eu.org> Mime-Version: 1.0 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: Sender: netfilter-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="iso-8859-1"; format="flowed" To: "J.O. Aho" Cc: netfilter@vger.kernel.org J.O. Aho a =E9crit : > On Tue, 3 Feb 2009, Pascal Hambourg wrote: >> J.O. Aho a =E9crit : >>>=20 >>> 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),=20 >> not ipt_dscp (match). >=20 > So back to my question, how to rewrite the rule to work with target=20 > instead of the old match? You do not have to rewrite the rule. But since the TOS target is now=20 handled by the xt_DSCP kernel module, you must have this module enabled= =20 in your kernel configuration (CONFIG_NETFILTER_XT_TARGET_DSCP=3Dy or m)= =2E