aboutsummaryrefslogtreecommitdiffstats
path: root/packages/squid3/squid.inc
diff options
context:
space:
mode:
authorMartin Fuchs <mfuchs@pfsense.org>2008-08-18 21:22:41 +0000
committerMartin Fuchs <mfuchs@pfsense.org>2008-08-18 21:22:41 +0000
commit5ada266063c5adff37a390620ac9a9a355fc4272 (patch)
tree6de39a3d010704bd8442044c88d8860878673714 /packages/squid3/squid.inc
parent1d5ead9bf5625419b12d9d415ace940eb4b0313a (diff)
downloadpfsense-packages-5ada266063c5adff37a390620ac9a9a355fc4272.tar.gz
pfsense-packages-5ada266063c5adff37a390620ac9a9a355fc4272.tar.bz2
pfsense-packages-5ada266063c5adff37a390620ac9a9a355fc4272.zip
make squid3 run
Diffstat (limited to 'packages/squid3/squid.inc')
-rw-r--r--packages/squid3/squid.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/squid3/squid.inc b/packages/squid3/squid.inc
index 330505d0..2e646240 100644
--- a/packages/squid3/squid.inc
+++ b/packages/squid3/squid.inc
@@ -4,7 +4,7 @@
squid.inc
Copyright (C) 2006 Scott Ullrich
Copyright (C) 2006 Fernando Lemos
- Copyright (C) 2008 Martin Fuchs
+ Copyright (C) 2008 Martin Fuchs
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -653,7 +653,6 @@ function squid_resync_nac() {
$conf = <<<EOD
# Setup some default acls
-acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl safeports port 21 70 80 210 280 443 488 563 591 631 777 901 $webgui_port 1025-65535
acl sslports port 443 563 $webgui_port
@@ -722,7 +721,7 @@ function squid_resync_traffic() {
$up_limit = ($settings['max_upload_size'] ? $settings['max_upload_size'] : 0);
$down_limit = ($settings['max_download_size'] ? $settings['max_download_size'] : 0);
$conf .= "request_body_max_size $up_limit KB\n";
- $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . " allow all\n";
+ $conf .= 'reply_body_max_size ' . ($down_limit * 1024) . "\n";
// Only apply throttling past 10MB
// XXX: Should this really be hardcoded?