[EMAIL PROTECTED] wrote:

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?



with the rep_mime_type and http_reply_access acl.


Emilio C.





Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to