Community discussions

MikroTik App
 
HappyAlex
just joined
Topic Author
Posts: 3
Joined: Fri Dec 31, 2010 7:15 am

Layer-7. Filtring.. regex..

Fri Dec 31, 2010 7:24 am

Hello,
I need to filter the query, which goes to the Web server through mikrotik.

The query looks like this:
host_name/getList.php?category=-1OR%20%20BENCHMARK(10000000,BENCHMARK(10000000,md5(current_date)))

I created a regexp in Layer7:
^(GET .*BENCHMARK.* /| get .*BENCHMARK.* /| .*BENCHMARK.*)

Then added to the firewall rule:
chain=forward action=drop layer7-protocol=BENCHMARK in /ip firewall filter

but it's does not work

any one can help me ?

Who is online

Users browsing this forum: Ahrefs [Bot], gkhun, ramin110, Wintxi and 129 guests