Saturday, June 23, 2012

LAYER 7 PROTOCOL

Layer 7 protocol untuk mengcapture Audio, Video, Youtube, Download Ekstensi, dan Download FTP

# jun/23/2012 16:29:17 by RouterOS 5.6

/ip firewall layer7-protocol
add name=Video regexp="http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][1-5][0-9][0-9][\
    \\x09-\\x0d -~]*(content-type: video)"
add name=Ekstensi regexp="\\.(exe|rar|zip|7z|cab|asf|mov|wmv|mpg|mpeg|mkv|avi|\
    flv|pdf|wav|rm|mp3|mp4|ram|rmvb|dat|daa|iso|nrg|bin|vcd|mp2|3gp|mpe|qt|raw\
    |wma|ogg|doc|deb|tar|bzip|gzip|gzip2)"
add name=Youtube regexp="o-o.preferred.pttelkom-|a.youtube.com|b.youtube.com|c\
    .youtube.com|d.youtube.com|e.youtube.com|f.youtube.com|g.youtube.com|h.you\
    tube.com|i.youtube.com|j.youtube.kom|l.youtube.com"
add name=Audio regexp="http/(0\\.9|1\\.0|1\\.1)[\\x09-\\x0d ][1-5][0-9][0-9][\
    \\x09-\\x0d -~]*(content-type: audio)"
add name=FTP regexp="^220[\\x09-\\x0d -~]*ftp"

No comments:

Post a Comment