Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jun 2000 09:26:07 -0500 (CDT)
From:      Chris Dillon <cdillon@wolves.k12.mo.us>
To:        Ivan Minchev <vanko@uni-svishtov.bg>
Cc:        Love Bug <Love@fil.net>, freebsd-isp@FreeBSD.ORG
Subject:   Re: Blocking MPG
Message-ID:  <Pine.BSF.4.20.0006140919330.26628-100000@mail.wolves.k12.mo.us>
In-Reply-To: <004501bfd607$85c8aea0$3dad44c1@unisvishtov.bg>

index | next in thread | previous in thread | raw e-mail

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



home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.20.0006140919330.26628-100000>