Re: squid-users-digest Digest V97 #247

From: Klaubert Herr da Silveira <klaubert@dont-contact.us>
Date: Fri, 07 Nov 1997 16:45:34 -0200
Subject: Transparent proxy cache with squid and NATD.
Date: Fri, 7 Nov 1997 03:45:16 -0800 (PST)
From: "Sean T. Lamont .lost." <zeno@serv.net>
To: squid-users@nlanr.net

I have a functional natd running an internal private net (10.0.0.0) to
a routable one. I would like to be able to intercept all http requests
from the internal net and push it through squid. It looks like this is
possible, but I haven't come across any detailed info on how to do it.

(This is on FreeBSD 2.2.5, BTW.)

I think I'm having a bit of a conceptual loss here...It seems to me that if
you just pick up HTTP, traffic, you have something that looks like

GET /

If you pick up this TCP message and push it off on a squid server, you
will have no idea where this request is being made to. How does the xlation
process end up preserving the information (in the header, whatever) of what
you're actually requesting?

Sean T. Lamont, President / Chief NetNerd, Abstract Software, Inc. (ServNet)
- Internet access * WWW hosting * TCP/IP * UNIX * Java &  WWW Development -
email: lamont@abstractsoft.com              WWW:  http://www.serv.net
"...There's no moral, it's just a lot of stuff that happens". - H. Simpson
 

I use, with success, a transparent proxy with Linux, this is a features of Linux Kernel, but you will need a litle program (transproxy),  ftp://ftp.nlc.net.au/pub/linux/www/ that convert the normal GET for a correct proxy request, this is maked by add the squid (with transparet proxy enable) as default router of your NAT. Look that version of kernel of Linux, someone have a bug that you is enable only for intercept the requests only in port 80 and no in 81 like the readme of transproxy sugere.

Klaubert Herr
  Received on Fri Nov 07 1997 - 10:52:18 MST

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