Skip to content

Passing X_Forwarded_For in header from proxy server#13527

Merged
swapsmagic merged 1 commit intoprestodb:masterfrom
swapsmagic:log_original_client_ip
Oct 17, 2019
Merged

Passing X_Forwarded_For in header from proxy server#13527
swapsmagic merged 1 commit intoprestodb:masterfrom
swapsmagic:log_original_client_ip

Conversation

@swapsmagic
Copy link
Contributor

@swapsmagic swapsmagic commented Oct 9, 2019

Presto Proxy doesn't pass client address and so presto cluster thinks proxy being the initiating client. As part of this change, proxy will start sending client address in X_Forwarded_For header so it can be used by Presto cluster and log it correctly.

== RELEASE NOTES ==

General Changes
* start forwarding X_Forwarded_For in header from Proxy

@swapsmagic swapsmagic force-pushed the log_original_client_ip branch 2 times, most recently from 13b9c46 to 4db8cc9 Compare October 10, 2019 21:23
@swapsmagic swapsmagic requested review from achao, shixuan-fan and varungajjala and removed request for achao October 10, 2019 23:51
@swapsmagic swapsmagic force-pushed the log_original_client_ip branch 3 times, most recently from c8d07e9 to fb5c9b7 Compare October 16, 2019 19:32
Copy link
Contributor

@shixuan-fan shixuan-fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Make sure Jenkins is green before merging

@swapsmagic swapsmagic force-pushed the log_original_client_ip branch from fb5c9b7 to 51e5829 Compare October 16, 2019 20:30
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.

5 participants