How to add URL bypasses in SmartConnect for Web Security.cloud

book

Article ID: 178487

calendar_today

Updated On:

Products

Web Security.cloud

Issue/Introduction

 

Resolution

It is important to note that the bypass section within the agentconfigure.xml file is commented out by default, so it will not be referenced. Make sure you check the following first when adding a bypass to the file or if the bypasses appear to not work.

Anything between a <!-- and --> is a comment and will be ignored.

Example default agentconfigure.xml bypass section please note the comment commands at the top and bottom:

 <!--   Bypass List
  
  This is the URL list to bypass the request to upstream proxy. Each bypass can 
  contain the url, pattern, and mode, where the url is the URL to match. The 
  pattern can be Exact, ISAWildcard and Regex(default). The mode can be OnLAN, 
  OffLAN, Never and Always(default). The url field is mandatory and the other 
  two tags are optional. User can define zero to more bypass tags.
  
  The Exact, ISAWildcard and Regex are all case insensitve. The Exact match will
  match the whole URL exactly. The ISAWildcard follows the rules for the ISA URL
  Set (http://technet.microsoft.com/en-us/library/cc302531.aspx#URLSets). The
  Regex uses the POSIX Extended regular expression syntax.
  
  Only the first bypass_list tag will take effect if multiple bypass_list tags are defined.

  <bypass_list>
    <bypass>
      <url>http://*.update.microsoft.com</url>
      <pattern>ISAWildcard</pattern>
      <mode>OffLAN</mode>
    </bypass>
    
    <bypass>
      <url>http://*.download.windowsupdate.com</url>
      <pattern>ISAWildcard</pattern>
      <mode>OffLAN</mode>
    </bypass>    
  </bypass_list>
  
  --> 

To activate bypass move the bottom comment --> up above the actual bypass strings like this:

 <!--   Bypass List
  
  This is the URL list to bypass the request to upstream proxy. Each bypass can 
  contain the url, pattern, and mode, where the url is the URL to match. The 
  pattern can be Exact, ISAWildcard and Regex(default). The mode can be OnLAN, 
  OffLAN, Never and Always(default). The url field is mandatory and the other 
  two tags are optional. User can define zero to more bypass tags.
  
  The Exact, ISAWildcard and Regex are all case insensitve. The Exact match will
  match the whole URL exactly. The ISAWildcard follows the rules for the ISA URL
  Set (http://technet.microsoft.com/en-us/library/cc302531.aspx#URLSets). The
  Regex uses the POSIX Extended regular expression syntax.
  
  Only the first bypass_list tag will take effect if multiple bypass_list tags are defined.

  --> 

  <bypass_list>
    <bypass>
      <url>http://*.update.microsoft.com</url>
      <pattern>ISAWildcard</pattern>
      <mode>OffLAN</mode>
    </bypass>
    
    <bypass>
      <url>http://*.download.windowsupdate.com</url>
      <pattern>ISAWildcard</pattern>
      <mode>OffLAN</mode>
    </bypass>    
  </bypass_list>