Web Filtering Configuration Page Options
- Select Configure>Security>UTM>Web Filtering in the J-Web user interface to display the Web Filtering configuration
page.
The Web Filtering configuration page appears, Table 65 explains the contents of this page.
- Click one:
- Global Options—Defines general specifications for a Web filtering configuration. Enter information as specified in Table 66.
- Add—Adds a new or duplicate Web filtering configuration. Enter information as specified in Table 67.
- Edit—Edits the selected Web filtering configuration.
- Delete—Deletes the selected Web filtering configuration.
- Click one:
- OK—Saves the configuration and returns to the main configuration page.
- Commit Options>Commit—Commits the configuration and returns to the main configuration page.
- Cancel—Cancels your entries and returns to the main configuration page.
To configure Web filtering using the J-Web Configuration editor, if you are using custom objects, you must create the custom objects (URL pattern list, custom URL category list).
![]() | In addition to custom object lists, you can use included default lists and whitelist and blacklist categories. |
Configure a URL Pattern List Custom Object as follows:
![]() | Because you use URL pattern lists to create custom URL category lists, you must configure URL pattern list custom objects before you configure a custom URL category list. |
- Select Configure>Security>UTM>Custom Objects.
- From the URL Pattern List tab , click Add to create URL pattern lists.
- Next to URL Pattern Name, enter a unique name for the list you are creating. This name appears in the Custom URL Category List Custom Object page for selection.
- Next to URL Pattern Value, enter the URL or IP address
that you want to add to list for bypassing scanning.
URL pattern wildcard support—The wildcard rule is as follows: \*\.[]\?* and you must precede all wildcard URLs with http://. You can only use “*” if it is at the beginning of the URL and is followed by a “.”. You can only use “?” at the end of the URL.
The following wildcard syntax is supported: http://*.juniper.net, http://www.juniper.ne?, http://www.juniper.n??. The following wildcard syntax is not supported: *.juniper.net , www.juniper.ne?, http://*juniper.net, http://*.
- Click Add to add your URL pattern to the Values
list box.
The list can contain up to 8192 items. You can also select an entry and use the Delete button to delete it from the list. Continue to add URLs or IP addresses in this manner.
- Click OK to save the selected values as part of the URL pattern list you have created.
- If the configuration item is saved successfully, you receive a confirmation. Click OK. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Configure a custom URL category list custom object as follows:
![]() | Because you use URL pattern lists to create custom URL category lists, you must configure URL pattern list custom objects before you configure a custom URL category list. |
- Select Configure>Security>UTM>Custom Objects.
- From the URL Category List tab, click Add to create URL category lists.
- Next to URL Category Name, enter a unique name for the list you are creating. This name appears in the URL Whitelist, Blacklist, and Custom Category lists when you configure Web filtering global options.
- In the Available Values box, select a URL Pattern List name from the list for bypassing scanning, and click the right arrow button to move it to the Selected Values box.
- Click OK to save the selected values as part of the custom URL list you have created.
- If the configuration item is saved successfully, you receive a confirmation. Click OK. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Now that your custom objects have been created, you can configure the integrated Web filtering feature profile.
Reviewer: Please confirm if this is correct.![]() | The below steps use Surf Control Web filtering type. SRX1500 devices do not support Surf Control Integrated option. Hence replace Surf Control with Websense. |
- Select Configure>Security>UTM>Global options.
- In the Web Filtering, next to URL whitelist,
select the Custom URL list you created from the available options.
This is the first filtering category that both integrated and redirect Web filtering use. If there is no match, the URL is sent to the SurfControl server.
The SurfControl option is not supported on SRX1500 devices. For SRX1500 devices, the URL is sent to the Websense server.
- Next to URL blacklist, select the Custom URL list that
you have created from the list.
This is the first filtering category that both integrated and redirect Web filtering use. If there is no match, the URL is sent to the SurfControl server.
- In the Filtering Type section, select the type of Web
filtering engine you are using.
In this case, you would select Surf Control Integrated.
- In the SurfControl Integrated options section, next to Cache timeout, enter a timeout limit, in minutes, for expiring cache entries (24 hours is the default and the maximum allowed life span).
- Next to Cache Size, enter a size limit, in kilobytes, for the cache (500 KB is the default).
- Next to Server Host, enter the Surf Control server name or IP address.
- Next to Server Port, enter the port number for communicating with the Surf Control server (default ports are 80, 8080, and 8081).
- Click OK to save these values.
- If the configuration item is saved successfully, you receive a confirmation. Click OK. If it is not saved successfully, you can click Details in the pop-up window that appears to discover why.
- Select Web Filtering, under UTM, in the left pane.
- In Web filtering Profiles Configuration, click Add to create a profile for Surf Control Integrated Web filtering. (To edit an existing item, select it and click Edit.)
- In Profile name, enter a unique name for this Web filtering profile.
- Select the Profile Type. In this case, select Surf Control.
- Next to Default action, select Permit, Log and permit, or Block.
This is the default action for this profile for requests that shows errors.
- Next to Custom Block Message, enter a custom message to be sent when HTTP requests are blocked.
- Next to Timeout, enter a value in seconds.
Once this limit is reached, fail mode settings are applied. The default limit here is 10 seconds. You can enter a value from 10 to 240 seconds.
- Next to Custom block message subject, enter text to appear in the subject line of your custom message for this block notification.
- Select the Fallback options tab.
- Next to Default, select Log and Permit or Block as the action to occur when a request fails for any reason not specifically called out.
- Next to Server Connectivity, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Next to Timeout, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Next to Too Many Requests, select Log and Permit or Block as the action to occur when a request fails for this reason.
- Click Save.
- Select Custom Objects, under UTM, in the left pane.
- Select the URL category list tab.
- In the custom URL category list section, click Add to use a configured custom URL category list custom object in the profile.
- Next to Categories, select a configured custom object from the list.
- Next to Actions, select Permit, Block, or Log and Permit from the list.
- Click Add.
- Click OK.
- If the configuration item is saved successfully, you receive a confirmation. Click OK. If it is not saved successfully, click Details in the pop-up window that appears to discover why.
![]() | Next, you configure a UTM policy for Web filtering to which you attach the content filtering profile you have configured. |
- Select Configure>Security>Policy>UTM Policies.
- From the UTM policy configuration window, click Add to configure a UTM policy.
The policy configuration pop-up window appears.
- Select the Main tab in pop-up window.
- In the Policy Name box, enter a unique name for the UTM policy that you create.
- In the Session per client limit box, enter a session per client limit from 0 to 20000 for this UTM policy.
- For Session per client over limit, select one of the following: Log and Permit or Block. This is the action the device takes when the session per client limit for this UTM policy is exceeded.
- Select the Web Filtering profiles tab in the pop-up window.
- Next to HTTP profile, select the profile you have configured from the list.
- Click OK.
- If the policy is saved successfully, you receive a confirmation. Click OK. If the profile is not saved successfully, click Details in the pop-up window that appears to discover why.
![]() | Next, you attach the UTM policy to a security policy that you create. |
- Select Configure>Security>Policy>FW Policies.
- From the Security Policy window, click Add to
configure a security policy with UTM.
The policy configuration pop-up window appears.
- In the Policy tab, enter a name in the Policy Name box.
- Next to From Zone, select a zone from the list.
- Next to To Zone, select a zone from the list.
- Choose a Source Address.
- Choose a Destination Address.
- Choose an Application. Do this by selecting junos-<protocol> (for all protocols that support Web filtering, http in this case) in the Application Sets box and click the —> button to move them to the Matched box.
- Next to Policy Action, select one of the following: Permit, Deny, or Reject.
When you select Permit for Policy Action, several additional fields become available in the Applications Services tab, including UTM Policy.
- Select the Application Services tab in the pop-up window.
- Next to UTM Policy, select the appropriate policy from
the list.
This attaches your UTM policy to the security policy.
There are several fields on this page that are not described in this section. See the section on Security Policies for detailed information on configuring security policies and all the available fields.
- Click OK.
- If the policy is saved successfully, you receive a confirmation. Click OK. If the profile is not saved successfully, you can click Details in the pop-up window that appears to discover why.
Table 65: Web Filtering Configuration Page
Field | Function |
---|---|
Profile Name | Displays the unique name of the antispam profile. |
Profile Type | Displays the profile type selected. |
Account | Displays the user account for which this profile is intended. |
Server | Displays the server name. |
Timeout | Displays the timeout interval. |
Table 66: Global Options Web Filtering Configuration Details
Field | Function | Action |
---|---|---|
URL Whitelist | Specifies a unique customized list of all URLs or IP addresses for a given category that are to be bypassed for scanning. | Select the customized object from the list. |
URL Blacklist | Specifies a unique customized list of all URLs or IP addresses for a given category that are scanned for blacklisting. | Select the customized object from the list. |
Filtering Type | ||
Surf Control Integrated | Specifies that the Surf Control CPA server intercepts every HTTP request in a TCP connection. The decision making is done on the device after it identifies a category for a URL either from user-defined categories or from the Surf Control category server. Note: This option is not supported on SRX1500 devices. | Select this option to choose this type of Web filtering engine. |
Websense Redirect | Specifies that the Web filtering module intercepts an HTTP request. The URL in the request is then sent to the external Websense server which makes a permit or a deny decision. | Select this option to choose this type of Web filtering engine. |
Local | Specifies that the Web filtering module intercepts URLs and makes a permit/deny decision locally. | Select this option to choose this type of Web filtering engine. |
Juniper Enhanced | Specifies that the Juniper Enhanced Web filtering intercepts the HTTP and the HTTPS requests and sends the HTTP URL or the HTTPS source IP to the Websense ThreatSeeker Cloud (TSC). | Select this option to choose this type of Web filtering engine. |
Table 67: Add Web Filtering Configuration Details
Field | Function | Action |
---|---|---|
Main | ||
Profile Name | Displays the unique name of the Web filtering profile. | Enter a unique name for the Web filtering profile. Note: The profile Name should not be longer than 29 characters. |
Profile Type | Displays the profile type based on the Filtering Type selected. The options available are:
| Select an option. |
Account | Displays the user account for which this profile is intended. | Enter a user account name. |
Server | Displays the server name. | Enter the server name. |
Port | Displays the port number used to communicate with the server. | Enter the port number. |
Sockets | Displays the number of sockets used for communicating between the client and server. | Enter the number of sockets. |
Default Action | Displays the default action to be taken for Web filtering. The options available are:
| Select an option. |
Timeout | Specifies the time interval to wait before the connection to the server is closed. | Type the interval in seconds. |
Safe Search | Displays the search results based on the option selected. A safe-search solution is used to ensure that the embedded objects such as images on the URLs received from the search engines are safe and that no undesirable content is returned to the client. Safe-search is applicable to juniper-enhanced Web filtering type only. | Select this option to choose this type of search. |
No Safe Search | Specifies not to perform safe-search for Juniper enhanced protocol. | Select this option to choose this type of search. |
Custom Block Message | Specifies the customized block message to be displayed when content is blocked. | Enter a message to be displayed when content is blocked. |
Note: The fields Account, Server, Port, and Sockets are displayed only when you select Websense-Redirect filtering type on the Global Configuration page. | ||
Fallback Options | ||
Default | Specifies all errors other than the categorized settings. These could include either unhandled system exceptions (internal errors) or other unknown errors. The available actions are block or log-and-permit. | Select Log and Permit. The default action is Log and Permit. |
Server Connectivity | Specifies that the server connection is not established during certain processes, for example, while the signature database is loading. The available actions are block or log-and-permit. | Select Log and Permit. The default action is Log and Permit. |
Timeout | Specifies that if the time taken to scan exceeds the timeout setting in the Web filtering profile, the processing is aborted and the content is passed or blocked without completing filtering. The decision is made based on the timeout fallback option. The available actions are block or log-and-permit. | Select Log and Permit. The default action is Log and Permit. |
Too Many Requests | Specifies that if the total number of messages received concurrently exceeds the device limits, the content is passed or blocked depending on the too-many-request fallback option. The available actions are block or log-and-permit. | Select Log and Permit. The default action is Log and Permit. |
Site Reputation Action | ||
Very Safe | Specifies that the action that the device must take if the site reputation score is 90 through 100. | Select Permit, Log and Permit, or Block. |
Moderately Safe | Specifies that the action that the device must take if the site reputation score is 80 through 89 | Select Permit, Log and Permit, or Block. |
Fairly Safe | Specifies that the action that the device must take if the site reputation score is 70 through 79 | Select Permit, Log and Permit, or Block. |
Suspicious | Specifies that the action that the device must take if the site reputation score is 60 through 69 | Select Permit, Log and Permit, or Block. |
Harmful | Specifies that the action that the device must take if the site reputation score is 0 through 59 | Select Permit or Log and Permit. |
URL Category Action List | ||
Categories | Specifies a unique customized list of categories.
| Select a category from the list. |
Action | Specifies the action that the device must take for the category selected. | Select Permit, Log and Permit, or Block. |