Re: [squid-users] Blocking file types

From: Robert Collins <robert.collins@dont-contact.us>
Date: Wed, 14 Mar 2001 23:17:59 +1100

I'm not sure if this is in squid 2.4 or not, but there is an acl type of
rep_mime_type, which combined with http_reply_access will allow that.

Rob

----- Original Message -----
From: "Bruno Guerreiro" <bruno.guerreiro@ine.pt>
To: <squid-users@ircache.net>
Sent: Wednesday, March 14, 2001 11:04 PM
Subject: [squid-users] Blocking file types

> Hi all,
> I've just implemented block to several file extensions (mp3, wma, qt,
> mpeg,...) thru ACL's, and it's working quite fine.
> Now I'm noticing a really strange thing in my log file
>
> <---------------- snip ------------------->
>
> Wed Mar 14 11:52:06 2001 497984 xxx.xxx.xxx.xxx TCP_MISS/200 2348174
GET
> http://
>
download01.idrive.com/DLServerTicket=2:8lgnRqz80iPLUHBbuKFxT0xdOrwBV7OCh
IS0L
> NYYl
>
ICCSQ7MkGL5wF0rQzRDsWbSMuNlrobBqnkblZFPVoPbzncy2zC1oBoYbpUhCnESwe8sZZcHM
Zh85
> lr3N
>
cd3LTv9ABHfswRP9owTXSzgCl27wVKYDOFNmoT8U5OGRsP-7TsdkHNcXncBCTxpkl1bkxmqU
XFoz
> ZQTU
>
3TRDV!Hdmh42MEjYFq9iSam!-jiHnCValbjLaq6Rs!DwyOk1CpRmZnx9WD!XaJD5wc0fERrZ
IYMM
> xg97
>
IGiDz1b50DDUqQmaRFinZvnecOpTRtpKeMTVzThsy7P4EqJWSfhHW9IW8MlfDmoBidbbJUwY
I2LH
> R4gy
>
mMg4vUe!m!DGqGXzRui6kdIN-!57IfbLIAKK3UN18jshFPD9-ii-o7uKT2WgNxlBxqoUvEiI
1bgZ
> qMa4
>
JcCYkjWOus8Y5Bhy!w1scTbKPUBmt5-NJfG678QcZv2nrY-wptpAAdYgPHGdSYT49UNqtBoa
epyd
> fFc7
>
zn4fg6Uo300Ki!K7rocbSnHHwzXJPsBdY4HuivzJFWKipOa!MHIJglWph65F5J783/07.doc
 -
> FIRST
> _UP_PARENT/xxx.xxx.xxx.xxx audio/x-ms-wma
>
> <--------------end snip --------------->
>
> So the extension is .doc but the content is described as x-ms-wma?
> I believe that in fact this is a .wma file renamed to .doc
> Is there any way to block the file based on the audio/x-ms-wma
description
> without blocking the .doc files?
> Tanx in advance.
>
> Regards,
> Bruno Guerreiro
>
Received on Wed Mar 14 2001 - 05:18:19 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:38 MST