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 

Limiting IP addresses

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



Joined: 09 Mar 2009
Posts: 5

PostPosted: Sun Nov 01, 2009 1:09 pm    Post subject: Limiting IP addresses Reply with quote

Hello

I’m running Icecast 2.3.2 with four radio scanner streams feeding the four different mount points.

My problem is bandwidth limitations. The feeds are quite popular, and to conserve bandwidth as much as possible I limit the number of listeners to the individual feeds, and automatically disconnect individual listeners after a set period of time. They can reconnect of course, but at least this eliminates those people not sitting at their computers, and those not aware of how to automatically reconnect.

What I’m noticing is that listeners now connect from the same IP address with the same or differing audio players, Blackberry and I-phones to get around these limitations. I see the same IP address four or five times connected simultaneously.

I did use the <deny> to eliminate all Blackberry use, since they all use similar IP addresses, but that was still a large file, and seems like overkill to eliminate just Blackberry users.

Does icecast have any way to limit connections to one, based on IP address, to either the entire program or individual mount points? If not, I think this would be a desirable feature for future versions.

Any suggestion, or another way around this problem is certainly appreciated.

Peter
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sun Nov 01, 2009 1:45 pm    Post subject: Reply with quote

The only two ways currently of having that are, to kill listeners who have a duplicate IP on the list clients page, means that reconnects would still show up, or use auth url and use the listener_add/_remove scripts to maintain a list of IPs of currently connected listeners. The latter would prevent the second connection from being established.

While this could be pushed into icecast (unique IPs) the question would be, server wide or just mountpoint. I suspect unique IPs per mount would be more common

karl.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Lexx01



Joined: 09 Mar 2009
Posts: 5

PostPosted: Sun Nov 08, 2009 1:40 pm    Post subject: Reply with quote

Thanks for your comments Karl
Back to top
View user's profile Send private message
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