cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

1410
Views
0
Helpful
3
Replies
Beginner

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 3
Highlighted
Contributor

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...

Beginner

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!

Contributor

Re: URL filtering via ACE 4710

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

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here