Re: [squid-users] Newbie question

From: Simon White <[email protected]>
Date: Mon, 22 Apr 2002 09:32:01 +0000

22-Apr-02 at 11:26, Igor Leturia (IGOR@emun.com) wrote :
> Right, but if I make Squid listen to ports 81 and 8080, then I can't
> bind those ports to Zope and IIS. Besides, even if it was Squid who
> listened to those ports, it's the clients who have firewalls that block
> all traffic except on port 80.

Good point. I should drink my coffee before replying to the list (note
that you should reply to the list too, instead of direct to me).

Well if you have absolute URLs with port references in the pages, you are
pretty much stuck, because the client will try to access these ports,
rather than Squid or any other proxy. The only "hack" I can think of is
for clients accessing your site to manually set the proxy to your
accelerator on port 80, then all their requests will go to that port and
Squid will forward the requests correctly, as if it were a proxy. You must
make sure that the proxy is tightened so that it will only serve requests
for your site, and not for any others, to avoid it being abused.

If you have a public service which uses ports other than 80, then
automatically you are faced with this problem... I can't see too many ways
around it, since you can redirect requests once they get to you, but you
can't redirect client requests for new connections on ports 81 and 8080
unless the requests can get to you on that port.

-- 
|-Simon White, Internet Services Manager, Certified Check Point CCSA.
|-MTDS  Internet, Security, Anti-Virus, Linux and Hosting Solutions.
|-MTDS  14, rue du 16 novembre, Agdal, Rabat, Morocco.
|-MTDS  tel +212.3.767.4861 - fax +212.3.767.4863
Received on Mon Apr 22 2002 - 03:32:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:38 MST