Configuring Unified Agent Web Filtering Auto-Detection
Last Updated May 22, 2018
You want to configure Unified Agent to disable/delegate web filtering when traffic is intercepted by a ProxySG on the network.
You must meet following requirements before configuring Unified Agent to disable/delegate web filtering :
Run Client Manager for SGOS 6.5.x or later.
Run any version of SGOS that supports Blue Coat Web Filtering (BCWF).
Deploy Unified Agent in one of the following ways:
In-path with the filtering ProxySG.
Using the filtering ProxySG as an explicit proxy.
Run Unified Agent
Install local policy on every ProxySG that performs web filtering in a network to which Unified Agent might connect (see the procedure below).
Web Filtering Auto-Detection works by setting policy that causes the ProxySG to respond with a custom header and value to requests from the Unified Agent. The custom header is "X-BCWF-License" and the value is the subscription username used on the ProxySG. When the Unified Agent sees this response, it becomes aware that a ProxySG is intercepting its traffic and therefore delegates all web filter processing to the ProxySG until the location changes (IP address or adapter change) or the Unified Agent is restarted.
To install local policy on a ProxySG that performs Web filtering for Unified Agent:
Log in to the ProxySG Management Console as an administrator.
Go to Configuration > Policy > Policy Files.
In the right pane, for Install Local File from, and click Text Editor from the list.
In the provided field, enter the following:
<proxy> request.header.Host="sp.cwfservice.net" action.i_am_filtering(yes) define action i_am_filtering set (response.x_header.X-BCWF-License, "VendorID") end
where VendorID is your Blue Coat WebFilter database user name.
If your enterprise has multiple Vendor IDs, enter them as a comma-separated list. You can find the user name that a specific ProxySG in the Management Console by going to Configuration > Content Filtering > Blue Coat WebFilter.
An example with one Vendor ID follows:
<proxy> request.header.Host="sp.cwfservice.net" action.i_am_filtering(yes) define action i_am_filtering set (response.x_header.X-BCWF-License, "6EAZ8-BDC17F") end
Click Install. If errors display, check the command syntax and try again.
After the policy successfully installs, click OK at the conformation dialog and then click Close.
Important: If this policy does not take effect, check the formatting of the policy that you entered in the text editor. Make sure that the following rule within the policy is entered all on one line: