-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Use getRemoteAddress which supports reverse proxies #10735
Conversation
Try increasing your grepping power. I found 4 instances of REMOTE_ADDR instead of 3 |
Yes. But there we log the X-Forwarded-For header instead. I'm not sure if we want to break this again. (some use this together with Fail2Ban) But why not - as long as it is only for master. Objections? |
👍 |
7006ce1
to
b66017e
Compare
👍 |
It did not break the preview, I was still able to login and OC seemed to work fine. |
'll take care of the failing unit tests. |
Failing tests has been fixed with #11019 - please review this as well, afterwards we can rebase and run the tests again. |
Needs rebase |
@LukasReschke Revive this for 8.0 or for 8.1? |
8.1 as well - changes logging format with possible annoyed users otherwise. |
Breaking change for 8.1 wiki (Security > Administrators): The log format for failed logins has changed and uses now the remote address and is considering reverse proxies for such scenarios when configured correctly.
b66017e
to
165afb0
Compare
Rebased - ready to review. |
@nickvergessen @th3fallen Please review. |
The inspection completed: No new issues |
Refer to this link for build results (access rights to CI server needed): |
👍 |
👍 |
Use getRemoteAddress which supports reverse proxies
Thanks guys! 😄 |
Breaking change for 8.1 wiki (Security > Administrators):
The log format for failed logins has changed and uses now the remote address and is considering reverse proxies for such scenarios when configured correctly.