If you like you can try using mime types and deny it using http_reply_access
using application/x-msdos-program as you mime type to block
-----Original Message-----
From: Peņa, Botp [mailto:botp@delmonte-phil.com]
Sent: Sunday, June 29, 2003 8:12 PM
To: squid-users@squid-cache.org
Subject: RE: [squid-users] deny downloads fr webmails
Adam Aube [mailto:aaube@firstindependent.net] wrote:
> >I'd like to deny downloading of files fr common webmails like
> >yahoo/hotmail. It's the webmail downloads I cannot catch.
> >
> >I only get this kind of log:
> >
> >1056815851.164 934 10.1.1.1 TCP_MISS/200 11237 GET
> >http://us.f138.mail.yahoo.com/ym/ShowLetter? - DEFAULT_PARENT/10.
> 254.254.6
> >application/x-msdos-program
> >
> >Is it possible in squid to deny such download?
>
> Check more log entries for these downloads - do all of them come
> from a mail.yahoo.com server and use the ShowLetter script?
> Is ShowLetter
> used only when downloading files?
>
> If so, you could try using a url_regex acl - something like this:
>
> acl YahooFiles url_regex -i mail\.yahoo\.com.+ShowLetter
> http_access deny YahooFiles
but this in itself is not enough. I would not let them download executable
files only. Surely, I would allow them to download textfiles.
> If it were possible, it would be far easier to simply block the sites
sorry, cannot do that.
Does anyone know of any squid add-in that does filtering of files in
webmails?
> Adam
kind regards -botp
-- This message has been scanned for viruses and dangerous contents on SSCR Email Scanner Server, and is believed to be clean. --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.493 / Virus Database: 292 - Release Date: 6/25/2003 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.493 / Virus Database: 292 - Release Date: 6/25/2003 -- This message has been scanned for viruses and dangerous contents on SSCR Email Scanner Server, and is believed to be clean.Received on Mon Jun 30 2003 - 00:06:40 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:40 MST