Community discussions

MikroTik App
 
pdf
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 92
Joined: Sun Feb 12, 2006 11:56 pm

Regular Expression in layer7 - how to recognize a string

Wed Dec 14, 2011 11:51 pm

Hi all

I would like to intercept a packet generated by the router. The idea is that the router is sending a packet to initiate a L2TP tunnel and I would like to catch that packet.
The string into the packet could be the account name, like "john.smith" and I wanted to intercept the packets with that string.

I am looking for a L7-expression, but I did not find much regarding this topic except the already done filters.

Anybody can tell me the string or tell me where I can find more documents?

thank you in advance
 
prince90s
just joined
Posts: 22
Joined: Sun Jan 23, 2011 9:44 pm

Re: Regular Expression in layer7 - how to recognize a string

Thu Dec 15, 2011 5:38 am

Hi all

I would like to intercept a packet generated by the router. The idea is that the router is sending a packet to initiate a L2TP tunnel and I would like to catch that packet.
The string into the packet could be the account name, like "john.smith" and I wanted to intercept the packets with that string.

I am looking for a L7-expression, but I did not find much regarding this topic except the already done filters.

Anybody can tell me the string or tell me where I can find more documents?

thank you in advance
do it like this

(john\.smith)

Who is online

Users browsing this forum: BartoszP, timotei and 34 guests