[Icecast] getting IP address with URL authentication

Milton Huang mph at emotrics.com
Sat Feb 5 00:03:27 UTC 2022


Oh, you are right. I have a nginx pass through proxy set up.  Guess I'll
have to use the nginx logs instead.

On Wed, Feb 2, 2022 at 7:48 AM Philipp Schafft <
phschafft at de.loewenfelsen.net> wrote:

> Good morning,
>
> On Mon, 2022-01-31 at 20:27 -0800, Milton Huang wrote:
> > When I have used Icecast without authentication, the access.log
> > generated includes the IP address of the client in the first field as
> > specified in
> > https://gitlab.xiph.org/xiph/icecast-server/-/blob/master/src/logging.h
> >
> > When I implement URL authentication, however, the first field is now
> > always 127.0.0.1. Am I setting something up wrong in my
> > configuration?
>
> this sound very strange to me as the auth system does not interact with
> the logging.
>
> My guess here would be that it is something unrelated such as a bad
> firewall, load balancer, or reverse proxy.
>
> Maybe you want to check for that. You can also use netstat or similar
> tools to see where the connections to Icecast originate from.
>
> With best regards,
>
> --
> Philipp Schafft (CEO/Geschäftsführer)
> Telephon: +49.3535 490 17 92
>
> Löwenfelsen UG (haftungsbeschränkt)     Registration number:
> Bickinger Straße 21                     HRB 12308 CB
> 04916 Herzberg (Elster)                 VATIN/USt-ID:
> Germany                                 DE305133015
> _______________________________________________
> Icecast mailing list
> Icecast at xiph.org
> http://lists.xiph.org/mailman/listinfo/icecast
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xiph.org/pipermail/icecast/attachments/20220204/ac963a86/attachment.htm>


More information about the Icecast mailing list