I think you can set only a few values as TOS, 0x0, 0x2, 0x4 and 0x8 . If you want more, you can use the DSCP target. On Tue, 8 Feb 2005 04:46:23 -0800 (PST), Alaios <alaios@xxxxxxxxx> wrote: > Hi i want to apply the patch ftos in order to change > the tos field in ip packets... > The problem is that i don't know how to do that > One guy suggest me the > http://www.paksecured.com/patches/ > but the patch is for the 2.4 kernel but i use the > 2.6.10 kernel. > In addition to this i have noticed that the 2.6 kernel > has the following option > CONFIG_IP_NF_MATCH_TOS > I don't know if i need to compile it as module or i > should insert them directly to the kernel... > Afte recompiling the kernel i have run the make > KERNEL_DIR=/usr/src/linux-2.6.10 but still the command > > iptables -t mangle -A PREROUTING -i eth0 -p tcp > --dport 22 -j TOS --set-tos 15 > iptables v1.2.11: Bad TOS Value > Any suggestion? > > > __________________________________ > Do you Yahoo!? > All your favorites on one personal page â Try My Yahoo! > http://my.yahoo.com > > -- Bla bla