[icecast] details of HTTP Basic auth for icecast2

Michael Smith msmith at labyrinth.net.au
Mon Aug 19 23:07:05 UTC 2002



At 11:35 PM 8/19/02 +0200, you wrote:
>Hi,
>
>A question for the HTTP Basic auth for icecast2: what is the username to 
>use when doing such authentication. The related line in the login is:
>
>Authorization: Basic <base64 encoded string>
>
>where the <base64 encoded string> in its original form is:
>
>username:password
>
>now, what username is used? in the config file for the icecast2 server, 
>one can only set the password (except for the <changeowner> element, but 
>that seems to be not related to the source login issue).

Currently, "source". Other suggestions welcome. 

>
>Also, in the current CVS, I see a sort of mixure in the HTTP-style login 
>protocol. The whole login sequence seems like the following:
>
>SOURCE /<mountpoint> HTTP/1.0
>Content-Type: <application/x-ogg or audio/mpeg>
>Authorization: Basic <base64 encoded string>
>User-Agent: <user agent>
>ice-name: <name>
>ice-url: <url>
>ice-genre: <genre>
>ice-bitrate: <bitrate>
>ice-public: <public>
>ice-description: <description>
>
>
>this seems like a mule, sort of half-HTTP, half-ICE. is this the 
>intended login protocol for the beta release?

I'm not sure. I understand your misgivings about it being 
not-quite-HTTP, but I'm not sure if there's a better solution. I
changed the authentication to using HTTP auth because HTTP _does_
provide a standard way to do it, but the rest it doesn't - and
we still want that information (the rest of it is optional,
remember, leaving SOURCE as the only mandatory non-HTTP part. I
considered using PUT instead of SOURCE, and I could still be
swayed on that, but the semantics seemed sufficiently different
to keep them seperate).

Ideas are welcome.

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-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Icecast mailing list