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
2 comments:
This service is that it makes for the transfer and retrieval of commonly accessed files much more quickly. Think of the Internet browser that you are using.
proxy tool
This is exactly what i needed for my business. Thank you very much.
Post a Comment