This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
squid3_at_treenet.co.nz
SMTP error from remote mail server after RCPT
TO:<squid3_at_treenet.co.nz>:
host mail.treenet.co.nz [58.28.153.233]: 554 5.7.1 Service
unavailable; Client host [173.242.114.152] blocked using dnsbl.ahbl.org;
NewIPNow.com/Anonymous proxy IPs used for harassment
------ This is a copy of the message, including all the headers. ------
Return-path: <thefixer_at_electroniktribulationarmy.com>
Received: from pool-71-243-203-231.lax.dsl-w.verizon.net
([71.243.203.231] helo=[192.168.5.8])
by erion.jollyworkshosting.com with esmtpsa
(SSLv3:AES256-SHA:256)
(Exim 4.69)
(envelope-from <thefixer_at_electroniktribulationarmy.com>)
id 1PcZn1-0003Gl-9u
for squid3_at_treenet.co.nz; Tue, 11 Jan 2011 16:41:15 +0800
Subject: Re: [squid-users] Squid is Not Caching Downloads, only web
content
From: fix <thefixer_at_electroniktribulationarmy.com>
To: Amos Jeffries <squid3_at_treenet.co.nz>
In-Reply-To: <4D2C1292.1040304_at_treenet.co.nz>
References: <1294732087.8513.5.camel_at_fixjack-desktop>
<4D2C1292.1040304_at_treenet.co.nz>
Content-Type: text/plain; charset="UTF-8"
Organization: Electronik Tribulation Army
Date: Tue, 11 Jan 2011 00:41:13 -0800
Message-ID: <1294735273.8513.11.camel_at_fixjack-desktop>
Mime-Version: 1.0
X-Mailer: Evolution 2.28.3
Content-Transfer-Encoding: 7bit
I am currently using Squid 2.7 that I got on Ubuntu 9.10 karmic Server,
headless.
Heres my conf. Also I suspect it may not be caching at all, because my
memory usage never goes about 150mb and I have it set to 400 max.
But it is saving stuff to my disk because I can see my drive usage is
high, but its clearly not serving downloads back to me. Im not an expert
at squid, this is just a bunch of stuff I put together from various
tutorials I found online, so if theres anything wrong please tell me,
and thank you for your courteous assistance.
Squid.conf
================================================================
visible_hostname evil.ubuntu
http_port 3128 transparent
icp_port 0
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320
dns_nameservers 127.0.0.1
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid3 5000 32 256
access_log /var/log/squid/access.log
cache_mem 400 MB
client_lifetime 300 minute
memory_pools off
half_closed_clients off
pconn_timeout 120 second
maximum_object_size 100 MB
maximum_object_size_in_memory 5 MB
log_icp_queries off
cache_mgr root_at_ubuntu
acl localhost src 127.0.0.1/32
acl manager proto cache_object
acl our_networks src 192.168.5.0/24
acl localnet src 127.0.0.1/255.255.255.255
acl all src all
acl windowsupdate dstdomain windowsupdate.microsoft.com
acl windowsupdate dstdomain .update.microsoft.com
acl windowsupdate dstdomain download.windowsupdate.com
acl windowsupdate dstdomain redir.metaservices.microsoft.com
acl windowsupdate dstdomain images.metaservices.microsoft.com
acl windowsupdate dstdomain c.microsoft.com
acl windowsupdate dstdomain www.download.windowsupdate.com
acl windowsupdate dstdomain wustat.windows.com
acl windowsupdate dstdomain crl.microsoft.com
acl windowsupdate dstdomain sls.microsoft.com
acl windowsupdate dstdomain productactivation.one.microsoft.com
acl windowsupdate dstdomain ntservicepack.microsoft.com
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 CONNECT method CONNECT
acl wuCONNECT dstdomain www.update.microsoft.com
http_access allow our_networks
http_access allow localnet
http_access allow CONNECT wuCONNECT our_networks
http_access allow windowsupdate our_networks
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost
http_access allow manager localhost
http_access deny manager
http_access deny all
On Tue, 2011-01-11 at 21:19 +1300, Amos Jeffries wrote:
> On 11/01/11 20:48, fix wrote:
> > Squid is Not Caching Downloads, only web content, how can I
configure it
> > to also cache my downloaded files?
> >
>
> There is no difference between "downloads" and "web content" in HTTP.
> Its all just objects.
>
> Most likely that you have configured a maximum object size cacheable
or
> something like that. What version of Squid and what does squid.conf
contain?
>
> Amos
Received on Tue Jan 11 2011 - 08:47:59 MST
This archive was generated by hypermail 2.2.0 : Tue Jan 11 2011 - 12:00:05 MST