cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1591
Views
0
Helpful
3
Replies

URL filtering via ACE 4710

Eunice.Moses
Level 1
Level 1

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

Peter Koltl
Level 7
Level 7

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

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!

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