View previous topic :: View next topic |
Author |
Message |
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Sun Jan 28, 2007 8:35 pm Post subject: How to make listeners and sources to use different IPs? |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jan 29, 2007 1:45 am Post subject: |
|
|
no, you could use 2 seperate icecast instances to do this, one being a slave.
karl. |
|
Back to top |
|
|
MoeRadio.ru
Joined: 28 Jan 2007 Posts: 12 Location: Moscow, Russia
|
Posted: Mon Jan 29, 2007 5:31 am Post subject: |
|
|
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 |
|
|
karlH Code Warrior
Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Mon Jan 29, 2007 2:02 pm Post subject: |
|
|
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 |
|
|
|