From a21e09c9215a40d3de738ba7f3fa87209eb949e8 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Fri, 27 Nov 2015 23:06:49 +0100 Subject: Fix input validations, improve descriptions --- config/squid3/34/squid.xml | 74 ++++++++++++++++++++++++++-------------------- 1 file changed, 42 insertions(+), 32 deletions(-) (limited to 'config') diff --git a/config/squid3/34/squid.xml b/config/squid3/34/squid.xml index 28326d7f..903ae694 100644 --- a/config/squid3/34/squid.xml +++ b/config/squid3/34/squid.xml @@ -42,7 +42,7 @@ ]]> squid - 0.4.0 + 0.4.5 Proxy Server: General Settings /usr/local/pkg/squid.inc @@ -254,7 +254,7 @@ - Note: If unchecked, all Squid services will be disabled and stopped.
+ Note: If unchecked, ALL Squid services will be disabled and stopped. ]]>
checkbox @@ -277,21 +277,24 @@ - Note: Use CTRL + click to select multiple interfaces. + Note: Use CTRL + click to select multiple interfaces. ]]> interfaces_selection - lan Proxy Port proxy_port - This is the port the proxy server will listen on. + + + (Default: 3128) + ]]> + input 5 - 3128 @@ -386,11 +389,10 @@ - Note: Use CTRL + click to select multiple interfaces. + Note: Use CTRL + click to select multiple interfaces. ]]> interfaces_selection - lan @@ -410,7 +412,7 @@ source IPs, CIDR nets, hostnames, or aliases through the proxy server but let it pass directly through the firewall. - (Applies only to transparent mode.)

+ (Applies only to transparent mode.)
Note: Separate entries by semi-colons (;) ]]>
@@ -422,8 +424,8 @@ defined_ip_proxy_off_dest destination IPs, CIDR nets, hostnames, or aliases, but let it pass directly through the firewall.
- (Applies only to transparent mode.)

+ Do not proxy traffic going to these destination IPs, CIDR nets, hostnames, or aliases, but let it pass directly through the firewall. + (Applies only to transparent mode.)
Note: Separate entries by semi-colons (;) ]]>
@@ -435,7 +437,7 @@ listtopic - HTTPS/SSL interception + HTTPS/SSL Interception ssl_proxy Enable SSL filtering. checkbox @@ -447,18 +449,22 @@ - Note: Use CTRL + click to select multiple interfaces. + Note: Use CTRL + click to select multiple interfaces. ]]> interfaces_selection - lan SSL Proxy port ssl_proxy_port - This is the port the proxy server will listen on to intercept SSL while using transparent proxy. + + + (Default: 3129) + ]]> + input 5 3129 @@ -514,7 +520,7 @@ - Hint: Set the subject CN - see fake certificate properties documentation for details. + Hint: Set the subject CN - see fake certificate properties documentation for details. ]]> select @@ -564,6 +570,25 @@ input 5 + + Log Pages Denied by SquidGuard + log_sqd + + + Note: This option will only work if you include the code below in your sgerror.php file.
+ This forces the client browser to send a second request to Squid with the denied string in URL.

+ $sge_prefix = (preg_match("/\?/", $cl['u']) ? "&" : "?");
+ $str[] = '< iframe > src="'. $cl['u'] . $sge_prefix . 'sgr=ACCESSDENIED" width="1" height="1" > < /iframe >';

+ Hint: You MUST remove extra spaces in the above iframe HTML tags. + ]]> +
+ checkbox +
+ + Headers Handling, Language and Other Customizations + listtopic + Visible Hostname visible_hostname @@ -662,21 +687,6 @@ If not set, Squid will include a Via header in requests and replies as required by RFC2616. checkbox - - Log Pages Denied by SquidGuard - log_sqd - - - Note: This option will only work if you include the code below in your sgerror.php file.
- This forces the client browser to send a second request to Squid with the denied string in URL.

- $sge_prefix = (preg_match("/\?/", $cl['u']) ? "&" : "?");
- $str[] = '< iframe > src="'. $cl['u'] . $sge_prefix . 'sgr=ACCESSDENIED" width="1" height="1" > < /iframe >';

- Hint: You MUST remove extra spaces in the above iframe HTML tags. - ]]> -
- checkbox -
URI Whitespace Characters Handling uri_whitespace @@ -710,7 +720,7 @@ custom_options textarea -- cgit v1.2.3