From owner-freebsd-isp Wed Jun 14 7:27: 2 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 39BA337B5C3 for ; Wed, 14 Jun 2000 07:26:58 -0700 (PDT) (envelope-from cdillon@wolves.k12.mo.us) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id JAA26708; Wed, 14 Jun 2000 09:26:08 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Wed, 14 Jun 2000 09:26:07 -0500 (CDT) From: Chris Dillon To: Ivan Minchev Cc: Love Bug , freebsd-isp@FreeBSD.ORG Subject: Re: Blocking MPG In-Reply-To: <004501bfd607$85c8aea0$3dad44c1@unisvishtov.bg> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, 14 Jun 2000, Ivan Minchev wrote: > acl deny_list urlpath_regex -i \.mpg$ > http_access deny deny_list Here's what I use: acl MULTIMEDIA urlpath_regex -i "/usr/local/etc/squid/acls/MULTIMEDIA" root@cheetah.wolves [/usr/local/etc/squid/acls]# cat MULTIMEDIA \.abs \.aif \.aifc \.aiff \.asf \.asx \.avi \.dcr \.lsf \.lsx \.m1v \.m3u \.mid \.midi \.moov \.mov \.mp2 \.mp3 \.mpa \.mpe \.mpeg \.mpega \.mpegv \.mpg \.mpv \.mpx \.qt \.ra \.ram \.rm \.rmi \.rpm \.swf \.vbs \.vdo \.voc \.wav I don't actually deny these, but use them in conjunction with delay_pools so that they can be bandwidth-limited. -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For Intel x86 and Alpha architectures. ( http://www.freebsd.org ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message