O'Reilly logo

Ubuntu Unleashed 2015 Edition: Covering 14.10 and 15.04, Tenth Edition by Matthew Helmke

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

Access Control Lists

The main Squid configuration file is /etc/squid3/squid.conf, and the default Ubuntu configuration file is full of comments to help guide you. The default configuration file allows full access to the local machine but denies the rest of your network. This is a secure place to start; we recommend you try all the rules on yourself (localhost) before rolling them out to other machines.

Before you start, open two terminal windows. In the first, change to the directory /var/log/squid3 and run this command:

matthew@seymour:~$ sudo tail -f access.log cache.log

That reads the last few lines from both files and (thanks to the -f flag) follows them so that any changes appear in there. This allows you to ...

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