-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Near: "_ip" support in prepared queries #3798
Milestone
Comments
11 tasks
mkeeler
added a commit
that referenced
this issue
Apr 10, 2018
3 tasks
mkeeler
added a commit
that referenced
this issue
Apr 11, 2018
Also fixed an issue where we need to have the X-Forwarded-For header processed before the RemoteAddr. This shouldn’t have any functional difference for prod code but for mocked request objects it allows them to work.
mkeeler
added a commit
that referenced
this issue
Apr 11, 2018
mkeeler
added a commit
that referenced
this issue
Apr 11, 2018
mkeeler
added a commit
that referenced
this issue
Apr 11, 2018
mkeeler
added a commit
that referenced
this issue
Apr 11, 2018
Allow DNS peer IP as the source IP. Break early when the right node was found for executing the preapred query. Update docs
mkeeler
added a commit
that referenced
this issue
Apr 12, 2018
mkeeler
added a commit
that referenced
this issue
Apr 12, 2018
Test HTTP/DNS source IP without header/extra EDNS data. Add WARN log for when prepared query with near=_ip is executed without specifying the source ip
mkeeler
added a commit
that referenced
this issue
Apr 12, 2018
Update docs a little Update/add tests. Make sure all the various ways of determining the source IP work Update X-Forwarded-For header parsing. This can be a comma separated list with the first element being the original IP so we now handle csv data there. Got rid of error return from sourceAddrFromRequest
This is done in #4023 and is part of 1.0.7. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prepared queries should support a special
?near=_ip
lookup to sort results by proximity to an IP similar to how?near=_agent
sorts by proximity to the local agent (using coordinates).The text was updated successfully, but these errors were encountered: