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

Amos Jeffries squid3 at treenet.co.nz
Mon Jul 18 05:25:34 UTC 2016


On 17/07/2016 10:16 p.m., Omid Kosari wrote:
> Lets assume the all of parents replies are hits . Now is there a way ?
> 
> iptables -t mangle -A OUTPUT -t mangle -p tcp -m tcp -d
> 192.168.1.1,192.168.1.2 --sport 8080 -j DSCP --set-dscp 0x60
> 
> is this ok ?
> 

iptables is not Squid.

Any Squid outbound traffic which matches the iptables rule will have its
Squid marking overwritten with 0x60.

Its no use coming to us and complaining that Squid behaviour is broken,
when you have configured your network itself to explicitly overwrite any
values used by Squid with some other value.

Amos



More information about the squid-users mailing list