O'Reilly logo

Squid Proxy Server 3.1 Beginner's Guide by Kulbir Saini

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – joining a cache hierarchy

Let's add two proxy servers to our Squid configuration file:

cache_peer parent.example.com parent 3128 3130 default
cache_peer sib.example.com sibling 3128 3130 proxy-only

So, according to this configuration, parent.example.com is a parent proxy server and sib.example.com is a sibling proxy server.

What just happened?

We just learned how to add a proxy server or neighbors to our Squid configuration file, so that our proxy server can be a part of a cache hierarchy.

Now, let's have a look at the options which can be used to control ICP or HTCP communication.

ICP options

When we configure a peer with ICP communication, we must configure the icp_port and icp_access directives properly. Next, we'll have a look ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required