Re: [squid-users] Block ZIP files

From: Ghislain Garcon <gigi_8439@dont-contact.us>
Date: Tue, 22 Nov 2005 11:10:10 +0100

Rodrigo Benzaquen a écrit :

>Enter to this url and try to download the free version.
>
>http://www.m7.com/downloadNitroX.do
>
>
>
>
And? Where is the problem? You have a dynamic web site and the download
URL doesn't finish with ".zip"!

If you plan to disable all zip application use rep_mime_type acl with an
http_reply_access rule to disable application/zip.

http://www.w3.org/Protocols/rfc2616/rfc2616.html for HTTP header and
http://www.mail-archive.com/squid-users@squid-cache.org/msg33466.html
for a beautiful example!

>Slds.
>
>Rodrigo Benzaquen
>IT
>MercadoLibre.com
>54-11-4014-8015
>
>-----Mensaje original-----
>De: Ghislain Garcon [mailto:gigi_8439@yahoo.fr]
>Enviado el: Martes, 22 de Noviembre de 2005 06:02 a.m.
>Para: Kashif Ali Bukhari
>CC: Rodrigo Benzaquen; squid-users@squid-cache.org
>Asunto: Re: [squid-users] Block ZIP files
>
>Kashif Ali Bukhari a écrit :
>
>
>
>>please send that url may b its diverting to an other URL with "?"
>>mark
>>
>>On 11/21/05, Rodrigo Benzaquen <rodrigo@mercadolibre.com> wrote:
>>
>>
>>
>>
>>>Thanks, I know that if I add \.do$ I´ll block it. But I think is not the
>>>case. The user is downloading the ZIP file with out entering to an
>>>URL with ZIP.
>>>
>>>
>>>
>>>
>>>
>>>
>What about a rep_mime_type acl with an http_reply_access rule?
>
>\.do$ will block all URLs with this extension ( Java servlet ).
>
>
>Regards.
>
>Ghislain Garçon
>
>
>
>>>Slds.
>>>
>>>Rodrigo Benzaquen
>>>IT
>>>MercadoLibre.com
>>>54-11-4014-8015
>>>
>>>-----Mensaje original-----
>>>De: Kashif Ali Bukhari [mailto:kbukhari@gmail.com] Enviado el: Lunes,
>>>21 de Noviembre de 2005 03:14 p.m.
>>>Para: Rodrigo Benzaquen
>>>CC: squid-users@squid-cache.org
>>>Asunto: Re: [squid-users] Block ZIP files
>>>
>>>have a look at URL here there is no regex ending on zip or any other
>>>extantion mantioned in MALOS acl url is ending on \.do$ extantion
>>>
>>>On 11/21/05, Rodrigo Benzaquen <rodrigo@mercadolibre.com> wrote:
>>>
>>>
>>>
>>>
>>>>Hi Guys, I´m new here .
>>>>
>>>>
>>>>I have an ACL like this :
>>>>
>>>>acl MALOS urlpath_regex -i \.zip$ \.mp3$ \.wav$ \.wab$ \.exe$ \.rpm$
>>>>\.ram$ \.mpeg$ \.mpg$ \.avi$ \.bz2$ \.gz$ http_access deny MALOS
>>>>
>>>>But I have a case that is not working.....
>>>>
>>>>Look: http://www.m7.com/downloadNitroX.do
>>>><BLOCKED::http://www.m7.com/downloadNitroX.do> try to download the
>>>>
>>>>
>free
>
>
>>>>version that is a ZIP file. The users can download the zip file
>>>>even if is blocked on the ACL.
>>>>
>>>>Somebody know why ?
>>>>
>>>>
>>>>Many Thanks
>>>>Rodrigo.
>>>>
>>>>
>>>>Slds.
>>>>
>>>>Rodrigo Benzaquen
>>>>IT
>>>>MercadoLibre.com
>>>>54-11-4014-8015
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>--
>>>Syed Kashif Ali Bukhari
>>>Network Engineer
>>>Beaconhouse IT services, Lahore Pakisatan
>>>
>>>
>>>
>>>
>>>
>>>
>>--
>>Syed Kashif Ali Bukhari
>>Network Engineer
>>Beaconhouse IT services, Lahore Pakisatan
>>
>>
>>
>>
>>
>
>
>
>
>
Received on Tue Nov 22 2005 - 03:10:19 MST

This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST