i'm doing what you want this way:
create a file to store the file extensions which you want to restrict:
#/squid/etc/deniedtypes
# denied file extensions file:
\.afx$
\.asf$
\.asx$
\.au$
\.avi$
\.divx$
\.m3u$
\.mov$
\.mp2$
\.mp3$
\.mpeg$
\.mpg$
\.qt$
\.ra$
\.ram$
\.rm$
\.viv$
\.vivo$
\.vob$
\.vqf$
\.wav$
\.wma$
\.wmv$
\.vbs$
\.shs$
\.pif$
then add an acl that defines where your file is denied filetypes
acl deniedtypes url_regex "/squid/etc/deniedtypes"
and then restrict http access for denied filetypes
http_access deny deniedtypes
if you want you can give a special errormessage to your users by adding this
rule:
deny_info ERR_DENIED_FILE_TYPE deniedtypes
this allows you to restrict multimedia video and audio filetypes and some
malicious scripts and such...
hope this helps
-----Original Message-----
From: Adrian Bolzan [mailto:Adrian.Bolzan@aot.com.au]
Sent: Thursday, March 08, 2001 6:14 PM
To: squid-users@ircache.net
Subject: [SQU] stopping RealPlayer/RealAudio/RealVideo
hello,
I would like to block RealPlayer/RealAudio/RealVideo feeds into our
company. Although I can lock down the firewall RealPlayer 8 has an HTTP
access option that uses Port 80, which I cannot block or all of the HTTP
traffic will stop.
I do not want to use any sort of authentication but thought there might be
another way.
Any help would be appreciated.
Also, recently somone asked about stopping mp3 downloads but I cannot
seem to find the postings. I would like to stop avi's, mpg's etc. so would
like to see the ACL lists for mp3 again. Any help there would also be
appreciated.
thanks,
adrian
-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.html -- To unsubscribe, see http://www.squid-cache.org/mailing-lists.htmlReceived on Thu Mar 08 2001 - 18:37:37 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:35 MST