On Fri, 21 Oct 2005, Anders Larsson wrote:

Hi!

im trying to block this mime and another below in acl..

DIRECT/62.181.238.210 application/vnd.ms.wms-hdr.asfv1

i got this in squid.conf

## reply
acl streaming_rep rep_mime_type -i ^application/x-mms-framed$ 
^application/vnd.ms.wms-hdr.asfv1$
acl msn_rep rep_mime_type -i ^application/x-msn-messenger$

#request
acl streaming_req req_mime_type -i ^application/x-mms-framed$ 
^application/vnd.ms.wms-hdr.asfv1$
acl msn_req req_mime_type -i ^application/x-msn-messenger$

http_access deny streaming_req msn_req
http_reply_access deny msn_rep streaming_rep

The above won't mach.. the same request can't match both streaming_req and msn_req..

  http://www.squid-cache.org/Doc/FAQ/FAQ-10.html

What you want is either to join the msn/streaming acls as one single acl, or split your access lines like

http_reply_access deny msn_rep
http_reply_access deny streaming_rep

Read the above document for details.

Regards
Henrik

Reply via email to