Community discussions

MikroTik App
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

layer 7 protocol

Sun Oct 30, 2011 10:11 am

I have blocked .zip files extensions but when I download from such this URL:http://www.1sa1.net/1sa1/1sa1/1sa1/down ... d7d5337536

MK could not catch this .zip file. I think there is no "zip" word mention in the URL above?
how I can work around this?

thanks all
 
User avatar
sadeghrafie
Long time Member
Long time Member
Posts: 514
Joined: Sat Nov 14, 2009 11:28 am
Location: Bushehr, IRAN

Re: layer 7 protocol

Sun Oct 30, 2011 10:23 am

What is your L7 Filter regexp?
Try this http://l7-filter.sourceforge.net/protocols maybe useful :)
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: layer 7 protocol

Sun Oct 30, 2011 10:55 am

Currently I use this: ^.*get.+\.zip.*$
but also the following failed to catch such mentioned above urls: "^.*get.+\\.zip.*\$"

Second when I browse any website had a video clip with ext like .flv, I can not paly this clip because of L7 pro.
How I can differentiate between downloading files and playing file inside the browser?

finally, what about HTTPS Can MK detect me when I am downloading form rapidshare during https?
I tried but my regexp also failed.

FLV: ^.*get.+\.flv.*$
Last edited by salytwo on Sun Oct 30, 2011 11:01 am, edited 1 time in total.
 
User avatar
sadeghrafie
Long time Member
Long time Member
Posts: 514
Joined: Sat Nov 14, 2009 11:28 am
Location: Bushehr, IRAN

Re: layer 7 protocol

Sun Oct 30, 2011 10:58 am

 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: layer 7 protocol

Sun Oct 30, 2011 11:05 am

but regard separating video downloading and playing directly?
 
User avatar
sadeghrafie
Long time Member
Long time Member
Posts: 514
Joined: Sat Nov 14, 2009 11:28 am
Location: Bushehr, IRAN

Re: layer 7 protocol

Sun Oct 30, 2011 11:10 am

Did the last code work?
but regard separating video downloading and playing directly?
You want to allow direct play video and deny download it ? or something else ?
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: layer 7 protocol

Sun Oct 30, 2011 11:32 am

Yes.
 
User avatar
sadeghrafie
Long time Member
Long time Member
Posts: 514
Joined: Sat Nov 14, 2009 11:28 am
Location: Bushehr, IRAN

Re: layer 7 protocol

Sun Oct 30, 2011 11:34 am

Sorry for misunderstanding
Yes for Which one? The code or the quote? :)
 
salytwo
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 89
Joined: Mon Apr 18, 2011 8:53 am

Re: layer 7 protocol

Sun Oct 30, 2011 11:44 am

I want to allow direct play video and deny download it ?
Sorry I have to explain to you which one.

Who is online

Users browsing this forum: oatis, weevee and 76 guests