Re: Double proxy

From: CN=Tod McFarland/OU=DA/O=Monitor <tmcfarland@dont-contact.us>
Date: Wed, 19 Feb 1997 12:14:17 -0500

hi. i've been running the setup you describe for a year now and it works well.
on the external cache, i used the stoplist to set the TTLs on all content to 0
so that it doesn't really store anything. (caching is still on.) if you look
at the logs, it will cache everything, but then release it right away.
here's some of store.log...
856370766.099 RELEASE 200 0 [ 0s] 5623/5623
14019/GET/http://www.microsoft.com/library/images/gifs/rotateads/invite.gif
856370767.537 RELEASE 200 60 [ 1m] 15116/11428
14020/GET/http://www.microsoft.com/library/images/gifs/rotateads/iis.gif
856370768.824 RELEASE 302 0 [
0s]
170/170
14022/GET/http://www.microsoft.com/isapi/redir.dll?target=/products/default.asp&nonie3home&homepage&&&&tbproducts
856370774.106 RELEASE 200 0 [ 0s] 0/10319
14023/POST/http://www.fcw.com/cgi-bin/rbox/reg-first.cgi
856370780.123 RELEASE 200 0 [ 0s] 1957/1957
14025/GET/http://www.microsoft.com/LIBRARY/IMAGES/GIFS/CATALOG/DEVELOPER.GIF
856370782.521 RELEASE 200 0 [ 0s] 0/35168
14024/GET/http://www.microsoft.com/products/default.asp
856370788.616 RELEASE 302 0 [ 0s]

here's part of the squid.conf on the external machine...

cache_mem 3
cache_swap 5
# TAG: http_stop, gopher_stop, ftp_stop
# Stoplist for URL's. URL's which contain these strings will be
# never be saved in the cache.
#
# NOTE: these options will be removed in a future release, their
# functionality will be more appropriately provided by 'ttl_pattern'
# and 'hierarchy_stoplist'.
#
#http_stop /cgi-bin/
#http_stop ?
#gopher_stop ?
http_stop http
gopher_stop gopher
ftp_stop ftp

the internal machine has normal settings. the external machine is the parent
of the internal.
i'm using squid v1.0.10

i'm not sure if this is the best way to implement this, but it works well for
me.
good
luck,
Tod.
---------------------------------------------------------------------------------------------------------

Sam Murphy <smurphy@draper.com> on 02/19/97 11:34:57 AM
To: squid-users <squid-users@nlanr.net> @ DA-Internet
cc:
Subject: Double proxy

To get through our firewall I have two proxies set up, an outer one
and an inner with the hole through the firewall just from the inner
to the outer. I'm thinking that the just the inner one should be doing
caching but will that invalidate time to live settings? It seems silly
to have two identical caches but is that necessary for Squid's optimum
function?

-Sam Murphy
Draper Lab

------ Message Header Follows ------
Received: from snail.decisionarc.com by da_notes2.decisionarc.com
  (PostalUnion/SMTP(tm) v2.1.8d for Windows NT(tm))
  id AA-1997Feb19.112029.1672.9889; Wed, 19 Feb 1997 11:20:29 -0500
Received: from decarc.decisionarc.com (decarc.decisionarc.com
[199.103.210.162])
by snail.decisionarc.com (8.6.12/8.6.12) with ESMTP id LAA05082 for
<tmcfarland@snail.decisionarc.com>; Wed, 19 Feb 1997 11:17:38 -0500
Received: from nlanr.net (oceana.sdsc.edu [132.249.40.200]) by
decarc.decisionarc.com (8.6.12/8.6.12) with ESMTP id LAA05942 for
<tmcfarland@decisionarc.com>; Wed, 19 Feb 1997 11:17:40 -0500
Received: (from list@localhost) by nlanr.net (8.7.3/8.7.3) id IAA03979; Wed, 19
Feb 1997 08:09:52 -0800 (PST)
Resent-Date: Wed, 19 Feb 1997 08:09:52 -0800 (PST)
Date: Wed, 19 Feb 1997 09:42:47 -0500
From: Sam Murphy <smurphy@draper.com>
Subject: Double proxy
X-Sender: snm1376@popx.draper.com
To: squid-users@nlanr.net
Message-id: <3.0.32.19970219094247.009d1d70@popx.draper.com>
MIME-version: 1.0
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Content-type: text/plain; charset="us-ascii"
Content-transfer-encoding: 7BIT
Resent-Message-ID: <"NK2YFLnGG63.0.tQ7.EMo2p"@oceana.nlanr.net>
Resent-From: squid-users@nlanr.net
X-Mailing-List: <squid-users@nlanr.net> formail -D 4096 msgid.cache
X-Loop: squid-users@nlanr.net
Precedence: list
Resent-Sender: squid-users-request@nlanr.net
Received on Wed Feb 19 1997 - 09:25:34 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:29 MST