[squid-users] cache peer communication about HIT/MISS between squid and and non-squid peer
Omid Kosari
omidkosari at yahoo.com
Thu Jul 21 06:56:06 UTC 2016
Amos Jeffries wrote
> Note that it is the connection CONNMARK value not the packet MARK value
> that is copied.
Can you confirm my iptables rules ?
iptables -t mangle -A OUTPUT -j CONNMARK --restore-mark
iptables -t mangle -A OUTPUT -p tcp -d 127.0.0.1,1.1.1.12 --sport 8080 -j
MARK --set-mark 0x30
iptables -t mangle -A OUTPUT -j CONNMARK --save-mark
iptables -t mangle -A OUTPUT -m mark --mark 0x30 -j LOG --log-prefix
"connmark 0x30: "
If yes then with the squid.conf
qos_flows tos local-hit=0x30
qos_flows tos sibling-hit=0x30
qos_flows tos parent-hit=0x30
qos_flows mark
now squid should send peer 8080 contents with tos 0x30 to clients ? if i am
wrong please describe squid behavior 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-tp4600931p4678633.html
Sent from the Squid - Users mailing list archive at Nabble.com.
More information about the squid-users
mailing list