Hi guys , I have a little doubt: It's possible with the last version of icecast2 to set a diffferent password for every mountpoint different from the server's password? Becasue I want to manage the access to the server for every mountpoint and without give the server's password. Another question it's if I do some changes on the icecast.xml configuration , and later restart the icecast with /etc/init.d/icecast2 restart (debian linux box) , icecast takes the changes on the xml configuration? Because I want to try to modify the icecast.xml dinamically with php. Big thanks for your help Goodbye Pierpaolo
Pierpaolo gull~Ha wrote:> It's possible with the last version of icecast2 to set a diffferent > password for every mountpoint different from the server's password?Yes. If you create a <mount> section for each mountpoint, you can specify a password to use. An example is given in the sample config file. My suggestion is to set your global source password to someting only you know and don't give it to anyone except maybe people you trust as they will be able to make any mountpoint with such a password. Maybe it would be useful to be able to disable this? Anyway, then specify a <mount> section for each mountpoint you want to use and give a password in each one. Let me know if you need any further help with this. Geoff.
chiapas at aktivix.org
2008-Jul-22 21:34 UTC
[Icecast] Different password for every mountpoint
2008/7/20 Pierpaolo gull?a <sviluppo at audiias.com>:> Hi guys ,Hi> I have a little doubt:Doubt no more.> It's possible with the last version of icecast2 to set a diffferent > password for every mountpoint different from the server's password?Yes. If you want one password for all encoders (the Icecast default setting) you can amend the following section: <source-password>hackme</source-password> In this scenario anyone can create a stream on any mountpoint on your server using this password ('hackme'). If you want to change the password you simply edit between the tags and include a new plain text password.> Because I want to manage the access to the server for every mountpoint > and without give the server's password.You can do it like this in icecast.xml: <mount> <mount-name>/mount1</mount-name> <password>password1</password> </mount> <mount> <mount-name>/mount2</mount-name> <password>password2</password> </mount>> Another question it's if I do some changes on the icecast.xml > configuration , and later restart the icecast with /etc/init.d/icecast2 > restart (debian linux box) , icecast takes the changes on the xml > configuration?Yes, as far as I know that's how it all works.> Because I want to try to modify the icecast.xml dynamically with php.If you add mountpoints to icecast.xml then you will need to force Icecast to re-read the icecast.xml file before the changes take place. You can do this by sending a SIGHUP signal from the command line using the following command: killall -HUP icecast> Big thanks for your helpHope that helps.> GoodbyeBests> PierpaoloChip