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

From: Jens Strohschnitter <suse-linux@dont-contact.us>
Date: Wed, 4 May 2005 15:54:07 +0200

> > 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
-------------------------------------
Received on Wed May 04 2005 - 07:54:14 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:02 MDT