Fwd: RE: [squid-users] parent proxy not working correctly?

From: Liong Kok Foo <kfliong@dont-contact.us>
Date: Fri, 25 Nov 2005 18:01:50 +0800

When I add "never_direct allow all". All users will not be able to go
to any sites. The below error will be given.
--------
The following error was encountered:
    * Unable to forward this request at this time.

This request could not be forwarded to the origin server or to any
parent caches. The most likely cause for this error is that:
    * The cache administrator does not allow this cache to make
direct connections to origin servers, and
    * All configured parent caches are currently unreachable.
-----------
But I tested the parent proxy directly using my browser and it is
working fine. When I put that proxy on my PC and go to
whatismyip.com, it will give me my realy IP with message below saying
proxy server detected with the IP of that parent proxy. But when I
add this parent proxy into my squid, it will not work. I tested it
with parent proxies using port 80,3128, 8080 all have problems. My
own proxy server is using 3128.

>X-Envelope-To: kfliong
>X-Spam-Status: No, hits=0.0 required=5.0
> tests=AWL: 0.763,BAYES_00: -1.665,SARE_TOCC_USER: 0.011
>X-Spam-Level:
>Envelope-to: kfliong@wofs.com
>Mailing-List: contact squid-users-help@squid-cache.org; run by ezmlm
>List-Post: <mailto:squid-users@squid-cache.org>
>List-Help: <mailto:squid-users-help@squid-cache.org>
>List-Unsubscribe: <mailto:squid-users-unsubscribe@squid-cache.org>
>List-Subscribe: <mailto:squid-users-subscribe@squid-cache.org>
>Delivered-To: mailing list squid-users@squid-cache.org
>Date: Wed, 23 Nov 2005 09:34:48 -0900
>X-MS-Has-Attach:
>X-MS-TNEF-Correlator:
>Thread-Topic: [squid-users] parent proxy not working correctly?
>Thread-Index: AcXv+HakNC5EIuMXSUmCsPCRu0nFbQAY8xIg
>From: "Chris Robertson" <crobertson@gci.com>
>To: <squid-users@squid-cache.org>
>X-OriginalArrivalTime: 23 Nov 2005 18:34:48.0565 (UTC)
>FILETIME=[957E0A50:01C5F05C]
>Subject: RE: [squid-users] parent proxy not working correctly?
>X-wofs-MailScanner-Information: Please contact the ISP for more information
>X-wofs-MailScanner: Found to be clean
>X-wofs-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5,
> autolearn=disabled)
>X-wofs-MailScanner-From:
>squid-users-return-60921-kfliong=wofs.com@squid-cache.org
>X-wofs-MailScanner-To: kfliong@wofs.com
>
> > -----Original Message-----
> > From: kfliong [mailto:kfliong@wofs.com]
> > Sent: Tuesday, November 22, 2005 9:24 PM
> > To: squid-users@squid-cache.org
> > Subject: [squid-users] parent proxy not working correctly?
> >
> >
> > I have just setup some parent proxy for my squid proxyserver but
> > somehow it doesn't work really well.
> >
> > Here is what I added.
> >
> > acl LAN_sites dstdomain netserver.wofs.local
> > acl localnetwork url_regex -i 192.168
> > always_direct allow LAN_sites
> > always_direct allow localnetwork
>
>never_direct allow all # Force all other traffic to use parent proxies.
>
> >
> > cache_peer 111.22.33.44 parent 554 554 round-robin
> > cache_peer 111.22.33.45 parent 554 554 round-robin
> > cache_peer 111.22.33.46 parent 8080 8080 round-robin
> > cache_peer 111.22.33.49 parent 553 553 round-robin
> >
> > When I apply the settings, it works for a while. If I go to
> > whatismyip.com, I will get those parent proxy ip addresses. But after
> > a while, like 1 minutes, whatismyip.com will give me my real IP
> > address. I will have to re-start squid and whatismyip.com will again
> > give me parent proxy's IP for a few refresh before falling back to my
> > real IP address.
> >
> > Is that how it works or I am doing something wrong?
> >
> > Please advice. Thanks in advance.
> >
> >
> >
>
>Chris
Received on Fri Nov 25 2005 - 03:15:34 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST