ftos patch

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

 



Hi i want to know in advance if the followin patch
would allow me to set whatever tos field i want or f.e
0x28
0x40
0x48
0x52
0x30
etc
Thx

4.1 ftos patch 


This patch by Matthew G. Marsh <mgm@xxxxxxxxxxxxx>
adds a new target that allows you to set the TOS of
packets to an arbitrary value.

 

For example, if you want to set the TOS of all the
outgoing packets to be 15, you can do as follows :

 

# iptables -t mangle -A OUTPUT -j FTOS --set-ftos 15

# iptables -t mangle --list
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination  
      
FTOS       all  --  anywhere             anywhere     
     TOS set 0x0f 

 

Supported options for the FTOS target are :

 

--set-ftos value

-> Set TOS field in packet header to value. This value
can be in decimal (ex: 32) or in hex (ex: 0x20)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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