Re: Using a squid cache as a read only cache

From: Peter Marelas <maral@dont-contact.us>
Date: Thu, 10 Jul 1997 23:35:54 +1000 (EST)

On Thu, 10 Jul 1997, Tristan Lewis wrote:

> G'day, thanks for the reply.
>
> > > I was just wondering about the possibility of using an existing
> > squid
> > > setup as a read-only cache for users who want to browse the web
> > without
> > > incurring a volume bill.
> > >
> > > Is is possible to have squid listen on two ports for connections,
> > say
> > > 8080 and 8090, and if it receives a request on 8080 it fetches the
> > > document (if it is not in cache) but if it receives a request on
> > 8090
> > > then it does not fetch the documnet if it is not in cache. You
> > could
> > > obviously patch the source code, but is their any other way of doing
> > it?
> > >
> > Two possibles:
> > 1) put the read-only users on a subnet of their own and only give that
> > subnet
> > sibling style access (ie no miss access). this means they are locked
> > into
> > read only for their entire session.
> > 2) (better) run a proxy - ie no caching, just pure pass thru - on
> > another
> > IP address that proxies back into your main cache, this IP is not
> > given
> > miss access. this allows them to pick and choose between real and
> > read-only
> > just by switching proxy hosts.
>
> The second option is the one that I would like to do, what would this
> second proxy be?
>

You could use the plug-gw which is part of the TIS firewall toolkit.

www.tis.com

Regards
Peter Marelas

--
Phase One Interactive - Sun Solaris (SPARC/x86) Consultant
P.O Box 549, Templestowe 3106 Melbourne, Australia
URL: http://www.phase-one.com.au/
Received on Thu Jul 10 1997 - 06:48:06 MDT

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