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

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





PostPosted: Sat Dec 17, 2005 5:03 pm    Post subject: URL authentication Reply with quote

Hi,

I found a bug with Icecast 2.3.0 and URL authentication.

When a listener is connecting, Icecast doesn't call the url. Here is my authentication config:

<authentication type="url">
<option name="listener_add" value="<my domain name>/authentication.php" />
<option name="username" value="user" />
<option name="password" value="pass" />
<option name="auth_header" value="icecast-auth-user: 1" />
<option name="timelimit_header" value="icecast-auth-timelimit:" />
<option name="allow_duplicate_users" value="0" />
</authentication>


This message appears in error.log:
[2005-12-17 11:42:17] INFO auth/add_client adding client for authentication
[2005-12-17 11:42:17] INFO auth_url/url_add_client client auth (<my domain name>/authentication.php) failed with ""


When I verify my http server log, I see that Icecast did not send the query.

This bug is intermittent. Normally it works but this issue can appear for a couple of hours in a row. After that period, the URL authentication is back to normal.

Does somebody knows how to bypass that?

Thanks!

Ughridk
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Sat Dec 17, 2005 6:35 pm    Post subject: Reply with quote

can you try with 2.3.1, there were a couple of changes with url auth, but no configuration changes are needed.

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





PostPosted: Wed Jan 25, 2006 2:22 pm    Post subject: Reply with quote

I upgraded to 2.3.1 three weeks ago. The bug is back again.

Last week-end, I restarted Icecast and the normal anthentication process was back. Today (the bug was back again), I did it the same way but it doesn't work.

For now, I've stopped the URL authentication process and I've hidden the stream.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 25, 2006 2:45 pm    Post subject: Reply with quote

That message indicates that authentication failed and also no error message was sent back to indicate a problem. Without more info it's hard to debug this but a libcurl request has just being completed at the time of the failure message, so there should of been some access to your auth server.

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





PostPosted: Mon May 14, 2007 11:03 pm    Post subject: Reply with quote

i know this thread is over a year old but I am also having the very same problem here. icecast is completely disregarding my instruction to run the request by my php script.

nothing in the access or error logs to suggest that it has tried

really need it to run it past the php

thanks

help
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 15, 2007 1:28 am    Post subject: Reply with quote

Can you determine which libcurl version you are running with. The behaviour described has not been reported so my guess is that there is some libcurl version issue. If you want you can try my latest branch which has an updated auth url and works with the latest libcurl.

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





PostPosted: Tue May 15, 2007 2:50 pm    Post subject: Reply with quote

with kh11a i am getting

Could not parse XSLT file

haha disregard the above lol, i forgot to change the webroot and admin root etc, doh, back in a bit to let u know how i got on
Back to top
Anonymous
Guest





PostPosted: Tue May 15, 2007 8:05 pm    Post subject: Reply with quote

Wooooohoooooo

Go on yourself Karl

KH11A works perfectly.
Back to top
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Tue May 15, 2007 8:54 pm    Post subject: Reply with quote

keep an eye on it for the problem occurring again. The problem described has only been mentioned here, so while it could be a bug in 2.3.1 which affects libcurl, it could still be an issue with libcurl and if so even the update could be affected.

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



Joined: 22 Apr 2009
Posts: 3

PostPosted: Wed Apr 22, 2009 10:10 am    Post subject: Reply with quote

Embarassed got the exact same problem , acn some one help Embarassed
_________________
Bhavatmaj seth
Home of handmade eco friendly necklaces and costume jewelry
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Icecast Streaming Media Server Forum Index -> Bug Reports 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