Lightsquid package version 2.32 is now available for pfSense which includes support for Sqstat. Sqstat allows you to view active Squid connections in real time. Squids cachemgr protocol provides the ability for Sqstat to retrieve connection information directly from Squid.
If you are running a Squid proxy server on pfSense I would highly recommend installing Lightsquid. Lightsquid provides some very useful information about internet usage and downloads on your network.
The easiest way to upgrade to version 2.32 is to use the reinstall package function in the package manager. This will automatically download the latest version and install the package.
After the new version is installed you can access the new Sqstat feature from the proxy state tab in Lightsquid. By default the data on the page will update every 3 seconds but you can change this interval if you want to.
Sqstat will display all of the active downloads sorted by host IP address. For each active download you can see the source URL, current download speed, download size, and how long the download has been active for. Overall I think it’s a pretty cool feature , it allows you to get a quick look at the status of the proxy.
Log Update Issues
If you’re having issues getting the Lightsquid proxy logs to update after installing the new version of the package then make sure Squid is configured to save the logs in /var/squid/logs.
At some point it appear that Lightsquid was changed to look for Squid logs in this directory instead of /var/squid/log. I’m not sure if this was intentional or not, if it was intended the developers need to update the text of the package to reflect this. As you can see below the settings page instructs users to use the wrong path. This can be confirmed by looking at the global variables in the lightsquid.cfg file.
I would expect another update to this package in the near future to resolve this typo. In the mean time go ahead and install the new version and check out the Sqstat feature.