user-agent

Use the user-agent stanza entry to configure the category name that WebSEAL uses for a particular user-agent string in the HTTP Request header when it categorizes the incoming requests.

Syntax

user-agent = pattern

Description

When WebSEAL records flow data statistics, it can use the user-agent string in the HTTP Request header to categorize the incoming requests. Categorizing requests based on the user-agent can make the statistical data more useful.

Use this stanza to specify a list of category names and patterns for the user-agent strings to match. You can repeat a category so that multiple patterns match a single category. The patterns are evaluated in the order of their definition. WebSEAL selects the first match to categorize each request.

Note: The stanza must always end with an entry that contains the match-all pattern *.

Options

pattern
The appliance uses this pattern to categorize the incoming requests. The appliance categorizes each request by matching the user-agent string value in the HTTP Request header with the defined pattern list.
Note: The pattern can contain the wildcard characters * and ?. The patterns are not case-sensitive.

Usage

This stanza entry is optional.

Default value

None.

Example

In this example, both Android and iOS user-agent strings match the MOBILE category. WebSEAL uses the SUNDRY category if a user-agent string does not match any of the other defined patterns.

INTERNET_EXPLORER = *msie*
FIREFOX = *firefox*
CHROME = *chrome*
MOBILE = *android*
MOBILE = *ios*
SUNDRY = *