restreamer
restreamer copied to clipboard
Viewer statistics seemingly not supporting X-Forwarded-For
Using latest restreamer (2.12.0).
The stream settings panel has a section where you can filter out IPs that shouldn't count towards viewer statistics. However, this doesn't seem to take into account the X-Forwarded-For header that may be attached to such a request; for example, I have a Traefik reverse proxy in front of restreamer that handles https and redirects stream viewers to the restreamer container with X-Forwarded-For attached. If I have my localhost IP in the filterlist, it thinks there are always zero listeners, because it filters out Traefik's IP entirely.