<?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$ */ /* ========================================================================== */ /* zebedee.xml part of the Zebedee package for pfSense Copyright (C) 2010 Erik Fonnesbeck Copyright (C) 2011 Marcello Coutinho Copyright (C) 2011 Jorge Lustosa 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>zebedee</name> <version>0.1</version> <title>Zebedee Tunneling</title> <include_file>/usr/local/pkg/zebedee.inc</include_file> <menu> <name>Zebedee</name> <tooltiptext>Configure Zebedee</tooltiptext> <section>Services</section> <url>pkg_edit.php?xml=zebedee.xml&id=0</url> </menu> <service> <name>zebedee</name> <rcfile>zebedee.sh</rcfile> <executable>zebedee</executable> <description>Tunneling Service</description> </service> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee.inc</item> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_tunnels.xml</item> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_key_details.xml</item> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_sync.xml</item> <prefix>/usr/local/pkg/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_del_key.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_get_key.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_keys.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_log.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee_view_config.php</item> <prefix>/usr/local/www/</prefix> <chmod>0755</chmod> </additional_files_needed> <additional_files_needed> <item>https://packages.pfsense.org/packages/config/zebedee/zebedee.sh</item> <prefix>/usr/local/etc/rc.d/</prefix> <chmod>0755</chmod> </additional_files_needed> <tabs> <tab> <text>Settings</text> <url>/pkg_edit.php?xml=zebedee.xml&id=0</url> <active/> </tab> <tab> <text>Tunnels</text> <url>/pkg_edit.php?xml=zebedee_tunnels.xml&id=0</url> </tab> <tab> <text>Keys</text> <url>/zebedee_keys.php</url> </tab> <tab> <text>XMLRPC Sync</text> <url>/pkg_edit.php?xml=zebedee_sync.xml&id=0</url> </tab> <tab> <text>View config files</text> <url>/zebedee_view_config.php</url> </tab> <tab> <text>View log files</text> <url>/zebedee_log.php</url> </tab> </tabs> <fields> <field> <name>Zebedee General Settings</name> <type>listtopic</type> </field> <field> <fielddescr>Enable Zebedee</fielddescr> <fieldname>enable_zebedee</fieldname> <type>checkbox</type> <description></description> </field> <field> <fielddescr>Listen interface(s)</fielddescr> <fieldname>enabled_interface</fieldname> <description><![CDATA[Interface(s) that daemon will bind to.]]></description> <type>interfaces_selection</type> <required/> <default_value>WAN</default_value> </field> <field> <fielddescr>External Address</fielddescr> <fieldname>external_address</fieldname> <type>input</type> <size>60</size> <description> This specifies the external name are put in client.zbd file in field serverhost. Ex: 200.111.111.22 or zebedee.example.com </description> </field> <field> <fielddescr>Verbosity</fielddescr> <fieldname>verbosity</fieldname> <type>select</type> <options> <option><name>0</name><value>0</value></option> <option><name>1</name><value>1</value></option> <option><name>2</name><value>2</value></option> </options> <description> This is an integer specifying the level of message logging with 0 being just error messages and 5 giving excruciating detail of the message traffic. The default (and generally most useful level) is 1. </description> </field> <field> <fielddescr>Detached</fielddescr> <fieldname>detached</fieldname> <type>select</type> <options> <option><name>enabled</name><value>true</value></option> <option><name>disabled</name><value>false</value></option> </options> <description> This is a boolean indicating whether the process should detach itself from the controlling terminal and run in the background (in UNIX terms, to run as a daemon). This is valid for both client and server and is true by default. </description> </field> <field> <fielddescr>Udp Mode</fielddescr> <fieldname>udpmode</fieldname> <type>select</type> <options> <option><name>enabled</name><value>true</value></option> <option><name>disabled</name><value>false</value></option> </options> <description> By default Zebedee handles connection-oriented TCP/IP traffic. If this keyword is set true Zebedee handles UDP/IP connectionless traffic instead. </description> </field> <field> <fielddescr>Ipmode</fielddescr> <fieldname>ipmode</fieldname> <type>select</type> <options> <option><name>tcp</name><value>tcp</value></option> <option><name>udp</name><value>udp</value></option> <option><name>both</name><value>both</value></option> </options> <description> Zebedee client or server can handle both TCP and UDP traffic simultaneously. This is controlled by the ipmode keyword. It can have a value of tcp, udp or both. </description> </field> <field> <fielddescr>Keygenlevel</fielddescr> <fieldname>keygenlevel</fieldname> <type>select</type> <options> <option><name>0</name><value>0</value></option> <option><name>1</name><value>1</value></option> <option><name>2</name><value>2</value></option> </options> <description> This is an integer between 0 and 2 inclusive that determines how strong the private key generation in Zebedee should be. The default is 2 (the strongest) and you should generally not change this unless connection set-up performance becomes unacceptable. </description> </field> <field> <fielddescr>Compression</fielddescr> <fieldname>compression</fieldname> <type>select</type> <options> <option><name>zlib</name><value>zlib</value></option> <option><name>bzip2</name><value>bzip2</value></option> </options> <description> Zebedee can support both zlib and, if enabled when it is built, bzip2 compression. This keyword specifies the type and level of compression to be used </description> </field> <field> <fielddescr>Compression Level</fielddescr> <fieldname>compression_level</fieldname> <type>select</type> <options> <option><name>0</name><value>0</value></option> <option><name>1</name><value>1</value></option> <option><name>2</name><value>2</value></option> <option><name>3</name><value>3</value></option> <option><name>4</name><value>4</value></option> <option><name>5</name><value>5</value></option> <option><name>6</name><value>6</value></option> <option><name>7</name><value>7</value></option> <option><name>8</name><value>8</value></option> <option><name>9</name><value>9</value></option> </options> <description> The level specifies the maximum compression level to used (9 is the maximum and 0 is no compression). The actual compression level used will be the minimum of the client and server values. For these purposes all bzip2 levels (except 0) are considered to be greater than all zlib levels so if either client or server does not support bzip2 the protocol degrades gracefully to using zlib. </description> </field> <field> <fielddescr>Keylength</fielddescr> <fieldname>keylength</fieldname> <type>input</type> <size>5</size> <description> This is an integer specifying the maximum key length (in bits) for the Blowfish encryption. It should be a multiple of 4 between 4 and 576. The key length used will be the minimum of the client and server values </description> </field> <field> <fielddescr>Keylifetime</fielddescr> <fieldname>keylifetime</fieldname> <type>input</type> <size>5</size> <description> If the value of this parameter is non-zero it causes the client to request the re-use of a previously established shared secret key for deriving session keys for subsequent connections. This means that on the first connection between a Zebedee client and server the full key exchange dialogue will take place to establish a shared secret key. On subsequent connections, until the key expires, the same secret key will be reused to generate a new session key. Once the key expires a new key exchange will automatically be performed when necessary. </description> </field> <field> <fielddescr>Maxbufsize</fielddescr> <fieldname>maxbufsize</fieldname> <type>input</type> <size>5</size> <description> This specifies the size, in bytes, of the buffer Zebedee will use to read data from applications. The actual size of buffer used will be the minimum of the client and server values. </description> </field> </fields> <custom_php_install_command> zebedee_php_install_command(); </custom_php_install_command> <custom_php_deinstall_command> zebedee_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_validation_command> zebedee_validate_input($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> sync_package_zebedee(); </custom_php_resync_config_command> </packagegui>