Re: [squid-users] Bypassing ACLs

From: Robert Collins <robert.collins@dont-contact.us>
Date: 11 Sep 2001 22:24:11 +1000

On Tue, 2001-09-11 at 22:13, Leonardo Rodrigues Magalhães wrote:
>
> Hello Guys,
>
> I'm running squid 2.4S2 with some ACLs denying some extensions ( like
> .mp3, .zip and others ). These rules are done with a text file with one
> extension per line, like ".mp3$", ".zip$". The $ means 'at the end of URL'.
>
> There are some extensions that I cannot block at all, I mean, I want my
> users browsing www.mp3.com ( so I cannot block just .mp3 ). Altough, I do
> not want them downloading mp3 files. .mp3$ is working fine for this.
>
> But I have discovered ( hope my users dont ) that using
> http://someplace/somefile.mp3?type=i bypass the ACL and MP3 is downloaded.
>
> Question ...... is there a way of telling squid to bypass arguments when
> applying url_regex rules ?????
>

One way is
(mp3$|mp3\?.*)

Rob
Received on Tue Sep 11 2001 - 06:23:37 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:07 MST