Re: [squid-users] block file download

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 28 Jul 2006 09:48:56 -0800

Marco Berizzi wrote:
> Marco Berizzi wrote:
>
>> Matus UHLAR - fantomas wrote:
>>
>>> You probably missed that many people avoid this problem by
>>> downloading files
>>> like "http://some.example.com/file.exe?" which, of course, does not
>>> match
>>> your regexps.
>>
>> Aha, I didn't know about this. Is there any way to catch this
>> with squid?
>
> ...mhh found:
>
> \.exe(\?*)$
>
>
Which won't block http://some.example.com/file.exe?test=blah.

As stated, if you want to block based on content, you need to look into
a content filter.

Chris
Received on Fri Jul 28 2006 - 11:49:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT