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

Use useragent_ip instead of client_ip on Apache 2.4 #12

Merged
merged 1 commit into from
Apr 30, 2013

Conversation

jwittkoski
Copy link
Contributor

Although r->connection->client_ip is the 2.4 equivalent of r->connection->remote_ip in Apache 2.2, for mod_auth_pubtkt's use case it's more appropriate to check against r->useragent_ip, which is the IP of the actual user if there is a transparent load balancer or proxy between the user and the server.

For more details: https://httpd.apache.org/docs/2.4/developer/new_api_2_4.html

manuelkasper added a commit that referenced this pull request Apr 30, 2013
Use useragent_ip instead of client_ip on Apache 2.4
@manuelkasper manuelkasper merged commit ba4e760 into manuelkasper:master Apr 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants