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 

User Auth Management of Live Streams *Possible bug?*

 
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 Dec 20, 2005 8:26 pm    Post subject: User Auth Management of Live Streams *Possible bug?* Reply with quote

I have setup htpasswd authentication of the default live stream using this:

<mount>
<mount-name>/stream.m3u</mount-name>
<authentication type="htpasswd">
<option name="filename" value="/usr/local/etc/myauth"/>
<option name="allow_duplicate_users" value="1"/>
</authentication>
</mount>

When I log into the admin/stats.xsl it does not show a red key on that stream. Because of this I cannot add users. I tried manually creating the file using the linux "htpasswd" command but still no luck. If I try to listen to the stream it does ask for a username and password but I cannot authenticate. I have tried using plain text passwords, basic passwords and md5 passwords to no avail. I would be happy to manually create this file if I new the correct password hashing method.

I also tried changing that mount name to /test.m3u I can connect with my source then to test.m3u but the icecast stats page only shows /stream and no option for /test

I am using the latest icecast 2.3.1.

Any thoughts? Would this be considered a bug?
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue Dec 20, 2005 10:45 pm    Post subject: Reply with quote

Do you know that an m3u is a playlist, not a stream. This will authenticate the user/pass passed by your browser to get the playlist which occurs before it starts your player.

maybe you meant <mount-name>/stream</mount-name>

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