Table of Contents

Checking up on Squid

This guide contains some useful information about the Squid system in ClearOS. This guide can be used for command line queries or as a template for the development of reporting features for squid.

Access files

The access file for squid is useful for troubleshooting and proving authentications, hits from clients and other useful info:

tail -f /var/log/squid/access.log

To watch a specific IP address (i.e. 192.168.1.123):

tail -f /var/log/squid/access.log |grep 192.168.1.123

Error log

The error log is also useful for watching for errors in the web proxy's handling of pages:

tail -f /var/log/squid/error.log

Running Configuration

To see the running configuration for squid type the following from command line:

squidclient -h 127.0.0.1 mgr:info

There are a number of very useful lines here:

Help

search?q=clearos%2C%20clearos%20content%2C%20troubleshooting%2C%20proxy%2C%20contentfilter%2C%20app-web-proxy%2C%20maintainer_dloper&btnI=lucky