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 

url authentication help

 
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: Tue Feb 13, 2007 4:04 pm    Post subject: url authentication help Reply with quote

Hi all, i 'm configuring icecast2 server to make an audio stream. We
need an authentication system. I read the icecast documentation and
make some test with the configuration that came in the examples
folders of the icecaste tar (but i installed it through the apt-get in
debian).

I don't know if maybe i doesn't understand the differents types of
authentication. We need some method that make a prompt to the user
with the form (i don't know if this is possible with icecast). At
least, althought it appear with a lock by it side, i still can access
without authentication with the direct url (http://ip:8000/audio). Is
there a way to deny the access to a stream if it is not authenticated?

This is my configuration for the mountpoint en icecast.xml:

<authentication type="url">
<option name="add" value="http://192.168.1.251/icesauth/action.php"/>
<option name="remove" value="http://192.168.1.251/icesauth/action.php"/>
<option name="start" value="http://192.168.1.251/icesauth/action.php"/>
<option name="end" value="http://192.168.1.251/icesauth/action.php"/>
<option name="username" value="user"/>
<option name="password" value="pass"/>
<option name="auth_header" value="icecast-auth-user: 1"/>
</authentication>

Guillermo
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Feb 13, 2007 4:30 pm    Post subject: Reply with quote

the option name shoule be "listener_add" "listener_remove" "mount_add" "mount_remove". The username/password only need to be specified if there is some static auth for the actual script to run. The auth_header is there is you need to override the default.

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





PostPosted: Tue Feb 13, 2007 6:14 pm    Post subject: Reply with quote

Thanks karlH. I copy and paste this from the example of the authentication but i didn't read well.

Now it's working perfect.

Guillermo
Back to top
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