Bluecoat View Pac File

  1. Pac File Example
  2. How To View Pac 12 Network
  3. Texas Conservative View Pac
Posted by2 years ago
Archived

Hi guys,

Bluecoat

I currently have an internal server that can be accessed via FQDN, from public and internal, depending where the user is. At the moment, it is not accessible via internal at all. Upon checking, I realize that apparently we are reaching to this server via proxy, which supposed to be intercepting internet address only. Below are stuff that I checked and tested

Disable the PAC file location in the browser proxy settings and enter the location of the PAC file in the browser URL bar, it should be accessible. If not, investigate the web server serving the file. Confirm that the JavaScript PAC file code is free of syntax errors/failures. Use the PAC or WPAD facility in Content Gateway to maintain the PAC or WPAD file. If you choose to edit the file separately, be sure to use a text editor that does not add or change formatting (e.g. Vi, notepad, etc.).

Example PAC File The basic for all good PAC files start with a clear and concise coding methodology. It’s possible to achieve the same result using several different methods, both with the PAC file functions available and the flexibility of the JavaScript language.

  • nslookup shows that it resolves to internal IP

  • traceroute showing it going to our servers range

  • created a policy in bluecoat to allow the category the URL resides in, URL and regex too.

  • edit the pac file to add the exception to the URL to be direct instead of proxy (3rd expression match) to no effect. I also tried the IP resolved, and url matched in the pac, to no success:

    function FindProxyForURL(url, host) { if (shExpMatch(host, '.phs') || shExpMatch(host, '.abs') || shExpMatch(host, '.mycompany.com.')) return 'DIRECT'; else return 'PROXY 10.33.20.60:8080'; }

Trail from bluecoat reveals below:

Pac File Example

Errored session logs also saying OCS was unreachable despite the bluecoat able to ping the internal server IP.

File

Any idea what could be done here? I am clueless as why we still hitting the proxy after the pac file is edited. Any workaround is also appreciated, while I'm working on this.

How To View Pac 12 Network

Bluecoat View Pac File

Texas Conservative View Pac

2 comments