Community discussions

MikroTik App
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

mark connection or mark packet with Layer 7

Mon Dec 03, 2007 10:36 pm

Hello everybody
I want to know you experience with L7. The question is how to works in mangle:
1 - Someone say that first we have to mark the connections and finally the packet
2 - Another say that we only have to mark the packet to work with L7

Which is the best way to works? Normis what do you say, please?
Thank
Rafael Lore
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6697
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Re: mark connection or mark packet with Layer 7

Tue Dec 04, 2007 9:42 am

Rafael,

both ways should work fine, however the most effective way (when you are aware of router resources) could be,
1) connection-mark with L7 matcher;
2) packet-mark without L7.

So, L7 will be checked for the new connections, but L7 will not be used to check all the packets.

Connection consists of packets.
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: mark connection or mark packet with Layer 7

Tue Dec 04, 2007 2:23 pm

Thank you very much Sergejs
Wonderfull, I will Mark the connection with L7 and somethings with L3, and the mark the packet that have that mark connection
Thank
Rafael Lore
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7169
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: mark connection or mark packet with Layer 7

Tue Dec 04, 2007 4:17 pm

You should mark with L3 everything you can and pass through to L7 rules the rest, because L7 is using system resources a lot, depending on regexp complexity and connection count.
 
rafa_lore
Member Candidate
Member Candidate
Topic Author
Posts: 121
Joined: Tue Apr 17, 2007 4:57 am
Location: Salta
Contact:

Re: mark connection or mark packet with Layer 7

Mon Dec 24, 2007 10:36 pm

thank

Who is online

Users browsing this forum: mantouboji and 43 guests