To configure the match string used by the blocked-by-proxy detection feature on a Network Security appliance, use the swg scan block‑by‑proxy match‑string command in configuration mode. This command requires the Admin role.
Syntax
swg scan block-by-proxy match-string <string>
Parameters
<string>
Text string contained in the Web proxy's HTTP response code and HTML block page. The blocked-by-proxy detection feature matches this string to determine if the Web proxy has blocked traffic. Choose identifying text that the Web proxy serves in the block page sent to filtered Web clients.
The string must consist of ASCII characters and must be under 32 characters in length. If the string contains one or more spaces, you must enclose the string within a pair of double quote mark ( " ) characters. However, we recommend that you do not include spaces in the string.
The default match string is ”__FIREEYE_BLOCK_BY_PROXY__”.
Examples
The following example shows how to set the match string Blocking. Note that the string doesn't include spaces:
hostname (config) # swg scan block-by-proxy match-string Blocking
The following example shows how to set the match string Blocking Example String. Note that the string does include spaces:
hostname (config) # swg scan block-by-proxy match-string "Blocking Example String"
User role
Admin
Command mode
Config
Supported appliances
Network Security: Release 7.4.0