Community discussions

 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

change ToS using in a right way ?

Tue Oct 23, 2007 11:24 am

How is actualy used change TOS setting and is it possibile to test it somehow, to see if it is doing its job or not ?

I have these rules

6 ;;; DNS
chain=prerouting protocol=udp dst-port=53 src-address-list=twi
dst-address-list=!twi action=mark-connection new-connection-mark=DNS_UP
passthrough=yes

7 chain=prerouting protocol=udp dst-port=53 connection-mark=DNS_UP
src-address-list=twi dst-address-list=!twi action=change-tos
new-tos=min-delay


8 chain=prerouting protocol=udp dst-port=53 connection-mark=DNS_UP
src-address-list=twi dst-address-list=!twi action=mark-packet
new-packet-mark=DNS_UP passthrough=no

9 chain=postrouting protocol=udp src-port=53 dst-address-list=twi
action=mark-connection new-connection-mark=DNS_DOWN passthrough=yes

10 chain=postrouting protocol=udp src-port=53 connection-mark=DNS_DOWN
dst-address-list=twi action=change-tos new-tos=min-delay


11 chain=postrouting protocol=udp src-port=53 connection-mark=DNS_DOWN
dst-address-list=twi action=mark-packet new-packet-mark=DNS_DOWN_P
passthrough=no
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Re: change ToS using in a right way ?

Wed Oct 24, 2007 2:40 am

Is something wrong with my user name??

am I tagged like bad guy.

I mean none of my posts are answered.

I ask just to know if I write for nothing. . .
 
changeip
Forum Guru
Forum Guru
Posts: 3803
Joined: Fri May 28, 2004 5:22 pm

Re: change ToS using in a right way ?

Wed Oct 24, 2007 8:24 am

I don't think you are tagged : )

I believe that ToS is just a field changed in the header, however, unless you or all downstream routers act on it then it does nothing. I am not sure, but I think you would need to also use queueing to actually perform the prioritization. ToS/DSCP is just a bit in the header and not acted upon unless you setup queues and tell it what to do. Someone can correct me on that if im wrong. It would be nice if there was a set of queue exports that show the correct setup for actually using ToS/DSCP.

You can use tool sniffer and wireshark to determine if the packets are being modified.
Colo and Wholesale Bandwidth Available! Sales at SanDiegoBroadband dot com
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Re: change ToS using in a right way ?

Thu Oct 25, 2007 2:07 am

thx

Who is online

Users browsing this forum: Google [Bot] and 131 guests