how to change the tos

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

 



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 


[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