Layer 7 Protocols >>Meet to learn-Sticky plzz

Hi all
my names is ahmed samir from egypt


i ve an idea to improve our skills of layer7 protocol ..and i write this post as review for Regexp which working well (100%) with us
in my MT router i am using L7 to determine facebook ,youtube and download files (exe,mp3,rmvb,…etc)


The idea is : every one post his the most working Regexp and the version of MT OS .If i want any Regexp to do any think
i will look at this topic before searching whole internet.

i hope from all to be active


hint : to extract your L7 : go to new terminal

write this command : ip firewall layer7-protocol export
then press Enter and copy the screen


My 100% working Regexp and its names is : (v3.30)
/ip firewall layer7-protocol
add comment=“” name=“Extension " .exe "” regexp=“\.(exe)”
add comment=“” name=“Extension " .rar "” regexp=“\.(rar)”
add comment=“” name=“Extension " .zip "” regexp=“\.(zip)”
add comment=“” name=“Extension " .7z "” regexp=“\.(7z)”
add comment=“” name=“Extension " .cab "” regexp=“\.(cab)”
add comment=“” name=“Extension " .asf "” regexp=“\.(asf)”
add comment=“” name=“Extension " .mov "” regexp=“\.(mov)”
add comment=“” name=“Extension " .wmv "” regexp=“\.(wmv)”
add comment=“” name=“Extension " .mpg "” regexp=“\.(mpg)”
add comment=“” name=“Extension " .mpeg "” regexp=“\.(mpeg)”
add comment=“” name=“Extension " .mkv "” regexp=“\.(mkv)”
add comment=“” name=“Extension " .avi "” regexp=“\.(avi)”
add comment=“” name=“Extension " .flv "” regexp=“\.(flv)”
add comment=“” name=“youtube Download” regexp=videoplayback
add comment=“” name=“Extension " .pdf "” regexp=“\.(pdf)”
add comment=“” name=“Extension " .wav "” regexp=“\.(wav)”
add comment=“” name=“Extension " .wma "” regexp=“\.(wma)”
add comment=“” name=“Extension " .rm "” regexp=“\.(rm)”
add comment=“” name=“Extension " .mp3 "” regexp=“\.(mp3)”
add comment=“” name=“Extension " .mp4 "” regexp=“\.(mp4)”
add comment=“” name=“Extension " .ram "” regexp=“\.(ram)”
add comment=“” name=“Extension " .rmvb "” regexp=“\.(rmvb)”
add comment=“” name=“Extension " .dat "” regexp=“\.(dat)”
add comment=“” name=“Extension " .daa "” regexp=“\.(daa)”
add comment=“” name=“Extension " .iso "” regexp=“\.(iso)”
add comment=“” name=“Extension " .nrg "” regexp=“\.(nrg)”
add comment=“” name=“Extension " .bin "” regexp=“\.(bin)”
add comment=“” name=“Extension " .vcd "” regexp=“\.(vcd)”
add comment=“” name=video regexp=video
add comment=“” name=“video watch” regexp=watch
add comment=“” name=facebook regexp=“^.+(facebook.com).$"
add comment=“” name=falsh regexp="http/(0\.9|1\.0|1\.1)[\x09-\x0d ][1-5][
0-9][0-9][\x09-\x0d -~]
(content-type: application/x-shockwave-flash)\r
\n”
add comment=“” name=http regexp=“http/(0\.9|1\.0|1\.1) [1-5][0-9][0-9] [\x
09-\x0d -~](connection:|content-type:|content-length:|date:)|post [\x09
-\x0d -~]
http/[01]\.[019]\r
\n”