<?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>squid</name> <version>none</version> <title>Proxy server: General settings</title> <include_file>squid.inc</include_file> <menu> <name>Web proxy cache</name> <tooltiptext>Modify the web proxy cache's settings</tooltiptext> <section>Services</section> <url>/pkg_edit.php?xml=squid.xml&id=0</url> </menu> <service> <name>Squid</name> <rcfile>squid.sh</rcfile> <executable>squid</executable> <description>Web proxy cache.</description> </service> <tabs> <tab> <text>General settings</text> <url>/pkg_edit.php?xml=squid.xml&id=0</url> <active/> </tab> <tab> <text>Upstream proxy</text> <url>/pkg_edit.php?xml=squid_upstream.xml&id=0</url> </tab> <tab> <text>Cache management</text> <url>/pkg_edit.php?xml=squid_cache.xml&id=0</url> </tab> <tab> <text>Access control</text> <url>/pkg_edit.php?xml=squid_nac.xml&id=0</url> </tab> <tab> <text>Traffic management</text> <url>/pkg_edit.php?xml=squid_traffic.xml&id=0</url> </tab> <tab> <text>Auth settings</text> <url>/pkg_edit.php?xml=squid_auth.xml&id=0</url> </tab> <tab> <text>Local users</text> <url>/pkg.php?xml=squid_users.xml</url> </tab> </tabs> <!-- Installation --> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid.inc</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_cache.xml</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_nac.xml</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_traffic.xml</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_upstream.xml</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_auth.xml</item> </additional_files_needed> <additional_files_needed> <item>http://www.pfsense.org/packages/config/squid_users.xml</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>0755</chmod> <item>http://www.pfsense.org/packages/All/squid_monitor.sh</item> </additional_files_needed> <fields> <field> <fielddescr>Proxy interface</fielddescr> <fieldname>active_interface</fieldname> <description>The interface(s) the proxy server will bind to.</description> <type>interfaces_selection</type> <required/> <default_value>lan</default_value> <multiple/> </field> <field> <fielddescr>Allow users on interface</fielddescr> <fieldname>allow_interface</fieldname> <description>If this field is checked, the users connected to the interface selected in the 'Proxy interface' field will be allowed to use the proxy, i.e., there will be no need to add the interface's subnet to the list of allowed subnets. This is just a shortcut.</description> <type>checkbox</type> <required/> <default_value>on</default_value> </field> <field> <fielddescr>Transparent proxy</fielddescr> <fieldname>transparent_proxy</fieldname> <description>If transparent mode is enabled, all requests for destination port 80 will be forwarded to the proxy server without any additional configuration necessary.</description> <type>checkbox</type> <required/> </field> <field> <fielddescr>Enabled logging</fielddescr> <fieldname>log_enabled</fieldname> <description>This will enable the access log. Don't switch this on if you don't have much disk space left.</description> <type>checkbox</type> <enablefields>log_query_terms,log_user_agents</enablefields> </field> <field> <fielddescr>Proxy port</fielddescr> <fieldname>proxy_port</fieldname> <description>This is the port the proxy server will listen on.</description> <type>input</type> <size>5</size> <required/> <default_value>3128</default_value> </field> <field> <fielddescr>ICP port</fielddescr> <fieldname>icp_port</fieldname> <description>This is the port the proxy server will send and receive ICP queries to and from neighbor caches. Leave this blank if you don't want the proxy server to communicate with neighbor caches through ICP.</description> <type>input</type> <size>5</size> </field> <field> <fielddescr>Visible hostname</fielddescr> <fieldname>visible_hostname</fieldname> <description>This is the hostname to be displayed in proxy server error messages.</description> <type>input</type> <default_value>localhost</default_value> </field> <field> <fielddescr>Administrator email</fielddescr> <fieldname>admin_email</fieldname> <description>This is the email address displayed in error messages to the users.</description> <type>input</type> <default_value>admin@localhost</default_value> </field> <field> <fielddescr>Language</fielddescr> <fieldname>error_language</fieldname> <description>Select the language in which the proxy server will display error messages to users.</description> <type>select</type> <default_value>English</default_value> </field> <field> <fielddescr>Redirect children</fielddescr> <fieldname>redirect_children</fieldname> <description>Specify the number of redirectors to spawn (if using redirectors at all) when launching Squid. If you leave this field blank, Squid will start 5 redirector processes. If your network load is high, feel free to increase this value (at the expense of a higher memory consumption).</description> <type>input</type> <default_value>5</default_value> </field> </fields> <custom_php_command_before_form> squid_before_form_general(&$pkg); </custom_php_command_before_form> <custom_php_validation_command> squid_validate_general($_POST, &$input_errors); </custom_php_validation_command> <custom_php_resync_config_command> squid_resync(); </custom_php_resync_config_command> <custom_php_install_command> squid_install_command(); </custom_php_install_command> <custom_php_deinstall_command> squid_deinstall_command(); </custom_php_deinstall_command> </packagegui>