[squid-users] filtering by file extension (was: problem with req_mime_type)

From: <mangoo@dont-contact.us>
Date: Tue, 4 May 2004 14:32:39 +0000

Hello,
 
Building an acl with urlpath_regex, for example to deny downloading .zip files
is quite easy, if the downloading is happening from an ftp server.
 
However, preventing to do so from certain http servers can be a bit of a pain.
 
In a link below, there is a zip file:
 
http://www.sveasoft.com/modules/phpBB2/dlman.php?func=select_folder&folder_id=12
 
Clicking on it would result in downloading a zip file named
Satori_v2_2.00.8.7sv-pre1.bin.zip.
 
However, Squid logs it as follows:
 
1083673720.252 30799 195.143.49.115 TCP_MISS/200 3024638 GET
http://www.sveasoft.com/modules/phpBB2/dlman.php? - DIRECT/213.242.178.190
application/x-zip-compressed
 
and therefore, this file I wanted to deny with urlpath_regex is passed
through.
 
Is it possible to filter such files somehow, and if so, how?
 
-- T.
 

--
------------------------
 Jeszcze lepsza oferta AlphaNet
 - nowe serwery wirtualne
 - nowy sklep internetowy
 - nowy wirtualny administrator
 Sprawdz www.alpha.pl 
------------------------
Received on Tue May 04 2004 - 06:32:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Jun 01 2004 - 12:00:01 MDT