On Thursday 16 March 2006 14:19, Marco Berizzi wrote:
> I'm blocking download of .wmv files with acl urlpath_regex,
> but, for example, this wmv isn't catched by this rule:
>
> http://www.gametrailers.com/download.php?id=7174&type=wmv&f=
>
> squid.conf:
> acl trojans urlpath_regex \.wmv$
> http_access deny trojans

The URL path here is probably: /download.php?

And you are looking for anything that ends in ".wmv".

So this doesn't match. Try http_reply_access with content type ACLs. 
Detecting downloads by looking at the URL is ludicrous. And I'm ashamed we 
tried the same thing for years. ;) This is but one example why it's not 
reliable.

Cheers
 Christoph
-- 
~
~
".signature" [Modified] 1 line --100%--                1,48         All

Reply via email to