Rakotomandimby (R12y) Mihamina
2005-Feb-08 15:31 UTC
[Icecast] multiple sources, multiple passwords
Hello, Is it possible to have one password per source with Icecast 2.2.x ? How to ? -- ASPO Infog?rance http://aspo.rktmb.org/activites/infogerance Unofficial FAQ fcolc http://faq.fcolc.eu.org/ LUG sur Orl?ans et alentours (France). T?l : 02 34 08 26 04 / 06 33 26 13 14
Rakotomandimby (R12y) Mihamina
2005-Feb-08 16:07 UTC
[Icecast] multiple sources, multiple passwords
On Wed, 2005-02-09 at 00:31 +0100, Rakotomandimby (R12y) Mihamina wrote:> Hello,Have you got some examples? what tags, parameters and values should I use, in what section ? -- ASPO Infog?rance http://aspo.rktmb.org/activites/infogerance Unofficial FAQ fcolc http://faq.fcolc.eu.org/ LUG sur Orl?ans et alentours (France). T?l : 02 34 08 26 04 / 06 33 26 13 14
On Wed, 09 Feb 2005 00:31:27 +0100, Rakotomandimby (R12y) Mihamina <mihamina@mail.rktmb.org> wrote:> Hello, > Is it possible to have one password per source with Icecast 2.2.x ? > How to ?Yes. This is described in the documentation, see the section in icecast2_config_file.html on "Mount Specific Settings". You'll need to explicitly configure each mountpoint you want to have a separate password (and optionally username). You don't need to set up any of the other things in the <mount> section, except for <mount-name> to specify which mountpoint this applies to. Mike
NOTE: I replied to him in person instead of on this list. My mistake, here is the mail again, for the record. Rakotomandimby (R12y) Mihamina wrote:> On Wed, 2005-02-09 at 00:31 +0100, Rakotomandimby (R12y) Mihamina wrote: > > >> Hello, >> > > > Have you got some examples? what tags, parameters and values should I > use, in what section ? > > >Hi, I will show you the options you need to change. Leave all the others in place, or change them to your needs. Taking the supplied icecast.xml as a base, you should edit: <authentication> <source-password>password_only_you_know</source-password> </authentication> (once again, in <authentication> there are more settings, leave them, and change if necessary) This will keep people from creating new mountpoints (streams). Now will enable a mountpoint so a user can stream via your server: <mount> <mount-name>/stream.ogg</mount-name> <username>the_name_of_the_user_you_want_to_allow_access_to</username> <password>his_password</password> </mount> (once again: leave the other options, or change them if you want) Now create new <mount> </mount> sections like the one you've just created for each and every user you want to give access to. Just use different <mount-name> , <username> and <password> settings for each. The configuration file has a few comments on the specific options, so judge for yourself if other things need to be adjusted (like number of listeners). Hope this will get you going, If this is not enough help, reply with your icecast.xml and your changes, so we can see more of what you're trying to do. Dennis p.s. you will need to give each source-client (your users) the values <mount-name>, <username> and <password> of their specific mountpoint to put into their broadcasting software.