Squid + squidguard mime type block



  • hello,

    squid + squidguard application/vnd.ms.wms-hdr.asfv1$ mime type block



  • Was there supposed to be a question there?



  • @vgumus:

    Hi,

    In a system with squid + squiguard installed how do I want to ban mimetype

    Example mimetype block
    video/x-ms-asf$
    application/vnd.ms.wms-hdr.asfv1$
    application/x-mms-framed$
    audio/x-pn-realaudio$

    Thanks…

    Edit /usr/local/pkg/squid.inc
    function traffic_resync()

    add

    conf .= <<<eod<br># mime content
    acl mmedia_video rep_mime_type -i ^.video.
    acl mmedia_audio rep_mime_type -i ^.audio.
    acl mmedia_flash rep_mime_type -i ^.flash.
    acl mmedia_image rep_mime_type -i ^.image.

    http_reply_access deny mmedia_video
    http_reply_access deny mmedia_audio
    http_reply_access deny mmedia_flash
    http_reply_access deny mmedia_image

    EOD;</eod<br>


Log in to reply