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 

Global Authentication

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



Joined: 19 Jan 2010
Posts: 1

PostPosted: Tue Jan 19, 2010 11:29 pm    Post subject: Global Authentication Reply with quote

hello!

is possible to have global authentication?

Actually i have per mount authentication working:

Code:

 <mount>                                                                                                                           
        <mount-name>/test.php</mount-name>                                                                                               
        <authentication type="url">                                                                                                   
            <option name="mount_add"       value="http://xx/mountadd.php"/>                                 
            <option name="mount_remove"    value="http://xx/mountremove.php"/>                               
            <option name="listener_add"    value="http://xx/listeneradd.php"/>                               
            <option name="listener_remove" value="http://xx/listenerremove.php"/>                           
        </authentication>                                                                                                             
   </mount>       


But i need system wide authentication. Is that possible?

I also try <mount-name>/*</mount-name> but i don't work...

Any tip?

Thanks!


Last edited by psyhuaska on Tue Jun 08, 2010 8:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
karlH
Code Warrior
Code Warrior


Joined: 13 Jun 2005
Posts: 5476
Location: UK

PostPosted: Wed Jan 20, 2010 12:49 am    Post subject: Reply with quote

The only way to use wildcard support (to allow 1 mount definition to be applied to several mountpoints) is to use my branch work. For most, the underlying routines already exists but on some platforms, a substitute routine was required and so far that has shown to be working well.

There are issues to be wary of though. The order of those mounts if multiple mount definitions will match (last one matches). If you use /* then that applies to everything including the xsl pages in webroot and icons (you can make a dummy entry for say /*.png or /*.xsl with no auth to get around that). Lastly the number of auth requests to have ongoing at any one time, but default it is 1, but the handlers option will allow up to 20 currently.

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