forked from pool/squid
c3f10526dc
update to 3.4.9, fix for bnc#891268 (CVE-2014-7141, CVE-2014-7142) OBS-URL: https://build.opensuse.org/request/show/263262 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=61
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
Index: src/cf.data.pre
|
|
===================================================================
|
|
--- src/cf.data.pre.orig
|
|
+++ src/cf.data.pre
|
|
@@ -1361,6 +1361,8 @@ http_access deny manager
|
|
# Adapt localnet in the ACL section to list your (internal) IP networks
|
|
# from where browsing should be allowed
|
|
http_access allow localnet
|
|
+
|
|
+# Allow localhost always proxy functionality
|
|
http_access allow localhost
|
|
|
|
# And finally deny all other access to this proxy
|
|
@@ -3414,6 +3416,10 @@ DOC_START
|
|
Instead, if you want Squid to use the entire disk drive,
|
|
subtract 20% and use that value.
|
|
|
|
+ Note on 'Mbytes': You need to consider the available RAM on the
|
|
+ machine versus the approx. 10MB RAM per 1GB of files which the
|
|
+ cache_dir index will consume.
|
|
+
|
|
'L1' is the number of first-level subdirectories which
|
|
will be created under the 'Directory'. The default is 16.
|
|
|
|
@@ -3547,7 +3553,7 @@ DOC_START
|
|
NOCOMMENT_START
|
|
|
|
# Uncomment and adjust the following to add a disk cache directory.
|
|
-#cache_dir ufs @DEFAULT_SWAP_DIR@ 100 16 256
|
|
+#cache_dir aufs @DEFAULT_SWAP_DIR@ 100 16 256
|
|
NOCOMMENT_END
|
|
DOC_END
|
|
|
|
@@ -4178,7 +4184,7 @@ DOC_END
|
|
|
|
NAME: logfile_rotate
|
|
TYPE: int
|
|
-DEFAULT: 10
|
|
+DEFAULT: 0
|
|
LOC: Config.Log.rotateNumber
|
|
DOC_START
|
|
Specifies the number of logfile rotations to make when you
|