10-16-2008 07:47 PM - edited 03-11-2019 06:58 AM
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
Solved! Go to Solution.
10-16-2008 10:55 PM
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
HTH
Syed Iftekhar Ahmed
10-17-2008 12:32 AM
10-16-2008 10:55 PM
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
HTH
Syed Iftekhar Ahmed
10-17-2008 12:32 AM
10-17-2008 02:22 AM
thanks! exactly what I was looking for
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide