Re: kernel 2.6.28/iptables <=1.4.2 not working together?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 3 Feb 2009, Pascal Hambourg wrote:
J.O. Aho a écrit :

The one of the lines (the others are similar, different port numbers) looks like this:
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?


--
     //Aho

 ------------------------------------------------------------------------
  E-Mail: trizt@xxxxxxxxx            URL: http://www.kotiaho.net/~trizt/
     ICQ: 13696780                                         Skype: jo_aho
  System: Linux System                        (PPC7447/1000 AMD K8/2500)
 ------------------------------------------------------------------------
            EU forbids you to send spam without my permission
 ------------------------------------------------------------------------

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux