Search squid archive

Re: TOS from remote to squid(2 series)

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

 



On Sat, 2011-04-23 at 20:36 +0800, jiluspo wrote:
> remote servers I mean http web servers TOS.
> I already know about peers in fact current squid(as of 04/24/11) TOS are not 
> being marked peer(digest or icp) hit when local miss.
> http://bugs.squid-cache.org/show_bug.cgi?id=3202
> 
> AFAIK squid 2 series TOS always marked zero from remote servers.
> according to source code initial tos=0;
> 
> there are some patches called preserve tos miss but kernel(linux) needs to 
> be patched.
> 
> does kernel really need to patch in order to pass the TOS value from kernel 
> to squid?
> 

Yes, I'm afraid it does, due to the way the networking stack works.

If you want *similar* functionality *without* patching the kernel, then
you can use the "qos_flows mark" feature, which uses the netfilter mark
value rather than the TOS value. However, marks do not apply remotely,
so this will only work to retain marks on the local machine.

This feature is only available from 3.2 onwards.

Andy




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux