ZPH with Squid 3.1.19 with UBUNTU 12.04 / Mikrotik QUEUE


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

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 . . .


For Mikrotik 5.x

/ip firewall mangle add action=mark-packet chain=prerouting comment="MARK_CACHE_HIT_FROM_PROXY" 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" disabled=no limit-at=0 max-limit=0 name=Proxy packet-mark=proxy parent=global-out priority=1 queue=default


For Mikrotik 6.x

/ip firewall mangle add action=mark-packet chain=prerouting comment="MARK_CACHE_HIT_FROM_Proxy" disabled=no dscp=12 new-packet-mark=proxy passthrough=no

/queue tree add comment="ZPH Cache Hit Queue" name=proxy packet-mark=zph-hit parent=global priority=1 queue=default



If above queue tree don't work with ROS 6.x then try adding simple queue and move it on TOP in simple QUEUE section


/queue simple

add max-limit=100M/100M name="ZPH-Proxy Cache Hit Simple Queue" packet-marks=zph-hit priority=1/1 target="" total-priority=1

Comments

  1. It has fully emerged to crown Singapore's southern shores and undoubtedly placed her on the global map of residential landmarks. I still scored the more points than I ever have in a season for GS. I think you would be hard pressed to find somebody with the same consistency I have had over the years so I am happy with that. how many cups in a gallon of water

    ReplyDelete
  2. Through this post, I know that your good knowledge in playing with all the pieces was very helpful. I notify that this is the first place where I find issues I've been searching for. You have a clever yet attractive way of writing. adequate disclosure definition

    ReplyDelete
  3. If you don"t mind proceed with this extraordinary work and I anticipate a greater amount of your magnificent blog entries semi formal pantsuit

    ReplyDelete
  4. This website and I conceive this internet site is really informative ! Keep on putting up! how many oz in a quarter cup

    ReplyDelete

Post a Comment

Popular posts from this blog

Mikrotik Webproxy with PCC

Dual Wan Load balacing with failover mikrotik

Configure Static IP Address (CLI) on Ubuntu 18.04.5 LTS