Icecast Streaming Media Server Forum Index Icecast Streaming Media Server
Icecast is a Xiph Foundation Project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Stop mass listeners?

 
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server
View previous topic :: View next topic  
Author Message
AlexK



Joined: 05 Apr 2012
Posts: 6

PostPosted: Sun May 13, 2012 8:07 pm    Post subject: Stop mass listeners? Reply with quote

Hi There,

Wonder if you could help me....

We've been having small issues with people overloading our system, they have been opening our stream in several hundred VLC or windows media players, causing our listeners to go to like 7000+.. we usuall have around 500+ listeners, this causes our system to overload as we're currently on a limited inet connection until expansion is required.

Is there a way in the confirm to limit the connections per IP?
Back to top
View user's profile Send private message
Murrawhip



Joined: 21 Dec 2010
Posts: 58

PostPosted: Mon May 14, 2012 4:40 am    Post subject: Reply with quote

You could keep track of the IP addresses of your listeners in a database via the use of listener_add and listener_remove (http://www.icecast.org/docs/icecast-2.3.2/icecast2_listenerauth.html)
Then simply refuse connection if someone already has a connection open.

Might be an easier way, though.
Back to top
View user's profile Send private message Visit poster's website
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Mon May 14, 2012 7:06 pm    Post subject: Reply with quote

For one thing, you can set max-listeners to prevent excessive numbers of connections. You could ban the IP if there seems to be too many from it

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Icecast Server All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group
subRebel style by ktauber