[Icecast] Empty username and password for stream_auth
Christian Stoller
Christian.Stoller at leonex.de
Tue Jun 16 13:25:00 UTC 2020
Hi,
we are using Icecast with url authentication for some days now. This generally works quite well. But our web service that provides the authentication check sometimes gets requests with the following parameters:
{
"action":"stream_auth",
"mount":"/stream",
"ip":"xxxxx",
"server":"xxxx.yyyy.de",
"port":"12345",
"user":"",
"pass":"",
"admin":"1"
}
The passed username and password is empty. Why does this happen and what should our authentication provider response to such a request?
Currently we response with HTTP status code 403 and the header "Icecast-Auth-Message: No username provided".
Icecast logs the following at the time of the request:
> [2020-06-11 10:08:57] INFO auth/auth_stream_authenticate request source auth for "/stream"
> [2020-06-11 10:08:57] INFO auth/queue_auth_client auth on /stream has 1 pending
> [2020-06-11 10:08:57] WARN auth/stream_auth_callback Failed auth for source "/stream"
I hope you can help me.
Best regards
Mit freundlichen Grüßen aus Paderborn
Christian Stoller
Web-Entwicklung
LEONEX Internet GmbH
Technologiepark 6
33100 Paderborn
Tel: +49 (5251) 4142-526
Fax: +49 (5251) 4142-501
HRB 8694 AG Paderborn
Geschäftsführer: Stephan Winter
________________________________
LEONEX ist Google Premier Partner.
Mit der staatlichen Förderung Go-Digital in die Digitalisierung. Wir sind Ihr Ansprechpartner für
erfolgreiche Webauftritte, E-Commerce, individuelle Softwarelösungen, Online-Marketing und Hosting.
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20200616/16025270/attachment.htm>
More information about the Icecast
mailing list