[squid-users] cache peer communication about HIT/MISS between squid and and non-squid peer

Omid Kosari omidkosari at yahoo.com
Mon Jul 18 08:05:28 UTC 2016


Maybe i should describe more .
The port 8080 is a parent peer of squid . It is
http://squid-web-proxy-cache.1019090.n4.nabble.com/Windows-Updates-a-Caching-Stub-zone-A-windows-updates-store-td4678454.html

squid config is 

acl wu dstdom_regex \.download\.windowsupdate\.com$
acl wu-rejects dstdom_regex stats
acl GET method GET
cache_peer 127.0.0.1 parent 8080 0 proxy-only no-tproxy no-digest no-query
no-netdb-exchange name=ms1
cache_peer_access ms1 allow GET wu !wu-rejects
cache_peer_access ms1 deny all
never_direct allow GET wu !wu-rejects
never_direct deny all

and

iptables -t mangle -A OUTPUT -p tcp -m tcp -d
127.0.0.1,192.168.1.1,192.168.1.2 --sport 8080 -j DSCP --set-dscp 0x60

Now with this iptables rule i want to change the dscp of packets which comes
from parent peer to squid . Then squid preserve that dscp and send it to
clients . With my description will everything work as i want ?

Thanks





--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/cache-peer-communication-about-HIT-MISS-between-squid-and-and-non-squid-peer-tp4600931p4678547.html
Sent from the Squid - Users mailing list archive at Nabble.com.


More information about the squid-users mailing list