From 0d3a0b452e443135c82f9958cb557326566d2953 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 25 Sep 2015 11:36:00 +0200 Subject: squid3 - code style fixes --- config/squid3/34/squid_reverse_general.xml | 227 ++++++++++++++++++----------- 1 file changed, 142 insertions(+), 85 deletions(-) (limited to 'config') diff --git a/config/squid3/34/squid_reverse_general.xml b/config/squid3/34/squid_reverse_general.xml index 3317ae18..0338a817 100755 --- a/config/squid3/34/squid_reverse_general.xml +++ b/config/squid3/34/squid_reverse_general.xml @@ -2,56 +2,52 @@ - - +. - All rights reserved. - */ -/* ========================================================================== */ + squid_reverse_general.xml + part of pfSense (https://www.pfSense.org/) + Copyright (C) 2012-2014 Marcello Coutinho + Copyright (C) 2015 ESF, LLC + All rights reserved. +*/ +/* ====================================================================================== */ /* - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions are met: + 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. - 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. - 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. - */ -/* ========================================================================== */ - ]]> - - Describe your package here - Describe your package requirements here - Currently there are no FAQ items provided. + 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. +*/ +/* ====================================================================================== */ + ]]> + squidreversegeneral - none - Reverse Proxy server: General + 0.3.5 + Reverse Proxy Server: General /usr/local/pkg/squid.inc - - General + + General /pkg_edit.php?xml=squid_reverse_general.xml&id=0 @@ -68,7 +64,7 @@ /pkg.php?xml=squid_reverse_redir.xml - Real time + Real Time /squid_monitor.php?menu=reverse @@ -78,37 +74,47 @@ - Squid Reverse proxy General Settings + Squid Reverse Proxy General Settings listtopic - Reverse Proxy interface + Reverse Proxy Interface reverse_interface - The interface(s) the reverse-proxy server will bind to. + + + Use CTRL + click to select multiple interfaces. + ]]> + interfaces_selection wan - User-defined reverse-proxy IPs + User Defined Reverse Proxy IPs reverse_ip - Squid will additionally bind to this user-defined IPs for reverse-proxy operation. Useful for virtual IPs such as CARP. Separate by semi-colons (;). + + + Note: Separate entries by semi-colons (;) + ]]> + input 70 - external FQDN + External FQDN reverse_external_fqdn - The external full-qualified-domain-name of the WAN address. + The external fully qualified domain name of the WAN IP address. input 70 - Reset TCP connections if request is unauthorized + Reset TCP Connections on Unauthorized Requests deny_info_tcp_reset - If this field is checked, the reverse-proxy will reset the TCP connection if the request is unauthorized. + If checked, the reverse proxy will reset the TCP connection if the request is unauthorized. checkbox on @@ -117,26 +123,41 @@ listtopic - Enable HTTP reverse mode + Enable HTTP Reverse Mode reverse_http - If this field is checked, the proxy-server will act in HTTP reverse mode. <br>(You have to add a rule with destination "WAN-address") + + + Note: You must add a proper firewall rule with destination 'WAN Address'. + ]]> + checkbox reverse_http_port,reverse_http_defsite off - reverse HTTP port + Reverse HTTP Port reverse_http_port - This is the port the HTTP reverse-proxy will listen on. (leave empty to use 80) + + + Default: 80 + ]]> + input 5 80 - reverse HTTP default site + Reverse HTTP Default Site reverse_http_defsite - This is the HTTP reverse default site. (leave empty to use the external fqdn) + + + Note: Leave empty to use 'External FQDN' value specified above. + ]]> + input 60 @@ -145,103 +166,139 @@ listtopic - Enable HTTPS reverse proxy + Enable HTTPS Reverse Proxy reverse_https - If this field is checked, the proxy-server will act in HTTPS reverse mode. <br>(You have to add a rule with destination "WAN-address") + + + Note: You must add a proper firewall rule with destination 'WAN Address'. + ]]> + checkbox reverse_https_port,reverse_https_defsite,reverse_ssl_cert,reverse_int_ca,reverse_ignore_ssl_valid,reverse_owa,reverse_owa_ip,reverse_owa_webservice,reverse_owa_activesync,reverse_owa_rpchttp,reverse_owa_mapihttp,reverse_owa_autodiscover,reverse_ssl_chain off - reverse HTTPS port + Reverse HTTPS Port reverse_https_port - This is the port the HTTPS reverse-proxy will listen on. (leave empty to use 443) + + + Default: 443 + ]]> + input 5 443 - reverse HTTPS default site + Reverse HTTPS Default Site reverse_https_defsite - This is the HTTPS reverse default site. (leave empty to use the external fqdn) + + + Note: Leave empty to use 'External FQDN' value specified above. + ]]> + input 60 - reverse SSL certificate + Reverse SSL Certificate reverse_ssl_cert Choose the SSL Server Certificate here. - select_source - + select_source + $config['cert'] descr refid - intermediate CA certificate (if needed) + Intermediate CA Certificate (If Needed) reverse_int_ca - Paste a signed certificate in X.509 PEM format here. + + PEM format here. + ]]> + textarea - 50 + 75 5 base64 - Ignore internal Certificate validation + Ignore Internal Certificate Validation reverse_ignore_ssl_valid - If this field is checked, internal certificate validation will be ignored. - checkbox + If checked, internal certificate validation will be ignored. + checkbox on - OWA Reverse proxy General Settings + OWA Reverse Proxy General Settings listtopic - Enable OWA reverse proxy + Enable OWA Reverse Proxy reverse_owa - If this field is checked, squid will act as an accelerator/ SSL offloader for Outlook Web App. + If checked, Squid will act as an accelerator/SSL offloader for Outlook Web App. checkbox reverse_owa_ip,reverse_owa_activesync,reverse_owa_rpchttp,reverse_owa_mapihttp,reverse_owa_webservice,reverse_owa_autodiscover - CAS-Array / OWA frontend IP address + CAS-Array / OWA Frontend IP Address reverse_owa_ip - These are the internal IPs of the CAS-Array (OWA frontend servers). Separate by semi-colons (;). + + + Note: Separate entries by semi-colons (;) + ]]> + input 70 Enable ActiveSync reverse_owa_activesync - If this field is checked, ActiveSync will be enabled. + If checked, ActiveSync will be enabled. checkbox Enable Outlook Anywhere reverse_owa_rpchttp - If this field is checked, RPC over HTTP will be enabled. + If checked, RPC over HTTP will be enabled. checkbox Enable MAPI HTTP reverse_owa_mapihttp - - This feature is only available with at least Exchange 2013 SP1]]> + + + This feature is only available with at least Microsoft Exchange 2013 SP1 + ]]> + checkbox Enable Exchange WebServices reverse_owa_webservice - - There are potential DoS side effects to its use, please avoid unless you must.]]> + + + There are potential DoS side effects to its use. Please avoid unless really required. + ]]> + checkbox Enable AutoDiscover reverse_owa_autodiscover - - You also should set up the autodiscover DNS-record to point to you WAN-IP.]]> + + + You also should set up the autodiscover DNS record to point to you WAN IP. + ]]> + checkbox -- cgit v1.2.3