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

Unable to ignore proxy IPs #17722

Closed
kevin-shelaga opened this issue Jun 29, 2021 · 1 comment
Closed

Unable to ignore proxy IPs #17722

kevin-shelaga opened this issue Jun 29, 2021 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@kevin-shelaga
Copy link

kevin-shelaga commented Jun 29, 2021

I am unable to make matomo ignore proxy ips following the docs (https://matomo.org/faq/how-to-install/faq_98/)
I have tried various configs, but they all result in the proxy ip showing up as the client ip.

IP:           10.48.0.49
IPs:
  IP:           10.48.0.49
Controlled By:  ReplicaSet/gateway-proxy-654f97dcb4
assume_secure_protocol = 1
proxy_client_headers[] = HTTP_X_FORWARDED_FOR
proxy_ips[] = 10.48.*.*/14

image

Expected Behavior

IPs in range 10.48../14 should be ignored and the client IP should be read from x-forwarded-for

Current Behavior

IP always read from proxy ip

Possible Solution

Steps to Reproduce (for Bugs)

Context

Browsing matomo directly does show my ip on the geolocation page. But user traffic from the website shows the proxy ip.

Your Environment

  • Matomo Version: 4.3.1
  • PHP Version:
  • Server Operating System:
  • Additionally installed plugins:
  • Browser:
  • Operating System:
@kevin-shelaga kevin-shelaga added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Jun 29, 2021
@kevin-shelaga
Copy link
Author

Fixed itself after several restarts.

@tsteur tsteur added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants