Sir,

    Squid 3.1 has built-in feature to differentiate local cache hits 

>From Squid-cache.org 

qos_flows local-hit=0xff           Responses found as a HIT in the local cache

I want to put Linux TC   with MARK 4 on the high speed LAN so that I need not 
penalize for the cache content.  

Where should I change this in  Shorewall..  and tc is outside shorewall. I am 
using WEBHTB -- a Web enabled HTB frontend using Ajax, MySql, Htbtools and 
generating tc rules. I need shorewall to MARK squid cache HIT as 0x04.

I think if I have to do with raw iptables I have to write 

iptables -t mangle -A FORWARD -m tcp -p tcp --sport 80 -d 192.168.0.0/24 -j 
MARK --set-mark 4

iptables -t mangle -A FORWARD  -m mark --mark 4 -j TOS --set-tos 4


Regards
Rayudu.






      
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to