<?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[ /* ========================================================================== */ /* imspector.xml part of pfSense (http://www.pfSense.com) Copyright (C) 2011 Scott Ullrich <sullrich@gmail.com> Copyright (C) 2011 Bill Marquette <billm@gmail.com> Copyright (C) 2007 Ryan Wagoner <rswagoner@gmail.com> 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>imspector</name> <version>0.9</version> <title>Services: IMSpector</title> <savetext>Change</savetext> <aftersaveredirect>/services_imspector_logs.php</aftersaveredirect> <include_file>/usr/local/pkg/imspector.inc</include_file> <menu> <name>IMSpector</name> <tooltiptext>Set IMSpector settings such as protocols to listen on.</tooltiptext> <section>Services</section> <url>/services_imspector_logs.php</url> </menu> <service> <name>imspector</name> <rcfile>imspector.sh</rcfile> <executable>imspector</executable> </service> <tabs> <tab> <text>IMSpector Log Viewer</text> <url>/services_imspector_logs.php</url> </tab> <tab> <text>IMSpector Settings</text> <url>/pkg_edit.php?xml=imspector.xml&id=0</url> <active/> </tab> </tabs> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/imspector/imspector.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> <item>http://www.pfsense.org/packages/config/imspector/services_imspector_logs.php</item> </additional_files_needed> <fields> <field> <fielddescr>Enable IMSpector</fielddescr> <fieldname>enable</fieldname> <type>checkbox</type> </field> <field> <fielddescr>Interfaces (generally LAN)</fielddescr> <fieldname>iface_array</fieldname> <description>You can use the CTRL or COMMAND key to select multiple interfaces.</description> <type>interfaces_selection</type> <size>3</size> <required/> <value>lan</value> <multiple>true</multiple> </field> <field> <fielddescr>Listen on protocols</fielddescr> <fieldname>proto_array</fieldname> <description>You can use the CTRL or COMMAND key to select multiple protocols. NOTE: Gtalk/Jabber-SSL requires SSL certificates.</description> <type>select</type> <size>7</size> <required/> <multiple>true</multiple> <options> <option> <name>MSN</name> <value>msn</value> </option> <option> <name>ICQ/AIM</name> <value>icq</value> </option> <option> <name>Yahoo</name> <value>yahoo</value> </option> <option> <name>IRC</name> <value>irc</value> </option> <option> <name>Jabber</name> <value>jabber</value> </option> <option> <name>Gtalk/Jabber-SSL</name> <value>jabber-ssl</value> </option> <option> <name>Gadu-Gadu</name> <value>gadu-gadu</value> </option> </options> </field> <field> <fielddescr>Enable file logging</fielddescr> <fieldname>log_file</fieldname> <description>Log files stored in /var/imspector.</description> <type>checkbox</type> </field> <field> <fielddescr>Enable mySQL logging</fielddescr> <fieldname>log_mysql</fieldname> <description>Make sure to specify your MySQL credentials below.</description> <type>checkbox</type> </field> <field> <fielddescr>mySQL server</fielddescr> <fieldname>mysql_server</fieldname> <type>input</type> </field> <field> <fielddescr>mySQL database</fielddescr> <fieldname>mysql_database</fieldname> <type>input</type> </field> <field> <fielddescr>mySQL username</fielddescr> <fieldname>mysql_username</fieldname> <type>input</type> </field> <field> <fielddescr>mySQL password</fielddescr> <fieldname>mysql_password</fieldname> <type>password</type> </field> <field> <fielddescr>SSL Certificate</fielddescr> <fieldname>ssl_server_cert</fieldname> <description> Choose the SSL Server Certificate here. </description> <type>select_source</type> <source><![CDATA[imspector_get_server_certs()]]></source> <source_name>descr</source_name> <source_value>refid</source_value> </field> <field> <fielddescr>SSL CA Certificate</fielddescr> <fieldname>ssl_ca_cert</fieldname> <description> Choose the SSL CA Certficate here. </description> <type>select_source</type> <source><![CDATA[imspector_get_ca_certs()]]></source> <source_name>descr</source_name> <source_value>refid</source_value> </field> <field> <fielddescr>Enable bad word filtering</fielddescr> <fieldname>filter_badwords</fieldname> <description>Replace characters of matched bad word with *.</description> <type>checkbox</type> </field> <field> <fielddescr>Enable response messages</fielddescr> <fieldname>resonder</fieldname> <description> Inform the users (both local and remote) that the conversation they are having is being recorded. This might be needed for legal reasons. Inform the sender that a file (or message) was blocked. This is useful because the sender will know a block occured, instead of the transfer simply failing.</description> <type>checkbox</type> </field> <field> <fielddescr>Notification frequency</fielddescr> <fieldname>notice_days</fieldname> <type>input</type> <description>Frequency in number of days for notifying users they are being logged. Default 1 day if responses are enabled, set to 0 to disable</description> </field> <field> <fielddescr>Filtered frequency</fielddescr> <fieldname>filtered_minutes</fieldname> <type>input</type> <description>The time between sending "filtered" in minutes. Default 15 minutes if responses are enabled, set to 0 to disable</description> </field> <field> <fielddescr>Custom message prefix</fielddescr> <fieldname>prefix_message</fieldname> <description> Message to prepend to all IMSpector generated messages. The default is "Message from IMSpector" </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> <field> <fielddescr>Custom recorded message response</fielddescr> <fieldname>recorded_message</fieldname> <description> Message to send to users to let them know they are being recorded. The default is "Your activities are being logged" </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> <field> <fielddescr>Custom filtered message response</fielddescr> <fieldname>filtered_message</fieldname> <description> Message to send to users to let them know about filtered messages. </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> <field> <fielddescr>Bad words list</fielddescr> <fieldname>badwords_list</fieldname> <description> Place one word or phrase to match per line.<br /> If left blank the default list in /usr/local/etc/imspector/badwords.txt will be used. </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> <field> <fielddescr>Block file transfers</fielddescr> <fieldname>block_files</fieldname> <description>Block file transfers on supported protocols.</description> <type>checkbox</type> </field> <field> <fielddescr>Block non ACL defined</fielddescr> <fieldname>block_unlisted</fieldname> <description>Overide the default of allowing user's not defined the whitelist or blacklist ACLs.</description> <type>checkbox</type> </field> <field> <fielddescr>ACL whitelist</fielddescr> <fieldname>acl_whitelist</fieldname> <description> Example (allow specific access): localuser: remoteuser1 remoteuser2<br /> Example (allow full access): localuser: </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> <field> <fielddescr>ACL blacklist</fielddescr> <fieldname>acl_blacklist</fieldname> <description> Example (block specifc access): localuser: remoteuser1 remoteuser2<br /> Example (block all access): localuser: </description> <type>textarea</type> <encoding>base64</encoding> <rows>5</rows> <cols>40</cols> </field> </fields> <custom_php_validation_command> validate_form_imspector($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_imspector(); </custom_php_resync_config_command> <custom_php_deinstall_command> deinstall_package_imspector(); </custom_php_deinstall_command> <filter_rules_needed>imspector_generate_rules</filter_rules_needed> </packagegui>