<?xml version="1.0" encoding="utf-8" ?> <!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> <packagegui> <copyright> <![CDATA[ /* $Id$ */ /* ========================================================================== */ /* authng.xml part of pfSense (http://www.pfSense.com) Copyright (C) 2007 to whom it may belong All rights reserved. Based on m0n0wall (http://m0n0.ch/wall) Copyright (C) 2003-2006 Manuel Kasper <mk@neon1.net>. 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. */ /* ========================================================================== */ ]]> </copyright> <description>Describe your package here</description> <requirements>Describe your package requirements here</requirements> <faq>Currently there are no FAQ items provided.</faq> <name>lightsquid</name> <version>1.7.1</version> <title>Services: Proxy Reports (LightSquid, SQStat) -> Settings</title> <category>Status</category> <include_file>/usr/local/pkg/lightsquid.inc</include_file> <menu> <name>Proxy report</name> <tooltiptext>Proxy server statistic report</tooltiptext> <section>Status</section> <url>/pkg_edit.php?xml=lightsquid.xml&id=0</url> </menu> <tabs> <tab> <text>Settings</text> <url>/pkg_edit.php?xml=lightsquid.xml&id=0</url> <active/> </tab> <tab> <text>Lightsquid Report</text> <url>/lightsquid/index.cgi</url> </tab> <tab> <text>Proxy State</text> <url>/sqstat/sqstat.php</url> </tab> </tabs> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/lightsquid/lightsquid.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/var/tmp/</prefix> <chmod>0755</chmod> <item>http://files.pfsense.org/packages/All/lightsquid_tpl.tbz</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/sqstat/</prefix> <chmod>0644</chmod> <item>http://www.pfsense.org/packages/config/lightsquid/sqstat.class.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/sqstat/</prefix> <chmod>0644</chmod> <item>http://www.pfsense.org/packages/config/lightsquid/sqstat.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/sqstat/</prefix> <chmod>0644</chmod> <item>http://www.pfsense.org/packages/config/lightsquid/sqstat.css</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/sqstat/</prefix> <chmod>0644</chmod> <item>http://www.pfsense.org/packages/config/lightsquid/zhabascript.js</item> </additional_files_needed> <fields> <field> <fielddescr>Language</fielddescr> <fieldname>lightsquid_lang</fieldname> <description>Select report language</description> <type>select</type> <value>eng</value> <options> <option><name>Bulgarian</name><value>bg</value></option> <option><name>Czech</name><value>cz</value></option> <option><name>English</name><value>eng</value></option> <option><name>French</name><value>fr</value></option> <option><name>Hungarian</name><value>hu</value></option> <option><name>Italian</name><value>it</value></option> <option><name>Portuguese - Brazil</name><value>pt_br</value></option> <option><name>Russian</name><value>ru</value></option> <option><name>Russian KOI-8</name><value>ru-koi8</value></option> <option><name>Spanish</name><value>sp</value></option> <option><name>Ukrainian</name><value>ua</value></option> </options> </field> <field> <fielddescr>Bar color</fielddescr> <fieldname>lightsquid_barcolor</fieldname> <description>Select bar color</description> <type>select</type> <value>orange</value> <options> <option><name>Orange</name><value>orange</value></option> <option><name>Blue</name><value>blue</value></option> <option><name>Green</name><value>green</value></option> <option><name>Yellow</name><value>yellow</value></option> <option><name>Brown</name><value>brown</value></option> <option><name>Red</name><value>red</value></option> </options> </field> <field> <fielddescr>Report scheme</fielddescr> <fieldname>lightsquid_template</fieldname> <description>Select report scheme</description> <type>select</type> <value>base</value> <options> <option><name>Base</name><value>base</value></option> <option><name>Text</name><value>text</value></option> <option><name>NovoSea</name><value>novosea</value></option> <option><name>NovoPf</name><value>novopf</value></option> </options> </field> <field> <fielddescr>IP resolve method (future)</fielddescr> <fieldname>lightsquid_ip2name</fieldname> <description> <table cellpadding=1 cellspacing=0 style="text-align: left;"> <tbody> <tr><th colspan=2> Select IP to Name resolve method (take effect only on new data): </th><tr> <tr><th> IP </th><td> - return IP </td><tr> <tr><th> Demo </th><td> - return AUTHNAME, else DNSNAME, else IP </td><tr> <tr><th> DNS </th><td> - return DNSNAME </td><tr> <tr><th> Simple </th><td> - return AUTHNAME else IP </td><tr> <tr><th> SMB </th><td> - return SMB name of pc </td><tr> <tr><th> Squidauth </th><td> - return AUTHNAME else IP, allow cyrilyc name </td><tr> </tbody> </table> </description> <type>select</type> <value>dns</value> <options> <option><name>IP</name><value>ip</value></option> <option><name>Demo</name><value>demo</value></option> <option><name>DNS</name><value>dns</value></option> <option><name>Simple</name><value>simple</value></option> <option><name>SMB</name><value>smb</value></option> <option><name>Squidauth</name><value>squidauth</value></option> </options> </field> <field> <fielddescr>Refresh sheduler</fielddescr> <fieldname>lightsquid_refreshsheduler_time</fieldname> <description> Select data refresh period. System will execute task every XX time as from 00:00 hours. <br> For example: if selected 2h - system wil start task at 0-2-4-..-24h. <br> Note: (!),(*) - use only for powerful system; (+) - recomended. <br><br> <input type="submit" name="Submit" value="Refresh now"><br> <input type="submit" name="Submit" value="Refresh full"> <br> Press button for start background refresh (this take some time). <br> <span style="color: rgb(153, 51, 0);"> Note after installation: <br> On the first - enable log in squid package with "/var/squid/logs" path. <br> On the second - press Refresh button for create lightsquid reports, else you will have error diagnostic page.</span> </description> <type>select</type> <value>lhp_none</value> <options> <option><name>none</name><value>lhp_none</value></option> <option><name>10min(!)</name><value>lhp_10m</value></option> <option><name>20min(!)</name><value>lhp_20m</value></option> <option><name>30min(*)</name><value>lhp_30m</value></option> <option><name>40min(*)</name><value>lhp_40m</value></option> <option><name>50min(+)</name><value>lhp_50m</value></option> <option><name>60min(+)</name><value>lhp_60m</value></option> <option><name>2h</name><value>lhp_2h</value></option> <option><name>3h</name><value>lhp_3h</value></option> <option><name>4h</name><value>lhp_4h</value></option> <option><name>6h</name><value>lhp_6h</value></option> <option><name>8h</name><value>lhp_8h</value></option> <option><name>12h</name><value>lhp_12h</value></option> <option><name>24(00)h</name><value>lhp_24h</value></option> </options> </field> <!--field> <fielddescr>Squid rotate log sheduler</fielddescr> <fieldname>lightsquid_squidrotatelog_sheduler_time</fieldname> <description> Select squid log rotate period. System will execute task every XX time as from 00:00 hours. <br> This option will allow the updating of the faster <br> For example: if selected '2 day' - system wil start task every 2 day of month. <br> This option will allow the updating of the faster <br> Note: You must choose from that the rate of filling dialogue access.log squid; <br> The more customers, the more often it should be the job. </description> <type>select</type> <value>lsr_none</value> <options> <option><name>none</name><value>lsr_none</value></option> <option><name>every 1 day</name><value>lsr_d1</value></option> <option><name>every 2 day</name><value>lsr_d2</value></option> <option><name>every 3 day</name><value>lsr_d3</value></option> <option><name>every 4 day</name><value>lsr_d4</value></option> <option><name>every 5 day</name><value>lsr_d5</value></option> <option><name>every 6 day</name><value>lsr_d6</value></option> <option><name>weekly at Monday</name><value>lsr_w1</value></option> <option><name>weekly at Tuesday</name><value>lsr_w2</value></option> <option><name>weekly at Wednesday</name><value>lsr_w3</value></option> <option><name>weekly at Thursday</name><value>lsr_w4</value></option> <option><name>weekly at Friday</name><value>lsr_w5</value></option> <option><name>weekly at Saturday</name><value>lsr_w6</value></option> <option><name>weekly at Sunday</name><value>lsr_w7</value></option> <option><name>every 10 day</name><value>lsr_d10</value></option> <option><name>every 15 day</name><value>lsr_d15</value></option> <option><name>every 20 day</name><value>lsr_d20</value></option> <option><name>every 25 day</name><value>lsr_d25</value></option> <option><name>every 30 day</name><value>lsr_d30</value></option> </options> </field--> <field> <fielddescr>Skip url</fielddescr> <fieldname>lightsquid_skipurl</fieldname> <description> If you want skip some sites from stat, example our local www server Example, if you want skip LOCAL site, put it here zdd.com|192.168.1.|cnn.com </description> <type>textarea</type> <cols>60</cols> <rows>5</rows> </field> </fields> <custom_php_resync_config_command> lightsquid_resync(); </custom_php_resync_config_command> <custom_php_install_command> lightsquid_install(); lightsquid_resync(); </custom_php_install_command> <custom_php_deinstall_command> lightsquid_deinstall(); </custom_php_deinstall_command> </packagegui>