Search squid archive

Re: XP IE 6.x Machines Ignoring Proxy - Squid 2.5.14

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxx> 
08/01/2006 02:35 PM

To
eric.watters@xxxxxxxx
cc
squid-users@xxxxxxxxxxxxxxx
Subject
Re:  XP IE 6.x  Machines Ignoring Proxy - Squid 2.5.14






On Tue, 2006-08-01 at 10:27 -0400, eric.watters@xxxxxxxx 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




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux