From eb6d763db35691fc28d4214013029f4f4b5c37b6 Mon Sep 17 00:00:00 2001 From: mfuchs Date: Thu, 16 Apr 2009 16:16:18 +0200 Subject: until we do not find the error, disable pptp case for squid --- config/squid/squid.inc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/config/squid/squid.inc b/config/squid/squid.inc index 0f94c1e5..ebbde873 100644 --- a/config/squid/squid.inc +++ b/config/squid/squid.inc @@ -1248,11 +1248,13 @@ function squid_generate_rules($type) { $rules .= "rdr on \$pppoe proto tcp from any to !(\$pppoe) port 80 -> 127.0.0.1 port 80\n"; } /* Handle PPTP case */ +/* Disable PPTP Case until error is found // if($config['pptpd']['mode'] != "off") { // is not present in config.xml after disabling "redir" if($config['pptpd']['mode'] == "server") { $rules .= "rdr on \$pptp proto tcp from any to !(\$pptp) port 80 -> 127.0.0.1 port 80\n"; - } + } +*/ $rules .= "\n"; break; case 'filter': @@ -1265,11 +1267,13 @@ function squid_generate_rules($type) { if($config['pppoe']['mode'] == "off") { $rules .= "pass in quick on \$pppoe proto tcp from any to !(\$pppoe) port $port flags S/SA keep state\n"; } +/* Disable PPTP Case until error is found // if($config['pptpd']['mode'] != "off") { // is not present in config.xml after disabling "redir" if($config['pptpd']['mode'] == "server") { $rules .= "pass in quick on \$pptp proto tcp from any to !(\$pptp) port $port flags S/SA keep state\n"; - } + } +*/ break; default: break; -- cgit v1.2.3