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 

How to make listeners and sources to use different IPs?

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Sun Jan 28, 2007 8:35 pm    Post subject: How to make listeners and sources to use different IPs? Reply with quote

I'm setting up a free radio hosting in Russia and need to bind listeners and sources to different IPs (the reason for this is that listeners may be re-routed to relay servers using ipvsadm while sources have to stay always on the main server).

I can set 2 different <listen-socket> items each binded to a different IP with <bind-address>, but how do I make sure that listeners don't connect to the <listen-socket> for sources and vice versa? Is there a way to separate them in Icecast?
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 Jan 29, 2007 1:45 am    Post subject: Reply with quote

no, you could use 2 seperate icecast instances to do this, one being a slave.

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



Joined: 28 Jan 2007
Posts: 12
Location: Moscow, Russia

PostPosted: Mon Jan 29, 2007 5:31 am    Post subject: Reply with quote

Thank you, interesting solution. Does master relay count as a listener? I.e. can I set <clients> to 0 on master server and <sources> to 0 on relay server?
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 Jan 29, 2007 2:02 pm    Post subject: Reply with quote

no, the clients is the max allowed to connect as any client including a relay. You can set clients to be the number of relays (+some for web requests) and/or set max-listeners to 0 and/or use authentication where user/pass are only supplied to relayers.

The relayers will need sources set to at least the number of relays.

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