Re: [squid-users] Problem with cache_peer - cannot open websites

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 17 Nov 2009 00:23:05 +1300

Werner Müller wrote:
> Hello,
>
> i have SQUID 2.7 STABLE 6 running under windows.
> Squid runs on a dedicated machine and on a other Server (for example,
> ip: 1.1.1.1) a Internet Traffic Virus Scan application on port 3128 is
> installed. On the Internet Traffic Virus Scan application is
> configured a other upstream proxy on port 8080.
>
> Here the cache_peer line from my squid.conf:
>
> cache_peer 1.1.1.1 parent 3128 0 default no-query no-digest
>
> When i access to a website it opens http://auto.search.msn.com/response.asp?...
>
> If i configure the hosts file to "localhost 1.1.1.1" and change the
> cache_peer entry to:
> cache_peer localhost parent 3128 0 default no-query no-digest
>
> the website is able to access.

So ... whats the problem?

Also, "localhost" is a dedicated network name which should never be
anything other than 127.0.0.1 the secure "local host loopback".
Please do not point it at public IPs, that will screw your security over
quite badly.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE20
   Current Beta Squid 3.1.0.14
Received on Mon Nov 16 2009 - 11:23:42 MST

This archive was generated by hypermail 2.2.0 : Mon Nov 16 2009 - 12:00:04 MST