ZPH is a squid patch that enables SQUID to mark cached packets , so that it can later used by the Mikrotik or squid itself to bypass cached contents from Speed Package.
Z.P.H directives config which works with SQUID 2.7 donot work with new version of SQUID i.e 3.x
Use the following directives in /etc/squid3/squid.conf
# ZPH for Squid3 / zaib qos_flows local-hit=0x30
and in Mikrotik, settings remain same to mark cache contents coming from the squid and bypass it using Queue Tree . . .
/ip firewall mangle add action=mark-packet chain=prerouting comment="MARK_CACHE_HIT_FROM_PROXY_ZAIB" disabled=no dscp=12 new-packet-mark=proxy passthrough=no /queue tree add burst-limit=0 burst-threshold=0 burst-time=0s comment="Queue for SQUID CACHE HIT for ZPH / zaib" disabled=no limit-at=0 max-limit=0 name=Proxy packet-mark=proxy parent=global-out priority=1 queue=default
Also add following in /etc/rc.local
It have nothing to do with the squid, but it is just for my reference ☻
ulimit -HSn 16384 ulimit -HSd unlimited
☺
Regard’s
SYED JAHANZAIB
Filed under: Linux Related
