Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Olsen on January 14, 2005, 06:38:01 PM

Title: How To Block Streaming audio
Post by: Olsen on January 14, 2005, 06:38:01 PM
I am currently experiencing some bandwith issues on our server with users that are streaming audio.  How can I block this on the SME server????
Title: Re: How To Block Streaming audio
Post by: raem on January 15, 2005, 02:18:09 AM
Perhaps Dansguardian.
It can block downloading of certain file types (as specififed by administrator) and also block access to certain URLs.
For that matter you can block ALL web access and then only allow certain sites and file types.
Let us know how you go.

http://mirror.contribs.org/smeserver/contribs/rmitchell/smeserver/howto/dansguardian%20instal%20&%20configure%20HOWTO%20for%20sme%20server.htm

or dungog.net has a commercial version with a server manager panel.
Title: How To Block Streaming audio
Post by: Olsen on January 18, 2005, 04:22:58 PM
Dans Guardian would provide a work around, but it is impossible for me to identify all of the sites that stream online radio and other music.  I am not sure what file types are utilized in streaming audio, but I am sure I can identify that.  I am concerned about the server slowing down with Squidguard, SpamAssassin, ClamAV, mailrules, Pattern blocking...and then to add dans guardian.  Won't this cause more processing on the server?

I thought that streaming music used a specific port in order to stream music, does anyone know?
Title: How To Block Streaming audio
Post by: cc_skavenger on January 19, 2005, 03:29:43 AM
Not really.  Sites like yahoo, or windows media use port 80...
Title: How To Block Streaming audio
Post by: Olsen on January 19, 2005, 06:15:13 AM
Will blocking port 80 affect any other web functionality?  If not, how do I block a port in SME?
Title: How To Block Streaming audio
Post by: raem on January 19, 2005, 06:26:38 AM
Olsen

> I am concerned about the server slowing down with > Squidguard, SpamAssassin, ClamAV, mailrules,
> Pattern blocking...and then to add dans guardian.  > Won't this cause more processing on the server?

I have all that and more except Squidguard running, and the machine goes fine (P4 2.G 1G RAM). A couple of those actually reduce server load !

Port 80 handles http requests, you shouldn't block that (that was the point the last poster was making, there is audio streaming on the regularly used port 80 at some sites).

I was only suggesting that you may be able to block audio streaming by blocking file download acccess using Dansguardian, but I have not tried it personally.
I do use DG to block many other file types & URLs and it works very effectively.
Title: Dansguardian+Squid+dungog.net
Post by: treyh on January 19, 2005, 08:46:05 PM
Squid + Dansguardian is a very good combination.

Dungog.net has a plugin for sme that allows the setup for dansguardian to be done in a few clicks. It also adds a section to the Server Manager.

I also like to setup pam_auth for the proxy (squid + dansguardian) so they have to login to view the internet.

Just some thoughts...  :pint:

http://www.dungog.net/sme/index.php
Title: How To Block Streaming audio
Post by: hanscees on January 30, 2005, 11:42:26 PM
I am looking into blocking url's and stuff too.

I do not know yet howto access the squid config in sme, but using squid acl's you can block content-types. This must make it possible to stop streaming audio I think. Unless file type is text/html or something.

see

http://www.squid-cache.org/Doc/FAQ/FAQ-10.html#ss10.1

Hans-Cees