Copyright (C) 2015 ESF, LLC All rights reserved. */ /* ====================================================================================== */ /* Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* ====================================================================================== */ ]]> lightsquid 2.42 Squid Proxy Reports: Settings Status /usr/local/pkg/lightsquid.inc Squid Proxy Reports Proxy Server Statistic Reports
Status
/pkg_edit.php?xml=lightsquid.xml
Settings /pkg_edit.php?xml=lightsquid.xml Lightsquid Report /lightsquid/index.cgi Proxy Status /sqstat/sqstat.php /usr/local/pkg/ https://packages.pfsense.org/packages/config/lightsquid/lightsquid.inc /etc/inc/priv/ https://packages.pfsense.org/packages/config/lightsquid/lightsquid.priv.inc /usr/local/www/sqstat/ https://packages.pfsense.org/packages/config/lightsquid/sqstat.class.php /usr/local/www/sqstat/ https://packages.pfsense.org/packages/config/lightsquid/sqstat.php /usr/local/www/sqstat/ https://packages.pfsense.org/packages/config/lightsquid/sqstat.css /usr/local/www/sqstat/ https://packages.pfsense.org/packages/config/lightsquid/zhabascript.js /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/bigfiles.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/day_detail.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/graph.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/group_detail.html /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/datetime.png /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/flag_red.png /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/graph.png /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/groups.png /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/printer.png /usr/local/share/lightsquid/tpl/novopf/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/images/users.png /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/index.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/month_detail.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/print.css /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/screen.css /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/topsites.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_detail.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_month.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/user_time.html /usr/local/share/lightsquid/tpl/novopf/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novopf/whousesite.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/bigfiles.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/day_detail.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/graph.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/group_detail.html /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/datetime.png /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/flag_red.png /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/graph.png /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/groups.png /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/printer.png /usr/local/share/lightsquid/tpl/novosea/images/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/images/users.png /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/index.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/month_detail.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/print.css /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/screen.css /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/topsites.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_detail.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_month.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/user_time.html /usr/local/share/lightsquid/tpl/novosea/ https://packages.pfsense.org/packages/config/lightsquid/tpl/novosea/whousesite.html Instructions listtopic info IMPORTANT: Perform these steps after install: ]]> Enable 'Access Logging' in the Squid package! It is strongly suggested to leave the 'Log Store Directory' in Squid package at default '/var/squid/logs' value.

2a/ ONLY if Squid is NOT set up as transparent proxy:
- Configure Squid - General - Proxy Interface(s) to include 'loopback' interface (in addition to any other interfaces you want Squid to bind on).
2b/ ONLY if using Squid 2.7 package (this is not needed for Squid 3.x.):
- Add '127.0.0.1' to Squid - Access Control - External Cache-Managers.

3/ Configure 'Report Template Settings' and 'Reporting Settings and Scheduler' below and Save when finished.

4/ Use the Refresh buttons in the 'Manual Refresh' section below to create initial LightSquid reports; otherwise you will get an error diagnostic page.
- "Refresh now" will (re)parse today's entries only in Squid's current access.log.
- "Refresh full" will (re)parse all entries in all Squid's access logs, including the rotated ones. Note: This may take long time to finish!
]]>
Report Template Settings listtopic Language lightsquid_lang Select report language. select eng Report Template lightsquid_template Select report template. select base Bar Color lightsquid_barcolor Select bar color. select orange Reporting Settings and Scheduler listtopic IP Resolve Method lightsquid_ip2name Select which method(s) should be attempted (in the order listed below) to resolve IPs to hostnames: IP - Do not resolve IP addresses. Demo - Use Squid AUTHNAME, then DNSNAME, then IP. DNS - Use DNSNAME. Simple - Use Squid AUTHNAME, then IP address. SMB - Use NetBIOS name. Squidauth - Use Squid AUTHNAME, then IP address (allow international characters). ]]> select dns Skip URL(s) lightsquid_skipurl Separate multiple entries by | character.

Example: example.com|192.168.1.|example.net ]]>
textarea 60 5
Refresh Scheduler lightsquid_refreshsheduler_time Legend: (!),(*) - use only with fast hardware; (+) - recommended values.
]]>
select lhp_none
info Manual Refresh will (re)parse today's entries only in Squid's current access.log.

will (re)parse all entries in all Squid's access logs, including the rotated ones. Note: This may take long time to finish!

Press a button above to start background refresh (this will take some time).
]]>
lightsquid_install(); lightsquid_deinstall(); lightsquid_validate_input($_POST, $input_errors);