diff options
Diffstat (limited to 'packages/squid-head/squid.xml')
-rw-r--r-- | packages/squid-head/squid.xml | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/packages/squid-head/squid.xml b/packages/squid-head/squid.xml index 04a06829..67f4c2aa 100644 --- a/packages/squid-head/squid.xml +++ b/packages/squid-head/squid.xml @@ -1,4 +1,5 @@ <?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> <?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> <packagegui> <copyright> @@ -44,41 +45,11 @@ <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> - <!-- 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> - <item>http://www.pfsense.org/packages/All/squid_monitor.sh</item> - <prefix>/usr/local/bin/</prefix> - <chmod>0755</chmod> - </additional_files_needed> - <custom_php_install_command> - squid_install_command(); - </custom_php_install_command> - <custom_php_deinstall_command> - squid_deinstall_command(); - </custom_php_deinstall_command> <menu> <name>Web proxy cache</name> <tooltiptext>Modify the web proxy cache's settings</tooltiptext> @@ -87,14 +58,10 @@ </menu> <service> <name>Squid</name> - <description>Web proxy cache.</description> <rcfile>squid.sh</rcfile> <executable>squid</executable> + <description>Web proxy cache.</description> </service> - - <!-- Interface --> - <name>squid</name> - <title>Proxy server: General settings</title> <tabs> <tab> <text>General settings</text> @@ -126,81 +93,108 @@ <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> - <fieldname>active_interface</fieldname> <fielddescr>Proxy interface</fielddescr> + <fieldname>active_interface</fieldname> <description>The interface(s) the proxy server will bind to.</description> - <default_value>lan</default_value> - <required/> <type>interfaces_selection</type> + <required/> + <default_value>lan</default_value> <multiple/> </field> <field> - <fieldname>allow_interface</fieldname> <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> - <default_value>on</default_value> - <required/> <type>checkbox</type> + <required/> + <default_value>on</default_value> </field> <field> - <fieldname>transparent_proxy</fieldname> <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> - <required/> <type>checkbox</type> + <required/> </field> <field> - <fieldname>log_enabled</fieldname> <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> - <enablefields>log_query_terms,log_user_agents</enablefields> <type>checkbox</type> + <enablefields>log_query_terms,log_user_agents</enablefields> </field> <field> - <fieldname>proxy_port</fieldname> <fielddescr>Proxy port</fielddescr> + <fieldname>proxy_port</fieldname> <description>This is the port the proxy server will listen on.</description> - <required/> <type>input</type> <size>5</size> + <required/> <default_value>3128</default_value> </field> <field> - <fieldname>icp_port</fieldname> <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> - <fieldname>visible_hostname</fieldname> <fielddescr>Visible hostname</fielddescr> + <fieldname>visible_hostname</fieldname> <description>This is the hostname to be displayed in proxy server error messages.</description> - <default_value>localhost</default_value> <type>input</type> + <default_value>localhost</default_value> </field> <field> - <fieldname>admin_email</fieldname> <fielddescr>Administrator email</fielddescr> + <fieldname>admin_email</fieldname> <description>This is the email address displayed in error messages to the users.</description> - <default_value>admin@localhost</default_value> <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> - <default_value>English</default_value> <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> - <default_value>5</default_value> <type>input</type> + <default_value>5</default_value> </field> </fields> <custom_php_command_before_form> @@ -212,4 +206,10 @@ <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> |