Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewer statistics seemingly not supporting X-Forwarded-For #856

Open
lc-guy opened this issue Nov 30, 2024 · 0 comments
Open

Viewer statistics seemingly not supporting X-Forwarded-For #856

lc-guy opened this issue Nov 30, 2024 · 0 comments
Labels
bug Program error or software error or software anomaly.

Comments

@lc-guy
Copy link

lc-guy commented Nov 30, 2024

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.

@lc-guy lc-guy added the bug Program error or software error or software anomaly. label Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Program error or software error or software anomaly.
Projects
None yet
Development

No branches or pull requests

1 participant