Re: [squid-users] Re: File download blocking

From: Matus UHLAR - fantomas <[email protected]>
Date: Wed, 23 Feb 2005 10:12:46 +0100

On 22.02 09:07, zottmann wrote:
> I think it is better to use a "rep_mime_tipe" acl, because this way you have
> better control over what is being downloaded then using file extensions.

many servers serve wrong types, e.g. use application/base64 for many file
types. I'm afraid the only solution is to put content filter before/behind
SQUID.
 
> You're all probably tired of this subject but I'm having a problem with the
> following config:
>
>
> acl europe src x.x.x.x/x.x.x.x
> acl germany src x.x.x.x/x.x.x.x
>
>
> acl blockfiles url_regex "/etc/squid/denyfiles.txt"
>
>
> http_access deny blockfiles germany
> http_access deny blockfiles europe
>
>
> The contents of the denyfiles.txt looks like this:
>
>
> \.exe$
> \.zip$
> \.mpg$
> \.mpeg
>
>
> The problem is that none of the files I want to block and prevent download
> are actually blocked and can be downloaded.
>
>
> Anyone got any ideas?
>
>
> Many thanks,
>
>
> IM

-- 
Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #99999: Out of error messages.
Received on Wed Feb 23 2005 - 02:12:50 MST

This archive was generated by hypermail pre-2.1.9 : Tue Mar 01 2005 - 12:00:02 MST