Tuesday, May 15, 2012

Blocking video files with rep_mime_type video/x-flv

0 comments

There several type of video file formats. One of them is fllv : format used by streaming video service such as youtube, metacafe, etc

    We are going to block thise file.The configuration file is :
    acl LOCALHOST src 127.0.0.1
    acl LOCALNET_A src 192.168.0.0/24
    acl FORBIDDEN_DESTINATION dstdomain "/etc/squid3/restricteddomains.txt"
    acl FORBIDDEN_VIDEO rep_mime_type video/x-flv

    http_access deny FORBIDDEN_DESTINATION
    http_reply_access deny FORBIDDEN_VIDEO

    http_access allow LOCALHOST
    http_access allow LOCALNET_A

    http_port 3128

    0 comments:

    Post a Comment