Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

URL filtering via ACE 4710

Hello,

I need some help in setting up URL filtering.

I.E http://test.com/class/results.asp?search_type=class&display_full=1&cn=&ct=0&cs=0&k=%27%3B

I want to look for characters in that link such as ' or ; and drop the traffic if it matches it or to send it to the serverfarm if it does not.

Thanks!!

class-map type http loadbalance match-any MAL-TRAFFIC-DROP
  2 match http url /((\%3D)|(=))[^\n]*((\%27)|(\')|(\-\-)|(\%3B)|(;))/ix

policy-map type loadbalance first-match WEB-SLB
  class MAL-TRAFFIC-DROP
    drop
  class class-default
    serverfarm WEB-SF

3 REPLIES
Silver

Re: URL filtering via ACE 4710

You seem to have posted the answer too. (-: Isn't it working? Though I haven't parsed the whole regexp...

New Member

Re: URL filtering via ACE 4710

It doesn't seem to be working. When I run the show service-policy command, I dont' see any drops/resets?

I am not sure if there's a better way to do it.

Thanks!

Silver

Re: URL filtering via ACE 4710

maybe a trailing .*  is needed in the regexp, I don't know what URLs you're testing with

1368
Views
0
Helpful
3
Replies
CreatePlease to create content