Re: [squid-users] filter extensions in zip archives

From: Jeff Pan <jeffpan@dont-contact.us>
Date: Mon, 15 Aug 2005 09:05:16 +0800

url_regex acl can do that maybe.

You can use the url_regex ACL to match any part of a requested URL,
including the transfer protocol and origin server hostname. For example,
this ACL matches MP3 files requested from FTP servers:

acl FTPMP3 url_regex -i ^ftp://.*\.mp3$

On Sun, 14 Aug 2005 15:09:46 +0200, "Christoph Haas"
<email@christoph-haas.de> said:
> On Tue, Aug 09, 2005 at 12:16:49PM +0200, Mario D&#246;ring wrote:
> > is it possible to have a deny-filter based on the
> > file-extension or mime-type of the files in a zip/rar/tar/gz... archive?
>
> Since Squid doesn't look into the content of an HTTP object it cannot do
> that (unless you add content inspection it to the source ;) ).
>
> Regards
> Christoph
> --
> ~
> ~
> ~
> ".signature" [Modified] 3 lines --100%-- 3,41 All

-- 
  Jeff Pan
  jeffpan@fastmail.cn
-- 
http://www.fastmail.fm - The way an email service should be
Received on Sun Aug 14 2005 - 19:05:28 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:01 MDT