Note! |
---|
For Unrestricted IP/MAC nor Banned IP/MAC addresses - Members of the group "Extended" are also not affected by these restrictions, if the proxy is used with “Local authentication”. |
The MIME-Type Filter = (http_reply_access deny blocked_mimetypes findable under (/var/ipfire/proxy/advanced/mime) conduces the filtering of content that is not verified by the suffix of the file extension, but for the verification of the "Content-type" in the header area. Thus, individual objects of a site, such as for example audio or video, can be blocked.
To activate the MIME-Type filtering, you need to set the hook and "Save and Reload" the Squid WUI.
Example of a filtering of pictures (jpeg, png), Javascript and video (mpeg und Flash):
Note - With the MIME filter Squid works with Regular expressions, so a audio/aiff
would also block files with \*.aif
, \*.aiff
, \*.aifc
suffixes.
The pattern of a MIME-type consists of 2 parts: the media type as well as the subtype. They are separated from each other with a /
. Example video/mpeg