Community discussions

MikroTik App
 
marklodge
Member Candidate
Member Candidate
Topic Author
Posts: 250
Joined: Sun Jun 21, 2009 6:15 pm

Mark routing based on file type AND size

Tue Oct 11, 2011 2:18 am

How would i mark routing for EXE files that are 10MB or more?
Possible?
So the final result will mark routing only for files that are .exe AND the exe file size is 10MB or more.
My intention is to actually block the above 10Mb exe files. But mark routing is better as i can redirect to my webserver for a notice
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Mark routing based on file type AND size

Tue Oct 11, 2011 2:29 am

You can't re-route traffic in the middle of a connection.

You can't reliably tell how many bytes a connection is going to transfer until you've seen more bytes than your threshold in that connection.

The canonical solution to what you're trying to do is to use a dedicated proxy.
 
marklodge
Member Candidate
Member Candidate
Topic Author
Posts: 250
Joined: Sun Jun 21, 2009 6:15 pm

Re: Mark routing based on file type AND size

Thu Oct 13, 2011 3:24 pm

ok thanks for the info. i'll be trying to use two proxies now. one for browsing and the othe for downloads. hope it works!

Who is online

Users browsing this forum: Bing [Bot] and 88 guests