cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
10354
Views
5
Helpful
3
Replies

asa 5505 url whitelisting/blacklisting?

ryancolson
Level 1
Level 1

I have an asa 5505 w/o websense or n2h2. Is there an easy way to do static URL whitelisting/blacklisting, and if so can someone point me in the direction to get started

2 Accepted Solutions

Accepted Solutions

You can use combination of regex & HTTP inspection with ASA 7.2+ code to achieve this

regex YOUTUBE "youtube\.com"

policy-map type inspect http xyz

parameters

protocol-violation action drop-connection log

match request header host regex YOUTUBE

drop-connection log

policy-map global_policy

class inspection_default

.

.

< SNIP..>

.

.

inspect http xyz

A good example can be found at

http://www.internetworkpro.org/wiki/ASA_and_PIX_using_http_inspection_to_filter_URLs_and_Hosts_in_HTTP

HTH

Syed Iftekhar Ahmed

View solution in original post

3 Replies 3

You can use combination of regex & HTTP inspection with ASA 7.2+ code to achieve this

regex YOUTUBE "youtube\.com"

policy-map type inspect http xyz

parameters

protocol-violation action drop-connection log

match request header host regex YOUTUBE

drop-connection log

policy-map global_policy

class inspection_default

.

.

< SNIP..>

.

.

inspect http xyz

A good example can be found at

http://www.internetworkpro.org/wiki/ASA_and_PIX_using_http_inspection_to_filter_URLs_and_Hosts_in_HTTP

HTH

Syed Iftekhar Ahmed

thanks! exactly what I was looking for

Review Cisco Networking products for a $25 gift card