Community discussions

MUM Europe 2020
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

Problem with marking FTP traffic (mark routing)

Wed Dec 05, 2007 11:23 am

Hi,

I don't know why, but when I try to makr FTP traffic only "thing" which I recive are few kb/s when the real traffic is >300kb/s
I tried with 20-21 port and connection-type=ftp:

4 chain=prerouting action=mark-routing new-routing-mark=GTSftp
passthrough=yes src-address=192.168.0.0/24 connection-type=ftp

I would like to pass FTP traffic to other ISP so all trafic has to be marked.

Is only solution is to install 3.0 and l7 ?

MJ
 
nowires
Frequent Visitor
Frequent Visitor
Posts: 51
Joined: Thu Apr 05, 2007 5:51 pm

Re: Problem with marking FTP traffic (mark routing)

Wed Dec 05, 2007 11:39 am

Is only solution is to install 3.0 and l7 ?
MJ
I think that L7 in the only way.

FTP also uses random ports between 1024 and 5000, so if you want to route/mangle all FTP traffic, you need L7.
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

Re: Problem with marking FTP traffic (mark routing)

Wed Dec 05, 2007 11:43 am

I think that L7 in the only way.

FTP also uses random ports between 1024 and 5000, so if you want to route/mangle all FTP traffic, you need L7.
Yes, I know, that FTP randoms port when not working in passive mode, but my question is - what for is connection-type=ftp if it is not working properly ?

MJ
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8345
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: Problem with marking FTP traffic (mark routing)

Wed Dec 05, 2007 2:10 pm

4 chain=prerouting action=mark-routing new-routing-mark=GTSftp
passthrough=yes src-address=192.168.0.0/24 connection-type=ftp
this is upload traffic. in the same time, download could easily be > 300 kb/s =)
Russian-speaking forum: https://forum.mikrotik.by/. Welcome!

For every complex problem, there is a solution that is simple, neat, and wrong.

MikroTik. Your life. Your routing.
 
jalokim
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Dec 07, 2006 1:39 pm
Location: PL, Tychy
Contact:

Re: Problem with marking FTP traffic (mark routing)

Wed Dec 05, 2007 3:35 pm

4 chain=prerouting action=mark-routing new-routing-mark=GTSftp
passthrough=yes src-address=192.168.0.0/24 connection-type=ftp
this is upload traffic. in the same time, download could easily be > 300 kb/s =)
chupaka you re right! i didn't notice that ;)

now it is "working" but only in half ;) i can log to ftp server, but cennot do ls (via routing mark) - i works only in passive mode (but when i swich to passive marking is not working :/)

Who is online

Users browsing this forum: ahmedit, Google [Bot], t3jrH and 119 guests