Skip to main content
edoutreleau
New Member
Apr 8, 2016 8:13 AM UTC
Question

how to block flash content?

Hi

 

Is there a away to block on fortinet all flash content?

    2 replies

    AndreaSoliva
    New Member
    Apr 12, 2016 11:21 AM UTC

    Hi

     

    what you can do is blocking on mime base which means:

     

    Check the mime header of flash with wireshark like following example for youtube:

     

           Hypertext Transfer Protocol
    HTTP/1.0 200 OK\r\n
    Request Version: HTTP/1.0
    Response Code: 200
    Server: DCLK-AdSvr\r\n
    Content-Type: video/x-ms-asf\r\n
    X-Google-Inred-Content-Type: video/x-ms-asf\r\n
    Content-Length: 410\r\n
    Content-Encoding: gzip\r\n
           Hypertext Transfer Protocol
    HTTP/1.1 200 OK\r\n
    Request Version: HTTP/1.1
    Response Code: 200
    Last-Modified: Mon, 14 Sep 2009 00:40:51 GMT\r\n
    Content-Type: video/x-flv\r\n
    Content-Length: 200994\r\n
    Connection: close\r\n
    Content-Disposition: attachment; filename="video.flv"\r\n
    Expires: Thu, 29 Oct 2009 09:06:24 GMT\r\n
    Cache-Control: public,max-age=3600\r\n
    Date: Thu, 29 Oct 2009 08:06:24 GMT\r\n
    Server: gvs 1.0\r\n


    For mime based blocking use the Content-Type information in our example:

           Content-Type: video/x-ms-asf\r\n
           Content-Type: video/x-flv\r\n

    Configure a content-header for our example like following (you have to uncomment special character on regex based which means \\ does uncomment "/"):

          # config webfilter content-header
          # edit [Use a proper Integer for content-header example "1"]
          # set comment [Use a description exmaple "Block Video"]
          # config entries
          # edit "video\\/.*"
          # set action [allow | block | exempt]
          # next
          # end
          # set name [Name for "content-header" example "video-audio-block"]
          # next
          # end

    This content header can be afterwards used in webfiler profile:

          # config webfilter profile
          # edit [Name of WebFilter Profiles]
          # config web
          # set content-header-list [Integer for the "content-header" example "1"]
          # end
          # next
          # end

    After that use the webfilter in the correspoding Policy Rule with the proxy profile and/or ssh sshl proxy profile for encrpiton (HTTPS).

    hope this helps

    have fun

    Andrea

    Translate
    edoutreleau
    New Member
    Apr 12, 2016 2:08 PM UTC

    thanks for your answer Andrea

    i have to look at the webfilter 

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024