Cisco ASA Series Cli Configuration Manual page 1469

Software version 9.0 for the services module
Hide thumbs Also See for ASA Series:
Table of Contents

Advertisement

Chapter 1
Configuring Filtering Services
Truncating Long HTTP URLs
By default, if a URL exceeds the maximum permitted size, then it is dropped. To avoid this occurrence,
truncate a long URL by entering the following command:
Command
filter url [longurl-truncate |
longurl-deny | cgi-truncate]
Example:
hostname# filter url longurl-truncate
Exempting Traffic from Filtering
To exempt traffic from filtering, enter following command:
Command
filter url except source_ip source_mask
dest_ip dest_mask
Example:
hostname(config)# filter url http 0 0 0 0
hostname(config)# filter url except
10.0.2.54 255.255.255.255 0 0
Filtering HTTPS URLs
You must identify and enable the URL filtering server before enabling HTTPS filtering.
Note
Websense and Secure Computing Smartfilter currently support HTTPS; older versions of the Secure
Computing SmartFilter (formerly N2H2) do not support HTTPS filtering.
Because HTTPS content is encrypted, the ASA sends the URL lookup without directory and filename
information. When the filtering server approves an HTTPS connection request, the ASA allows the
completion of SSL connection negotiation and allows the reply from the web server to reach the
originating client. If the filtering server denies the request, the ASA prevents the completion of SSL
connection negotiation. The browser displays an error message, such as "The Page or the content cannot
be displayed."
Note
The ASA does not provide an authentication prompt for HTTPS, so you must authenticate with the ASA
using HTTP or FTP before accessing HTTPS servers.
Filtering URLs and FTP Requests with an External Server
Purpose
The longurl-truncate option causes the ASA to send only the hostname or
IP address portion of the URL for evaluation to the filtering server when
the URL is longer than the maximum length permitted. Use the
longurl-deny option to deny outbound URL traffic if the URL is longer
than the maximum permitted.
Use the cgi-truncate option to truncate CGI URLs to include only the CGI
script location and the script name without any parameters. Many long
HTTP requests are CGI requests. If the parameters list is very long, waiting
and sending the complete CGI request, including the parameter list, can use
up memory resources and affect ASA performance.
Purpose
Exempts specific traffic from filtering.
The example shows how to cause all HTTP requests to be forwarded to the
filtering server, except for those from 10.0.2.54.
Cisco ASA Series CLI Configuration Guide
1-13

Advertisement

Table of Contents
loading

Table of Contents