Search squid archive

Re: [squid-users] Using rep_mime_type with Squid 2.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > I wanted to block audio and videostreams, using the ACL rep_mime_type.
> > So I tried to set the following lines:
> >
> > acl streams rep_mime_type ^video/x-ms-asf ^video/x-ms-sf ^audio/mpeg ^audio/x-mpeg ^audio/x-pn-realaudio ^application/x-mms-framed ^application/vnd.ms.wms-hdr.asfv1
> > .
> > .
> > .
> > http_reply_access deny streams
> >
> > But with our Squid-2.3.STABLE4 it does not work. Is it possible to use another acl to stop those streams using the good old 2.3 of squid ?
> 
> Upgrade. Squid-2.3 is obsolete and known to have several security issues.
> 
> The feature you ask for was introduced in Squid-2.3. Not available in 
> Squid-2.3. The closest you can get in 2.3 is pattern matching for common 
> file patterns using urlpath_regex.

Hm,

how should I use urlpath_regex to deny mimetype like ^audio/mpeg ?

-- 
Regards,

     Jens Strohschnitter

-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
 
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for 
		 the heart of the sun
-------------------------------------


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux