aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid-reverse/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 23:03:51 +0200
committerMartin Fuchs <martin.fuchs@trendchiller.com>2011-09-27 23:03:51 +0200
commite1d40c40e30883031d3565d305c09b91781d15aa (patch)
tree1c2b7304d55648bcc16af85e9bbfc4ef20b584dc /config/squid-reverse/squid.inc
parent2b6a30287a6ec1c2ac1f2e59edf8afbff565f80f (diff)
downloadpfsense-packages-e1d40c40e30883031d3565d305c09b91781d15aa.tar.gz
pfsense-packages-e1d40c40e30883031d3565d305c09b91781d15aa.tar.bz2
pfsense-packages-e1d40c40e30883031d3565d305c09b91781d15aa.zip
few options beginning to work
Diffstat (limited to 'config/squid-reverse/squid.inc')
-rw-r--r--config/squid-reverse/squid.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc
index d0dad31d..cbd18b68 100644
--- a/config/squid-reverse/squid.inc
+++ b/config/squid-reverse/squid.inc
@@ -489,6 +489,7 @@ function squid_validate_traffic($post, $input_errors) {
function squid_validate_reverse($post, $input_errors) {
+// CONF
}
@@ -595,7 +596,7 @@ function squid_resync_general() {
$settings = $config['installedpackages']['squid']['config'][0];
$conf = "# This file is automatically generated by pfSense\n";
- $conf = "# Do not edit manually !\n";
+ $conf .= "# Do not edit manually !\n";
$port = ($settings['proxy_port'] ? $settings['proxy_port'] : 3128);
$ifaces = ($settings['active_interface'] ? $settings['active_interface'] : 'lan');
@@ -946,9 +947,12 @@ function squid_resync_reverse() {
return;
$settings = $config['installedpackages']['squidreverse']['config'][0];
$conf = '';
-
-
-
+
+// CONF
+ $conf .= "# Reverse Proxy settings\n";
+ if (!empty($settings['extension_methods'])) $conf .= "extension_methods {$settings['extension_methods']}\n";
+ if (!empty($settings['deny_info_tcp_reset'])) $conf .= "deny_info TCP_RESET all\n";
+
return $conf;
}