Re: [squid-users] XP IE 6.x Machines Ignoring Proxy - Squid 2.5.14

From: <eric.watters@dont-contact.us>
Date: Mon, 28 Aug 2006 10:37:22 -0400

I wanted to throw this problem out there again because we have not been
able to get to the bottom of it. In a nutshell.........hardcoding the IP
Address of the Virtual For the Proxy Servers works fine. Automatically
Detect Settings and Auto Configuration Script work intermittently. I have
attached a sanitized version of the PAC file in the hopes there is a
glaring error or something that jumps out as a potential reason for the
issue.

    function FindProxyForURL(url, host)
    {
        if (isPlainHostName(host)
        || dnsDomainIs(host,
"aaa.com,aaa.bbb.com,customerA.com,websiteA.com,customerB.com,ccc.ddd.customerC.com,customerD.com")
        || isInNet(host, "xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx")
        || isInNet(host, "xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx")
        || isInNet(host, "xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx")
//added during the imdex issue
        || isInNet(host, "xxx.xxx.xxx.xxx", "xxx.xxx.xxx.xxx")
// Country A
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
// Country B
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
// Country C
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
// Country D
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
// Country E
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country F
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country G
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country H
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country I
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country J
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country K
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country L
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country M
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country N
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country O
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country P
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country Q
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country R
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
//Country S
        || isInNet(myIpAddress(),"xxx.xxx.xxx.xxx","xxx.xxx.xxx.xxx")
        )
            return "DIRECT";
        else
            return "PROXY qqq.qqq.qqq.qqq:3128; xxx.xxx.xxx.xxx:3128;
yyy.yyy.yyy.yyy:3128; zzz.zzz.zzz.zzz:3128; DIRECT";
    }

Eric Watters
Network Engineer
PRG Schultz
Desk: 770.779.3318
Cell: 404.247.0646

Henrik Nordstrom <henrik@henriknordstrom.net>
08/01/2006 02:35 PM

To
eric.watters@prgx.com
cc
squid-users@squid-cache.org
Subject
Re: [squid-users] XP IE 6.x Machines Ignoring Proxy - Squid 2.5.14

On Tue, 2006-08-01 at 10:27 -0400, eric.watters@prgx.com wrote:

> matter how remedial. Having said all of this, what I need to understand

> is why would the browsers ignore the proxy when Auto Detect Settings is
> selected and not ignore the proxy when the location of the PAC is hard
> coded.

They should not.

Reasons I can think of is if something is making the auto discovery
unreliable in your network, or maybe the IE version you have deployed is
buggy and doesn't do the auto discovery correctly.

I would suggest you monitor your DNS and DHCP traffic to see if there is
any odd patterns related to the proxy discovery. Also monitor traffic to
the server(s) serving the PAC file (but as it works with manual PAC
config it's the problem is most likely not here). Maybe this will shed
additional light on the problem.

Regards
Henrik
Received on Mon Aug 28 2006 - 08:37:39 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT