Search squid archive

Re:Squid 3.2 snapshot ... vanishing processes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, managed to strip out all the comment and most blank lines in the config. This is still happening help!!

Here's the config file

auth_param basic program /usr/local/squid/libexec/basic_pam_auth -o
auth_param basic children 10
auth_param basic realm wwwcache3-east Note: Your UserName must be of the form userid@xxxxxxxxxx
auth_param basic credentialsttl 2 hours

acl localnet src 10.0.0.0/8	# RFC1918 possible internal network
acl localnet src 172.16.0.0/12	# RFC1918 possible internal network
acl localnet src 192.168.0.0/16	# RFC1918 possible internal network
acl localnet src fc00::/7       # RFC 4193 local private network range
acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
acl WindowsUpdate  dstdomain -i "/usr/local/squid/etc/windowsupdate.txt"
acl BlockedUrls  url_regex -i "/usr/local/squid/etc/blockedurls"
acl McAfee  dstdomain -i "/usr/local/squid/etc/McAfee.txt"
acl Norton360  dstdomain -i "/usr/local/squid/etc/Norton360.txt"
acl to_localdomain dstdomain hull.ac.uk
acl to_newcomms dstdomain newcomms.hull.ac.uk
acl must-route-directly dstdomain "/usr/local/squid/etc/direct.acl"
acl CONNECT method CONNECT
acl wuCONNECT dstdomain www.update.microsoft.com
acl wuCONNECT dstdomain sls.microsoft.com
acl from_localhost src 127.0.0.1/32
acl to_hullnet dst 150.237.0.0/16
acl DOPOSTS method POST
acl trustedhosts src 150.237.128.0/24
acl snmppublic snmp_community HullPublic
acl zenoss src 150.237.128.173/32
acl mustauth proxy_auth REQUIRED
acl to_wwwcache1-east dstdomain wwwcache1-east.hull.ac.uk
acl to_wwwcache2-east dstdomain wwwcache2-east.hull.ac.uk
acl to_wwwcache3-east dstdomain wwwcache3-east.hull.ac.uk
acl to_wwwcache4-east dstdomain wwwcache4-east.hull.ac.uk
acl to_wwwcache1-west dstdomain wwwcache1-west.hull.ac.uk
acl to_wwwcache2-west dstdomain wwwcache2-west.hull.ac.uk
acl to_wwwcache3-west dstdomain wwwcache3-west.hull.ac.uk
acl from_wwwcache1-east srcdomain wwwcache1-east.hull.ac.uk
acl from_wwwcache2-east srcdomain wwwcache2-east.hull.ac.uk
acl from_wwwcache3-east srcdomain wwwcache3-east.hull.ac.uk
acl from_wwwcache4-east srcdomain wwwcache4-east.hull.ac.uk
acl from_wwwcache1-west srcdomain wwwcache1-west.hull.ac.uk
acl from_wwwcache2-west srcdomain wwwcache2-west.hull.ac.uk
acl from_wwwcache3-west srcdomain wwwcache3-west.hull.ac.uk
acl to_slbrealsrv1 dstdomain slb-realsrv1.hull.ac.uk
acl to_slbrealsrv2 dstdomain slb-realsrv2.hull.ac.uk
acl to_slbrealsrv3 dstdomain slb-realsrv3.hull.ac.uk
acl to_slbrealsrv4 dstdomain slb-realsrv4.hull.ac.uk
acl to_slbrealsrv5 dstdomain slb-realsrv5.hull.ac.uk
acl to_slbrealsrv6 dstdomain slb-realsrv6.hull.ac.uk
acl alex-osx src 150.237.74.2/32
acl hullnet-banned src 150.237.11.0/24
acl hullnet-banned src 150.237.27.0/24
acl hullnet-banned src 150.237.29.0/24
acl hullnet-banned src 150.237.60.0/22
acl hullnet-banned src 150.237.139.0/24
acl hullnet-banned src 150.237.157.0/24
acl hullnet-banned src 150.237.161.0/24
acl hullnet-banned src 150.237.162.0/24
acl hullnet-banned src 150.237.163.0/24
acl hullnet-banned src 150.237.165.0/24
acl hullnet-banned src 150.237.166.0/24
acl hullnet-banned src 150.237.179.0/24
acl hullnet-banned src 150.237.184.0/22
acl hullnet-banned src 150.237.188.0/24
acl hullnet-banned src 150.237.189.0/24
acl hullnet-banned src 150.237.190.0/24
acl hullnet-banned src 150.237.207.0/25
acl hullnet-banned src 150.237.227.0/24
acl hullnet-banned src 150.237.72.0/26
acl hullnet-banned src 150.237.73.0/26
acl hullnet-banned src 150.237.226.128/25
acl hullnet-banned src 150.237.192.0/23
acl hullnet-banned src 150.237.167.0/24
acl hullnet-banned src 150.237.73.64/26
acl hullnet-banned src 150.237.73.128/26

acl from-maletl src 195.195.161.0/25
acl iplayer url_regex iplayer.bbc.co.uk
acl worktime time MTWHF 08:00-17:00
acl PEERS srcdomain wwwcache2-east.hull.ac.uk wwwcache1- east.hull.ac.uk wwwcache4-east.hull.ac.uk acl PEERS srcdomain wwwcache1-west.hull.ac.uk wwwcache2- west.hull.ac.uk wwwcache3-west.hull.ac.uk
acl PEERS srcdomain slb-realsrv1-east.hull.ac.uk
acl localnet src 150.237.0.0/16 #
acl SSL_ports port 443
acl SSL_ports port 444
acl SSL_ports port 563
acl SSL_ports port 8000
acl SSL_ports port 8443
acl SSL_ports port 2083
acl SSL_ports port 2087
acl SSL_ports port 2096
acl SSL_ports port 4643
acl SSL_ports port 9040
acl SSL_ports port 1863
acl SSL_ports port 44443
acl SSL_ports port 1011
acl SSL_ports port 8030
acl SSL_ports port 8091
acl SSL_ports port 8010
acl SSL_ports port 2050
acl SSL_ports port 4443

acl SSL_ports port 443
acl Safe_ports port 80		# http
acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
acl Safe_ports port 70		# gopher
acl Safe_ports port 210		# wais
acl Safe_ports port 1025-65535	# unregistered ports
acl Safe_ports port 280		# http-mgmt
acl Safe_ports port 488		# gss-http
acl Safe_ports port 591		# filemaker
acl Safe_ports port 777		# multiling http
acl Safe_ports port 443 563     # https, snews
acl Safe_ports port 444         # snpp
acl Safe_ports port 70          # gopher
acl Safe_ports port 210         # wais
acl Safe_ports port 280         # http-mgmt
acl Safe_ports port 488         # gss-http
acl Safe_ports port 591         # filemaker
acl Safe_ports port 777         # multiling http
acl Safe_ports port 1011        # for www.uvt.nl/mail/student
acl Safe_ports port 104         # for courseinfo.grimsby.ac.uk
acl Safe_ports port 77          # for www.kacst.edu.s
acl Safe_ports port 90        #


acl CONNECT method CONNECT
acl store_rewrite_list dstdomain mt.google.com mt0.google.com mt1.google.com mt2.google.com
acl store_rewrite_list dstdomain mt3.google.com
acl store_rewrite_list dstdomain kh.google.com kh0.google.com kh1.google.com kh2.google.com
acl store_rewrite_list dstdomain kh3.google.com
acl store_rewrite_list dstdomain kh.google.com.au kh0.google.com.au kh1.google.com.au
acl store_rewrite_list dstdomain kh2.google.com.au kh3.google.com.au
acl store_rewrite_list dstdomain .youtube.com
acl youtube dstdomain .youtube.com .googlevideo.com .video.google.com .video.google.com.au
acl youtubeip dst 74.125.15.0/24
acl youtubeip dst 64.15.0.0/16
cache allow youtube
cache allow youtubeip
cache allow all

http_access allow CONNECT wuCONNECT localnet
http_access allow WindowsUpdate localnet
http_access allow McAfee
http_access allow Norton360
http_access allow manager localhost
http_access deny manager
http_access deny BlockedUrls
http_access allow to_newcomms
http_access allow to_wwwcache1-east
http_access allow to_wwwcache2-east
http_access allow to_wwwcache3-east
http_access allow to_wwwcache4-east
http_access allow to_wwwcache1-west
http_access allow to_wwwcache2-west
http_access allow to_wwwcache3-west
http_access allow from_wwwcache1-east
http_access allow from_wwwcache2-east
http_access allow from_wwwcache3-east
http_access allow from_wwwcache4-east
http_access allow from_wwwcache1-west
http_access allow from_wwwcache2-west
http_access allow from_wwwcache3-west
http_access allow to_slbrealsrv1
http_access allow to_slbrealsrv2
http_access allow to_slbrealsrv3
http_access allow to_slbrealsrv4
http_access allow to_slbrealsrv5
http_access allow to_slbrealsrv6
http_access deny to_localdomain

http_access allow localhost manager
http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

http_access deny hullnet-banned
http_access allow from-maletl
http_access allow localnet
http_access allow mustauth
http_access deny all

icp_access  allow  PEERS
icp_access deny all

htcp_access  allow  PEERS
htcp_access deny all

http_port 150.237.85.247:3128
http_port 150.237.85.247:8080
http_port 150.237.84.13:3128
http_port 150.237.84.13:8080
http_port 150.237.84.5:3128

memory_replacement_policy heap GDSF

cache_replacement_policy heap GDSF

workers 8

cache_dir aufs /cache1/${process_number} 3965 64 256
cache_dir aufs /cache2/${process_number} 3965 64 256
cache_dir aufs /cache3/${process_number} 3965 64 256
cache_dir aufs /cache4/${process_number} 3965 64 256

minimum_object_size 0 KB

maximum_object_size 20 MB

logformat hcommon <squid_rec source_ip="%>a" client_ip="%{Client- IP}>h" cache="%la" time="%ts.%tu" real_cache="150.237.85.247"><source_ip>%>a</source_ip><client_ip>% {Client-IP}>h</client_ip><user_login>%ul</user_login><user_ident>%ui</ user_ident><user_name>%un</user_name><date_time>%tl</ date_time><request_method>%rm</request_method><url>%ru</ url><protocol>HTTP/%rv</protocol><status_code>%>Hs</ status_code><reply_size>%<st</reply_size><request_status>%Ss:%Sh</ request_status><response_time>%tr</response_time></squid_rec>

logformat hsyslog %tg,%ts.%tu,%>a,%la,150.237.85.247,%ul,%rm,HTTP/%rv, %>Hs,%<st,%tr,%ru,%Ss:%Sh

access_log daemon:/logs/access.log hcommon

cache_log /logs/cache.log

coredump_dir /usr/local/squid/var/cache/squid

ftp_user wwwcache3-east@xxxxxxxxxx

url_rewrite_program /usr/local/squid/libexec/helper-mux.pl /usr/local/ squid/bin/rewrite_youtube.pl

url_rewrite_children 20 startup=5 idle=2 concurrency=20

url_rewrite_bypass off

refresh_pattern ^ftp:		1440	20%	10080
refresh_pattern ^gopher:	1440	0%	1440
refresh_pattern ^http://sjl-v[0-9]+\.sjl\.youtube\.com 10080 90% 262800 ignore-no-cache override-expire ignore-private refresh_pattern -i \.flv$ 10080 90% 262800 ignore-no-cache override- expire ignore-private

refresh_pattern get_video\?video_id 10080 90% 262800 ignore-no-cache override-expire ignore-private refresh_pattern youtube\.com/get_video\? 10080 90% 262800 ignore-no- cache override-expire ignore-private

refresh_pattern -i (/cgi-bin/|\?) 0	0%	0
refresh_pattern .		0	20%	4320

cache_effective_user squid

visible_hostname slb-webcache-east.hull.ac.uk

unique_hostname wwwcache3-east.hull.ac.uk

htcp_port 0

error_directory /usr/local/squid/etc/errors/en-uk

dns_v4_fallback on

dns_v4_first on

ipcache_size 10240

fqdncache_size 10240

max_filedescriptors 49152




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux