-
Notifications
You must be signed in to change notification settings - Fork 5.1k
bp/1.32: original_ip_detection: revert unintended XFF header appending behavior in CustomHeaderIPDetection #37198
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
Conversation
bbeaf86 to
1705a20
Compare
|
I think something is wrong with this PR. It contains 290 commits and 1,278 changed files (including lots of merge conflicts). In the current state, I can't review it. |
Sorry, was tracking |
|
@agrawroh this needs to be addressed on |
|
/assign @wbpcode |
|
LGTM to the code and backport. But the status of PR is weird. |
|
cc @phlax could you take a look at this when you get some free time? Thanks. |
…r in CustomHeaderIPDetection (envoyproxy#37194) This PR restores the original behavior prior to envoyproxy#31831, by explicitly setting `skip_xff_append` to `true`, as appending the `XFF` header from the custom header extension is not required. See envoyproxy#37171 for more details. --- **Commit Message:** original_ip_detection: revert unintended XFF header appending behavior in CustomHeaderIPDetection **Additional Description:** This PR restores the pre envoyproxy#31831 behavior by explicitly setting `skip_xff_append` to `true`, as appending the `XFF` header from the custom header extension is not required. **Risk Level:** Low **Testing:** Added Unit Tests **Docs Changes:** N/A **Release Notes:** Added Signed-off-by: Rohit Agrawal <[email protected]>
phlax
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks @agrawroh
Description
This PR restores the original behavior prior to #31831, by explicitly setting
skip_xff_appendtotrue, as appending theXFFheader from the custom header extension is not required.See #37171 for more details.
Commit Message: original_ip_detection: revert unintended XFF header appending behavior in CustomHeaderIPDetection
Additional Description: This PR restores the pre #31831 behavior by explicitly setting
skip_xff_appendtotrue, as appending theXFFheader from the custom header extension is not required.Risk Level: Low
Testing: Added Unit Tests
Docs Changes: N/A
Release Notes: Added