Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
34 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://...
0
votes
0answers
85 views

What is the difference between a plain host name and a fully qualified name when specifying an Automatic Configuration script in IE11

I am having an odd problem with Websockets. We use IE11 as our standard browser, unfortunately it seems that IE & Edge are the only two browsers that exhbit this issue. We use a PAC file to ...
3
votes
1answer
1k 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
623 views

setting up a nginx forward proxy for a few specific website only, and block the rest

Newbie to nginx, and been trying to search high and low for this particular way of configuration. Here is what I plan to do 1) Setup a nginx forward proxy, and this particular proxy server will only ...
0
votes
0answers
3k 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
717 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
897 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
659 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 ...
9
votes
2answers
7k 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
478 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
3k 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
800 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
9k 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
156 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
998 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
215 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
1k 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 ...
11
votes
3answers
35k 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
1k 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 ...
3
votes
1answer
5k 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
10k 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.
1
vote
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
7k 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 ...