[LARTC] Wonder Shaper problem?

Linux Advanced Routing and Traffic Control

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

 



you can have your firewall set the tos for ftp to something like 0x08 and keep
only low bandwidth high priority things like ssh as 0x10.

"Jason A. Pattie" <pattieja@pcxperience.com> said:

> So then is there a way to modify the packet on the way out of squid to 
> force it to be the TOS we want that will cause it to go to 20: instead 
> of 10: ?  Maybe modification of squid is in order? to keep it from 
> changing the TOS field?  (We have the source!  :) )
> 
> Or is there some other way to make it so that SSH traffic itself is 
> bumped to higher priority than just the generic 0x10 TOS packets?  Maybe 
> match on destination or source port 22?
> 
> Dhaval Patel wrote:
> 
> >i could be wrong its been some time since i did this but i think that 0x10 is
> >for quick response time 0x08 is for high throughput  0x04 is for a more
> >guranteed service or something like that. 
> >
> >hope this helps.
> >
> >"Jason A. Pattie" <pattieja@pcxperience.com> said:
> >
> >>Found the TOS field was being set to 0x10 for "ftp" traffic and 0x08 for 
> >>"http" traffic.  What significance does that play?  And it is either 
> >>being done by Squid or by Mozilla, don't know how to tell which, though.
> >>
> >>Michael T. Babcock wrote:
> >>
> >>>On Wed, Jan 02, 2002 at 12:04:28PM -0600, Jason A. Pattie wrote:
> >>>
> >>>>Where in the output of tcdump does the TOS field appear?  I did the 
> >>>>'tcpdump -n -v -v' on the firewall and dumped the output to a file as I 
> >>>>started the Linux kernel download.  Is it appropriate to attach the 
> >>>>output (I stopped it after around 250 packets)?
> >>>>
> >>>In the version I have of tcpdump TOS only shows up when its set to
> >>>something special.
> >>>
> >>-- 
> >>Jason A. Pattie
> >>pattieja@pcxperience.com
> >>
> >>
> >>
> >>
> >>_______________________________________________
> >>LARTC mailing list / LARTC@mailman.ds9a.nl
> >>http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> >>
> >
> >
> >
> 
> -- 
> Jason A. Pattie
> pattieja@pcxperience.com
> 
> 
> 
> 
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/
> 



-- 






[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux