Community discussions

MikroTik App
 
Atanas
just joined
Topic Author
Posts: 19
Joined: Fri Jan 25, 2019 8:53 am

Filter by packet content containing CR LF

Wed May 31, 2023 2:04 pm

Hi, is it possible to make a firewall filter rule for fetching packets by content containing CR LF? Is there a way (a kind of syntax) to express these symbols when defining the rule?
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

Re: Filter by packet content containing CR LF

Sun Jun 04, 2023 9:38 pm

/ip firewall filter add action=log chain=forward content="\r\n"
 
Atanas
just joined
Topic Author
Posts: 19
Joined: Fri Jan 25, 2019 8:53 am

Re: Filter by packet content containing CR LF

Thu Jun 15, 2023 11:06 am

Thank you very much Sindy, I'll try it.
I thought it should be something like this, or using RegEx, but didn't find a quick answer.

Who is online

Users browsing this forum: Bing [Bot], gkoleff, Google [Bot], GoogleOther [Bot], outtahere and 58 guests