Squid

Writing Squid authenticators

An authenticator that you can use in Squid is pretty simple. So if you find you need to use an authentication scheme that is not yet supported you can pretty easily write one yourself. All you need is some basic knowledge of scripting languages (bash, Perl, Python, whatever). The authentication requests are passed to the …

Writing Squid authenticators Read More »

Nagios plugin for checking Squid

I once needed a way to make sure our Squid proxy cluster operates correctly. So I wrote a rather simple Squid check plugin for the Nagios monitoring software. André Moura has pimped it further. Feel free to use it. It’s also available from monitoringexchange.org.

Squid log reader

Reading Squid’s log files can be hard for us humans. This Perl script will help you decipher them. Note that since Squid version 2.6 you can customize the log format. See http://www.squid-cache.org/Doc/config/logformat/ for details. I personally prefer this log format: logformat squid %{%d.%m.%Y-%H:%M:%S}tl.%tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt #!/usr/bin/perl -w # …

Squid log reader Read More »

How Squid ACLs work

For less experienced Squid administrators the concept of ACLs can be confusing at first. But they offer a great way of controlling who is allowed to access which web pages when. ACLs First you need to define certain criteria like accesses from the marketing department or accesses to google.com or need to authenticate. There are …

How Squid ACLs work Read More »