[squid-users] R: [squid-users] Is there any mean to block VIRUSES and others?!?

From: Boniforti Flavio <boniforti.f@dont-contact.us>
Date: Tue, 16 Oct 2001 14:00:04 +0200

>
>
> Boniforti Flavio wrote:
>
> > Is there any mean by using squid to block VIRUSES like
> worms and other such
> > things???
>
> Squid can block HTTP requests some of the current viruses
> uses to spread
> themselves.

Where do I get ACLs for that purpose?

>
> > And what about e-mail attachments?!?!? Can I do anything to
> enteract with
> > their dimensions?
>
> Squid knows nothing about email.
>

So I should do this kind of thing with iptables, right?

> > And another bit of a question: may I block some extensions
> like Multimedia
> > files (AVI, MPEG, MP3 and so on) or may I at least filter
> those extensions
> > by dimension?
>
> Sure. See the urlpath_regex acl type.
>
> acl multimedia urlpath_regex -i \.avi$ \.mpg$ \.mpeg$ \.mp3$
>
> http_access deny multimedia
>

OK, but what about blocking for instance: MP3 > 1.2 MB and AVI > 1.8 MB???
Received on Tue Oct 16 2001 - 05:59:22 MDT

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