Community discussions

MikroTik App
 
User avatar
kensoual
just joined
Topic Author
Posts: 4
Joined: Mon Feb 09, 2015 4:42 pm

Any one konws how to mark http protocol?

Mon May 04, 2015 12:51 pm

As we all know that HTTP use tcp port 80,BUT,some download tools or IM use 80 too,

so,is there any way to recognise HTTP or even HTTPS very well?

I don't kown L7 very much,really bother... :(

TKS :D
 
Feklar
Forum Guru
Forum Guru
Posts: 1724
Joined: Tue Dec 01, 2009 11:46 pm

Re: Any one konws how to mark http protocol?

Tue May 05, 2015 9:26 pm

http://l7-filter.sourceforge.net/protocols
/ip firewall layer7-protocol
add name=HTTPS regexp="^(.\?.\?\\x16\\x03.*\\x16\\x03|.\?.\?\\x01\\x03\\x01\?.*\\x0b)"