Many times it's required to keep an eye on squid log to see who is accessing what for this there is a script (SqStat) which allows to look through active squid users connections using web browser. It use cachemgr protocol to get information from squid proxy server.
Installation and configuration of SqStat:
* Download the package - here
* Unpack the SqStat package in your webserver's document root - /srv/www/htdocs (OpenSuSe)
* Copy file config.inc.php.defaults to config.inc.php, edit config.inc.php to specify your squid proxy server IP and port.
* Edit your squid.conf to allow cachemgr protocol, sample shown below ...
Installation and configuration of SqStat:
* Download the package - here
* Unpack the SqStat package in your webserver's document root - /srv/www/htdocs (OpenSuSe)
* Copy file config.inc.php.defaults to config.inc.php, edit config.inc.php to specify your squid proxy server IP and port.
* Edit your squid.conf to allow cachemgr protocol, sample shown below ...
acl manager proto cache_objectPoint your browser to sqstat.php file and this is what you should see ...
# replace 10.0.0.1 with your webserver IP
acl webserver src 10.0.0.1/255.255.255.255
http_access allow manager webserver
http_access deny manager
source:http://linuxpoison.blogspot.com/2010/06/13578167758406.html