Questions tagged [pac]

A proxy auto-config (PAC) file defines how web browsers and other user agents can automatically choose the appropriate proxy server for fetching a given URL.

Filter by
Sorted by
Tagged with
0
votes
0answers
14 views

How “automatically detect settings” in IE affects Sharepoint SSO

Our network infrastructure is built on software from MS. I noticed that unchecking "Automatically detect settings" in IE disables SSO from IE and Chrome for our intranet sites based on Sharepoint. The ...
0
votes
0answers
33 views

How to configure squid proxy to forward incoming requests to another proxy using pac file?

I'm behind a corporate proxy and am using Ubuntu. The proxy is configured with a PAC file. However, using the proxy auto-config URL in Ubuntu settings is borderline useless since it doesn't affect the ...
0
votes
0answers
674 views

How to get proxy from PAC file using powershell?

My company administrators have setup our machines to get proxy settings from a .pac file. The .pac file is complex and the proxy to use for a URL changes occasionally. I often need to write ...
1
vote
0answers
50 views

How to convert a pac script into Linux-style proxy environment variables?

On Windows machines (and networks with a lot of Windows machines), the use of Proxy Autoconfiguration scripts is rather ubiquitous for reasons; on Linux distributions (e.g. CentOS), it is more common ...
0
votes
0answers
10 views

proxy.pac slow connection safari

I've made a simple proxy.pac file, that I'm trying to get to work with my iphone 6. It works, but when the proxy software (fiddler) isn't running on my computer, the connection on my iphone is very ...
0
votes
0answers
56 views

Squid PAC file not working

So i have squid installed and running on my EC2 and i have a pac file configured likewise: function FindProxyForURL(url, host){ if (isInNet(dnsResolve(host), "my-server-ip-address")){ return "PROXY ...
0
votes
1answer
724 views

Configure Squid Proxy with PAC File

So i have squid proxy server installed and running on my ec2 instance. my task is to have any pc client connected to the proxy only the proxy when accessing certain sites and will use regular wifi ...
2
votes
1answer
728 views

Why does “file:///Users/username/Library/proxy.pac” not work in MacOS?

I tested setting up a proxy.pac file via a web server: networksetup -setautoproxyurl "Wi-Fi" "http://localhost/proxy.pac" and via a file directly: networksetup -setautoproxyurl "Wi-Fi" "file:///...
0
votes
0answers
3k views

how to setup openVPN client proxy using PAC (proxy auto-config file)?

I am using an openVPN client to connect to a VPN. But the network that I am currently in sits behind a proxy and it manages proxy via PAC files (Proxy Auto-Config files). I am looking at https://...
3
votes
1answer
2k views

Internet / proxy problems Internet Explorer (PAC file)

we have some internet/proxy problems in our network since 2 weeks. Users are getting sporadic errors "This page can't be displayed" in Internet Explorer 11 when trying to access websites - but not the ...
0
votes
0answers
4k views

Which options are required to send a PAC file URL via DHCP to Android devices?

I would like the Android devices which connect to WiFi networks to be automatically configured to proxy their HTTP(S) traffic through a web proxy. There is a PAC file available though an URL, which ...
5
votes
1answer
1k views

PAC files linking to other PAC files?

If I am in one autoproxy PAC file and returning the "PROXY xxx.com:80" option, can that link be to another PAC file? Do the url and host parameters for FindProxyForURL(url, host) stay the same or is ...
0
votes
1answer
2k views

Can squid block an access to the specific IP-address which is resolved with a domain name?

I have a .pac file like below. if (dnsDomainIs(host, ".example.com")) { hostip = dnsResolve(host); if (isInNet(hostip, "202.0.0.0", "255.255.255.0")) { return "DIRECT"; } } Now I'...
0
votes
1answer
995 views

How to properly configure PAC file?

I have a squid + diladele proxy box in my network. I have setup a PAC file that should do the following: 1)If the ip address of the client belongs to the current network (192.168.0.0/24) and tries to ...
10
votes
2answers
10k views

How to debug pac file in chrome without alert function ?

I recently experienced a problem with a new pac file with chrome, (same pac file with IE and Firefox works). I supposed that my problem is due to "myIpAddress()" function, see this post=> Proxy - ...
1
vote
0answers
577 views

Proxy PAC not working

I have an insanely simple proxy pac file i'm trying to get working.. it looks like this: function FindProxyForURL(url, host) { return "PROXY 66.232.xxx.xxx:808"; } FYI, I xxx'd out the IP to ...
0
votes
3answers
4k views

Exclude URL with non-stanard port from Proxy via PAC/WPAD file

I'm running a Squid proxy and want to exclude a certain web address that is accessed over a non-standard port from going through the proxy, rather than open the port in an ACL within squid.conf (seems ...
0
votes
1answer
2k views

bind squid and apache for pac file

EDIT It was some interne rules on FW, sorry for the inconvenience and thanks for your advices I have a server with Squid (2.7.STABLE9) on a Debian (Wheezy 7.1) and I add an Apache2 (2.2.22) for send ...
1
vote
1answer
2k views

Proxy - Pac file - ipv6 with myAdresse()?

I'm tryig to make a proxy pac file for my Squid. I suppose to change redirection if the user is in my network or if he is at home for example, and I try to make it whith the myAdress() function. I ...
0
votes
0answers
854 views

Internet Explorer proxy pac files

We have a simple pac file used for staff in work and at home: function FindProxyForURL(url, host) { /* Exclude "Portico" URL */ if (shExpMatch(url, "*google.com*")) { return "...
12
votes
1answer
12k views

How can I debug PAC (proxy auto config) on Windows 8.1 (IE11 and Modern UI)?

On older systems such as Windows 7 + IE10, calling "alert()" in the PAC file would cause a dialog being shown. However, with Windows 8.1 no dialogs are displayed even if IE11 seems to be making use ...
0
votes
1answer
2k views

Proxy Auto Config (PAC) dnsResolve() function return values

Good Morning! I have a rather simple question. Does anyone have a function reference for the dnsResolve() function in Proxy Auto Configuration scripts? Or for that matter, a function reference for ...
3
votes
1answer
3k views

Automatic Proxy Configuration Script - Lab Setup Process

I have a requirement to set a test machine which utilises automatic proxy configuration using a WPAD.DAT file. This is to replicate a customer environment (that we can't use for testing) so we may ...
0
votes
1answer
184 views

PAC file return statement with “+” sign

I saw a PAC file written like this toky1 = "PROXY webproxy2.mycompany.com:8080; "; dirext = "PROXY webproxy1.mycompany.com:8080; "; if (isInNet(myIpAddress(), "10.1.33.0", "255.255.255.0")) { ...
1
vote
1answer
2k views

Filter HTTPS URLs with non-transparent proxy

I have set up a Squid v.3.1 + Squidguard, the proxy is configured on each browser via a proxy.pac file. Now if an user goes to a blocked site with HTTP (e.g. http://www.facebook.com) the Url filter ...
1
vote
1answer
1k views

How to override the network DHCP Server settings to be specific to my own .conf file?

Basically, I have want to test out WPAD(Web Proxy Autodiscovery Protocol ) , PAC. But I would like to do it without touching the Network DHCP server. So, can you suggest a way in which I can achieve ...
1
vote
0answers
225 views

proxy auto configuration file requests

What might be causing bursts of 10 - 20 proxy auto config file requests? I am seeing bursts of requests for our PAC file, which is hosted on an internal Apache server. Some bursts are up to 20 per ...
1
vote
1answer
2k views

ISA 2006 switch to kerberos causes authentication problems for some users

In our large corporate environment we have 4 ISA 2006 servers set up. The users (WinXP IE8) are configured with an automatic proxy configuration script. Recently, the PAC was modified to return FQDN ...
13
votes
3answers
41k views

How to automatically configure username/password with proxy PAC file?

I have rather complex proxy setup and one of those proxies requires username/password. Is there a way to configure the username/password so that users don't have to enter them when traffic is ...
1
vote
2answers
3k views

Proxy Auto config (PAC) exception

I want to configure a proxy pac file that has the same list of exception as the ones I have on IE -> Internet Options -> Connections -> LAN settings -> Advanced and after I can see the exception in ...
1
vote
1answer
2k views

.pac file and Firefox's network.proxy.socks_remote_dns setting

Does anyone know if Firefox's setting network.proxy.socks_remote_dns would apply to a SOCKS proxy set by a .pac file or only when manually entered in network options? I ask because I use a dynamic ssh ...
4
votes
1answer
6k views

using IPv6 addresses in proxy.pac

When creating PAC files, one can use functions like isInNet, for example if (isInNet(host, "10.9.9.9", "255.0.255.0")) return "DIRECT"; However, it doesn't make sense to use IP and wildcard/mask when ...
0
votes
3answers
2k views

proxy.pac file performance optimization

I reroute certain websites through a proxy with a proxy.pac file. It basically looks like this: if (shExpMatch(host, "www.youtube.com")) { return "PROXY proxy.domain.tld:8080; DIRECT" } if (...
5
votes
2answers
11k views

dnsResolve and isInNet functions Problem

We have a Proxy.pac file: function FindProxyForURL(url, host) { if (dnsResolve("ProxyServer") == "10.1.1.116") if (dnsDomainLevels(host) == 0 || isInNet(host, "10.0.0.0","255.0.0.0") || ...
2
votes
1answer
1k views

Prevent MSIE 8 from reloading PAC file

How do I prevent Internet Explorer from reloading the PAC file? I need to stop IE8 from reloading the PAC file on every request the browser makes. I only require it to load once per session.
3
votes
1answer
3k views

How Do I Prevent MSIE 8 From Reloading PAC File?

Exactly what the title says. I need to stop IE 8 from reloading the PAC file on every request the browser makes. I only require it to load once per session.
2
votes
2answers
2k views

Global (computer-wide) proxy settings from pac file

Our company just changed proxy settings from using one proxy server to a bunch and inserted pac files to IE settings. The problem is, any software that doesn't allow setting proxy script (pac file) ...
1
vote
3answers
8k views

Proxy.pac file - accessing a site on non standard port to be sent direct

We are about to start using a proxy.pac file in our environment. It will be a very simple file with most traffic going to the proxy but a handfull of sites going direct (where they are hosted ...