| View previous topic :: View next topic |
| Author |
Message |
randomposter
Joined: 08 May 2010 Posts: 3
|
Posted: Sat May 08, 2010 10:28 pm Post subject: listener authorization is beating me |
|
|
I am through beating my head on the desk, time to ask for help please.
let me start by saying I have the same issue with both Linux(opensuse) and Windows XP installs. I want to enable listener authorization. my goal is to permit one specific listener to one voice stream, by password access.
I've started from scratch with clean installs. icecast 2.3.2 + simplecast 2.5.3(muse on linux). I leave everything default to get up and running. I am able to connect to the server from the local machine, my internal lan, and using dyndns. evrything tests well.
I then copy/paste the following directly from the website documentation page, http://www.icecast.org/docs/icecast-2.3.1/icecast2_listenerauth.html :
<mount>
<mount-name>/example.ogg</mount-name>
<authentication type="htpasswd">
<option name="filename" value="myauth"/>
<option name="allow_duplicate_users" value="0"/>
</authentication>
</mount>
inserted in icecast.xml below the commented out section about defining a mount.
in the base directory icecast2 win32 I create a file called myauth.
I configure simplecast to mount /example.ogg as a test.
I connect to the server page, follow the admin link to the locked mount point section.
(I never see the red key, only the padlock)
I follow manage authentication, enter a user name and password.
when I check the myauth file in notepad, I see the user name and scrambled password.
back at the main index page I see the padlock, connect to(/example.ogg), click to listen link.
on the local machine, the link works correct, asking for user name and password, opening windows media player, buffering, and playing the stream.
from any other machine or outside link wmp opens and gives the the error:
windows media player cannot play the file because the server is not responding. if you entered a url or path to play the file, verify that it is correct. if you clicked a link to play the file, the link may not be valid.
telling the link to open winamp I see the user name and password endlessly scroll in the window at the ip of the server machine, but there it stalls.
it is not a firewall issue- turned off on both machines.
it is not a router issue- port is forwarded to the correct ip.
it is not operating system specific, Window xp sp3 and opensuse 11.0.
internet explorer, seamonkey, and konquorer browsers.
win media player, winamp, realplayer.
it is something between the chair and the keyboard, I'm missing the obvious. I've been at it for about 10 hours now, wiping and reinstalling operating systems and program files.
I could use some suggestions please. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun May 09, 2010 12:02 am Post subject: |
|
|
The fact that the stream plays on the server but not elsewhere would tend to indicate that the <hostname> is set incorrectly, maybe you have it set to localhost.
karl. |
|
| Back to top |
|
 |
randomposter
Joined: 08 May 2010 Posts: 3
|
Posted: Sun May 09, 2010 12:49 am Post subject: |
|
|
that is correct. I have that as default. would I need to change that to the ip of the machine?
what stumps me is why it plays when no authentication is needed, but does not when requiring authentication.
when I do not use the authentication mount section everything is fine. |
|
| Back to top |
|
 |
karlH Code Warrior

Joined: 13 Jun 2005 Posts: 5476 Location: UK
|
Posted: Sun May 09, 2010 1:25 am Post subject: |
|
|
It will be something missed in the build m3u routine for auth. It won't be checking for the Host header.
karl. |
|
| Back to top |
|
 |
randomposter
Joined: 08 May 2010 Posts: 3
|
Posted: Sun May 09, 2010 2:21 am Post subject: |
|
|
testing is going well so far.
changing <hostname> from localhost to the IP of the machine seems to be the fix.
thank you for your time.
Mike |
|
| Back to top |
|
 |
|
|
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
|