From 4c831fa13616e99b6356db302e0088b95d4cb341 Mon Sep 17 00:00:00 2001 From: Marcello Coutinho Date: Wed, 5 Sep 2012 11:48:59 -0300 Subject: squid3 - include dns_v4_first options that fixes https connection errors on squid3 --- config/squid-reverse/squid.inc | 20 ++++++++++---------- config/squid-reverse/squid.xml | 8 +++++++- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 4 files changed, 19 insertions(+), 13 deletions(-) diff --git a/config/squid-reverse/squid.inc b/config/squid-reverse/squid.inc index d8b71a58..b88de284 100644 --- a/config/squid-reverse/squid.inc +++ b/config/squid-reverse/squid.inc @@ -771,7 +771,7 @@ function squid_resync_general() { $conf .= "http_port 127.0.0.1:" . $settings['proxy_port'] . " intercept\n"; } $icp_port = ($settings['icp_port'] ? $settings['icp_port'] : 7); - + $dns_v4_first= ($settings['dns_v4_first'] == "on" ? "on" : "off" ); $pidfile = "{$g['varrun_path']}/squid.pid"; $language = ($settings['error_language'] ? $settings['error_language'] : 'en'); $icondir = SQUID_CONFBASE . '/icons'; @@ -787,17 +787,17 @@ function squid_resync_general() { $logdir_access = ($settings['log_enabled'] == 'on' ? $logdir . '/access.log' : '/dev/null'); $conf .= <<checkbox - Bypass proxy for Private Address Space (RFC 1918) destination + Bypass proxy for Private Address destination private_subnet_proxy_off Do not forward traffic to Private Address Space (RFC 1918) <b>destination</b> through the proxy server but directly through the firewall. checkbox @@ -290,6 +290,12 @@ input 70 + + Resolv dns v4 first + dns_v4_first + + checkbox + Use alternate DNS-servers for the proxy-server dns_nameservers diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 7d2781c9..06104252 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -1187,7 +1187,7 @@ http://forum.pfsense.org/index.php/topic,48347.0.html http://www.squid-cache.org/ Network - 3.1.20 pkg 2.0.5_3 + 3.1.20 pkg 2.0.5_4 beta 2.0 marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 3bb1c37b..dc37d529 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -1174,7 +1174,7 @@ http://forum.pfsense.org/index.php/topic,48347.0.html http://www.squid-cache.org/ Network - 3.1.20 pkg 2.0.5_3 + 3.1.20 pkg 2.0.5_4 beta 2.0 marcellocoutinho@gmail.com fernando@netfilter.com.br seth.mos@dds.nl mfuchs77@googlemail.com jimp@pfsense.org -- cgit v1.2.3