Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
Ahh very nice, so how could i add like a MySQL module where usernames and passwords are stored in a MySQL db? can that be created by a third party or does it have to be created internaly? <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Michael Smith" <msmith@xiph.org> To: <icecast-dev@xiph.org> Sent: Thursday, April 01, 2004 11:51 PM Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers <p>> On Friday 02 April 2004 16:00, Dave St John wrote:> > hmmm. never heard of svn > > so we can no longer use cvs? > > Xiph.Org has started using 'Subversion' (commonly abbreviated 'SVN')instead> of CVS - so all new development is happening in the subversion repository. > > > > > >Let me know if you want more details. > > > > Absolutely, spill the beans im all ears :) > > Well, we now have client authentication. Off by default, of course. > > The design allows plugging in new authentication modules (though not > dynamically loading them) relatively easily. Currently only one method is > implemented - "htpasswd". > > With this authentication method, there's one configuration parameter: > "filename" - pointing at an htpasswd file. This is similar to apache's > htpasswd files (though more limited, I think). > > Each line in the file consists of a username, and an md5 hash of thepassword.> We don't currently have a tool to create these automatically. Writing one > would be fairly simple. > > To configure it, open your main icecast config file, and add a <mount>section> as normal for the mountpoint you want this on. Then add an authentication > node inside it, so it'll look something like this: > > <mount> > <mount-name>/authenticated-mountpoint.ogg</mount-name> > <authentication type="htpasswd"> > <option name="filename" value="/path/to/your/password/file"/> > </authentication> > </mount> > > All pretty straightforward apart from the lack of a tool to create the > password file. Using fairly standard unix tools, you can use this to getthe> md5sum you'll need (using a test password of 'foobar': > echo -n "foobar" | md5sum > > This will print out something like > 3858f62230ac3c915f300c664312c63f - > > You can then add it to your password file as follows (in this example, the > user is called "testuser"). Open up the password file, and add a new line, > containing: > testuser:3858f62230ac3c915f300c664312c63f > > So, there you go. > > Proper tools for creating this file will be added eventually. > > Mike > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to'icecast-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. ><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Michael Smith
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
On Friday 02 April 2004 16:00, Dave St John wrote:> hmmm. never heard of svn > so we can no longer use cvs?Xiph.Org has started using 'Subversion' (commonly abbreviated 'SVN') instead of CVS - so all new development is happening in the subversion repository.> > >Let me know if you want more details. > > Absolutely, spill the beans im all ears :)Well, we now have client authentication. Off by default, of course. The design allows plugging in new authentication modules (though not dynamically loading them) relatively easily. Currently only one method is implemented - "htpasswd". With this authentication method, there's one configuration parameter: "filename" - pointing at an htpasswd file. This is similar to apache's htpasswd files (though more limited, I think). Each line in the file consists of a username, and an md5 hash of the password. We don't currently have a tool to create these automatically. Writing one would be fairly simple. To configure it, open your main icecast config file, and add a <mount> section as normal for the mountpoint you want this on. Then add an authentication node inside it, so it'll look something like this: <mount> <mount-name>/authenticated-mountpoint.ogg</mount-name> <authentication type="htpasswd"> <option name="filename" value="/path/to/your/password/file"/> </authentication> </mount> All pretty straightforward apart from the lack of a tool to create the password file. Using fairly standard unix tools, you can use this to get the md5sum you'll need (using a test password of 'foobar': echo -n "foobar" | md5sum This will print out something like 3858f62230ac3c915f300c664312c63f - You can then add it to your password file as follows (in this example, the user is called "testuser"). Open up the password file, and add a new line, containing: testuser:3858f62230ac3c915f300c664312c63f So, there you go. Proper tools for creating this file will be added eventually. Mike <p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Dave St John
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
hmmm. never heard of svn so we can no longer use cvs?>Let me know if you want more details.Absolutely, spill the beans im all ears :) <p>Dave St John Mediacast1 Administration Need Support ? http://mediacast1.com/helpdesk ----- Original Message ----- From: "Michael Smith" <msmith@xiph.org> To: <icecast-dev@xiph.org> Sent: Thursday, April 01, 2004 10:29 PM Subject: Re: [icecast-dev] icecast2 ogg vorbis client request headers <p>> > the main goal of this is for subscription authentication, sure you can use> > a web based from to login > > to a server, however it shows up in winamp or any other player for that > > matter with the link to the server url and mount, > > which leavs a vulneralbility for listeners to spread the server aroundto> > other listeners etc.... > > You may be interested in icecast2-cvs (well... I guess that's"icecast2-svn"> now we've done the conversion). It has a new feature for userauthentication> - you can set it up per-mountpoint, and it uses a file like apache'shtpasswd> for authenticating users. > > This isn't properly documented yet, though. Let me know if you want more > details. > > Mike > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > icecast project homepage: http://www.icecast.org/ > To unsubscribe from this list, send a message to'icecast-dev-request@xiph.org'> containing only the word 'unsubscribe' in the body. No subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. ><p>--- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Geoff Shang
2004-Aug-06 14:57 UTC
[icecast-dev] icecast2 ogg vorbis client request headers
Hi: So does this just use standard HTTP authentication (i.e. user:pasword@server:port) or some other way of getting the stream? Geoff. --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-dev-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.