Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Fedora Core Issues

Status
Not open for further replies.

technofool007

Technical User
Jun 30, 2005
41
CA
I am running Fedora core as my proxy server but i really don't know a thing about it. I need to stop my users from streaming online. They listen to the radio etc and I would love to bar this privaledge they now have.

How do I go about doing this?
 
First of all, learn how to configure squid. Visit here to start. Search the web for more.

For now, here's some code snippets I use to accomplish a similar solution. Add them to your squid.conf file and issue [tt]service squid reload[/tt] as root to enable the additional configuration.

Code:
#  Mime-Types
acl asfMimeType rep_mime_type -i ^video/x-ms-asf$
acl asxMimeType rep_mime_type -i ^video/x-ms-asx$
acl mmsMimeType rep_mime_type -i ^application/x-mms-framed$
acl rmMimeType rep_mime_type -i ^audio/x-pn-realaudio$
acl waxMimeType rep_mime_type -i ^audio/x-ms-wax$
acl wmaMimeType rep_mime_type -i ^audio/x-ms-wma$
acl wmsMimeType rep_mime_type -i ^application/vnd.ms.wms-hdr.asfv1$

http_reply_access deny asfMimeType
http_reply_access deny asxMimeType
http_reply_access deny mmsMimeType
http_reply_access deny rmMimeType
http_reply_access deny wmaMimeType
http_reply_access deny wmsMimeType
http_reply_access deny waxMimeType

You should be able to extract more from your logs.

Are your feet getting wet?

Lorenzo Wacondo (System Administrator)

## Just because you can do something doesn't mean you should.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top