aboutsummaryrefslogtreecommitdiffstats
path: root/config/havp.xml
diff options
context:
space:
mode:
authorBill Marquette <bill.marquette@gmail.com>2009-02-06 19:18:00 -0600
committerBill Marquette <bill.marquette@gmail.com>2009-02-06 19:18:00 -0600
commit55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1 (patch)
treeba4783bab1dd65f1ceef2dfac9fdbd515531d18b /config/havp.xml
parent67780cc9d469288742aea5bc378c29a54edd5ec5 (diff)
downloadpfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.tar.gz
pfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.tar.bz2
pfsense-packages-55eddd7accf2c5f9b0f52b22a010c4c4b7c130d1.zip
mv packages to config dir to match web layout
Diffstat (limited to 'config/havp.xml')
-rw-r--r--config/havp.xml220
1 files changed, 220 insertions, 0 deletions
diff --git a/config/havp.xml b/config/havp.xml
new file mode 100644
index 00000000..0dee82e3
--- /dev/null
+++ b/config/havp.xml
@@ -0,0 +1,220 @@
+<?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>havp</name>
+ <version>0.3</version>
+ <title>Havp: Settings</title>
+ <aftersaveredirect>/pkg_edit.php?xml=havp.xml&amp;id=0</aftersaveredirect>
+ <include_file>/usr/local/pkg/havp.inc</include_file>
+ <menu>
+ <name>HAVP</name>
+ <tooltiptext>Modify HAVP settings.</tooltiptext>
+ <section>Services</section>
+ <configfile>havp.xml</configfile>
+ <url>/pkg_edit.php?xml=havp.xml&amp;id=0</url>
+ </menu>
+
+ <service>
+ <name>havp</name>
+ <rcfile>/usr/local/etc/rc.d/havp.sh</rcfile>
+ <description>HTTP Anti Virus Proxy.</description>
+ </service>
+
+ <tabs>
+ <tab>
+ <text>Settings</text>
+ <url>/pkg_edit.php?xml=havp.xml&amp;id=0</url>
+ <active/>
+ </tab>
+ <tab>
+ <text>Whitelist</text>
+ <url>/pkg.php?xml=havp_whitelist.xml</url>
+ </tab>
+ <tab>
+ <text>Blacklist</text>
+ <url>/pkg.php?xml=havp_blacklist.xml</url>
+ </tab>
+ <tab>
+ <text>Exclude from Transparent Proxy</text>
+ <url>/pkg.php?xml=havp_trans_exclude.xml</url>
+ </tab>
+ </tabs>
+ <configpath>['installedpackages']['havp]['config']</configpath>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp.inc</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp_whitelist.xml</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp_blacklist.xml</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp_startup.inc</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp_trans_exclude.xml</item>
+ </additional_files_needed>
+ <additional_files_needed>
+ <prefix>/usr/local/pkg/</prefix>
+ <chmod>0755</chmod>
+ <item>http://agni.linuxense.com/packages/config/havp.sh</item>
+ </additional_files_needed>
+
+ <fields>
+ <field>
+ <fielddescr>Server Number</fielddescr>
+ <fieldname>servernumber</fieldname>
+ <description>Specify how many servers (child processes) are simultaneously listening on port PORT for a connection. Minimum value should be the peak requests-per-second expected + 5 for headroom.</description>
+ <type>input</type>
+ <default_value>10</default_value>
+ </field>
+ <field>
+ <fielddescr>Max Server Number</fielddescr>
+ <fieldname>maxservers</fieldname>
+ <description>This is the hard limit for concurrent requests processed.</description>
+ <type>input</type>
+ <default_value>100</default_value>
+ </field>
+ <field>
+ <fielddescr>Transparent?</fielddescr>
+ <fieldname>transparent</fieldname>
+ <description>Run HAVP as transparent Proxy? [Bind Address will be disregarded in this mode, HAVP will listen on localhost] </description>
+ <type>checkbox</type>
+ </field>
+ <field>
+ <fielddescr>Port</fielddescr>
+ <fieldname>port</fieldname>
+ <description>Port HAVP is listening on.</description>
+ <type>input</type>
+ <default_value>8080</default_value>
+ </field>
+ <field>
+ <fielddescr>Bind Address</fielddescr>
+ <fieldname>bind_address</fieldname>
+ <description>IP address that HAVP listens on. Leave it empty to bind all addresses, defaults to LAN address</description>
+ <type>interfaces_selection</type>
+ <default_value>lan</default_value>
+ </field>
+ <field>
+ <fielddescr>Source Address</fielddescr>
+ <fieldname>source_address</fieldname>
+ <description>IP address used for sending outbound packets. Let it be undefined if you want OS to handle right address.</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Range Requests</fielddescr>
+ <fieldname>range</fieldname>
+ <description> Allow HTTP Range Requests?</description>
+ <type>checkbox</type>
+ <default_value>on</default_value>
+ </field>
+ <field>
+ <fielddescr>Log All Requests?</fielddescr>
+ <fieldname>log_oks</fieldname>
+ <description>Log Details: true: Log all Requests, false: log only virus hits</description>
+ <type>checkbox</type>
+ <default_value>on</default_value>
+ </field>
+ <field>
+ <fielddescr>Virus Database Reload Time.</fielddescr>
+ <fieldname>dbreload</fieldname>
+ <description>Specify here the number of minutes to wait for reloading. Default 60 Minutes.</description>
+ <type>input</type>
+ <default_value>60</default_value>
+ </field>
+ <field>
+ <fielddescr>Parent Proxy Host</fielddescr>
+ <fieldname>parentproxy</fieldname>
+ <description>Specify the parent proxy hostname or ip</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Parent Proxy Port</fielddescr>
+ <fieldname>parentport</fieldname>
+ <description>Specify the parent proxy port</description>
+ <type>input</type>
+ </field>
+ <field>
+ <fielddescr>Max size of temporary files on disk</fielddescr>
+ <fieldname>maxscansize</fieldname>
+ <description>Temporary file will grow only up to this size. This means scanner will scan data until this limit is reached. The value is in BYTES, not kb or mb. 0 is Unlimited.</description>
+ <type>input</type>
+ <default_value>0</default_value>
+ </field>
+ <field>
+ <fielddescr>Trickling Time</fielddescr>
+ <fieldname>trickling</fieldname>
+ <description>After Trickling Time (seconds), some bytes are sent to browser to keep the connection alive. Trickling is not needed if timeouts are not expected. Default is 5 seconds. </description>
+ <type>input</type>
+ <default_value>5</default_value>
+ </field>
+ <field>
+ <fielddescr>Absolute Maximum Download Size</fielddescr>
+ <fieldname>maxdownloadsize</fieldname>
+ <description>Downloads larger than this will be blocked, Unless whitelisted. 0 is unlimited.</description>
+ <type>input</type>
+ <default_value>0</default_value>
+ </field>
+ </fields>
+
+ <custom_php_resync_config_command> sync_package_havp(); </custom_php_resync_config_command>
+ <custom_php_install_command> havp_install_command(); </custom_php_install_command>
+ <custom_php_deinstall_command> havp_deinstall_command(); </custom_php_deinstall_command>
+
+</packagegui>
+