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 

Listener Authentication + Relay

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





PostPosted: Sat May 06, 2006 10:41 am    Post subject: Listener Authentication + Relay Reply with quote

Hello everybody,

I have two questions about the great Icecast2 server:
Scenario: The first Icecast2 server handles an ogg vorbis stream with enabled listener authentication. A second Icecast2 server shall relay this stream including the user + password combinations for listener authentication from the first server automatically, so that a user can login and access both streams with the same username and password.
Is this possible just with Icecast2 capabilities? If not, could that be done by setting up both streams (original and relayed one) with the same mount point configuration (except the individual part with the relay password on the relay server of course) and simply synchronize the authentication file with the users and their passwords between the two servers? Also I found a section in the New features list of version 2.2.0 and a section in the actual official documentation dedicated to that topic, my first question is only partially answered.
Also it would be nice to have MySQL-based authentication. I read that "New authenticators will be added later" in the official documentation. So actually, are their any plans for a MySQL authenticator?

Best regards,
Georg(e)
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat May 06, 2006 11:55 am    Post subject: Reply with quote

You will need to define a username/password for the relay to use when it connects to the first icecast. That user/pass can be specified in the <relay> details.

The two authentications schemes possible (with 2.3.1) are htpasswd and url. htpasswd is a nice and simple search of a local file for a matching user/pass combination, both servers would need access to this but a regular update of the file could be organized. The url authenticator invokes a specified url on certain events, like listener_add, to verify the listener credentials. The first icecast and the relay can use the same authentication url if they wish.

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