Andrew Sherman has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21700 )

Change subject: IMPALA-13310 Add the value of the http 'X-Forwarded-For' header 
to the runtime profile
......................................................................


Patch Set 3:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21700/3/be/src/transport/THttpServer.cpp
File be/src/transport/THttpServer.cpp:

http://gerrit.cloudera.org:8080/#/c/21700/3/be/src/transport/THttpServer.cpp@167
PS3, Line 167: origin_ = value;
> https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For#p
I think you are right that this is possible.
The proxies we have seen do seem to chain the values.
I could change the code to support additional values
This would mean the current trusted_domain_use_xff_header support would also be 
theoretically incorrect.
I would also have to work out how to test this.



--
To view, visit http://gerrit.cloudera.org:8080/21700
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I2e010cfb09674c5d043ef915347c3836696e03cf
Gerrit-Change-Number: 21700
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Comment-Date: Tue, 27 Aug 2024 18:45:43 +0000
Gerrit-HasComments: Yes

Reply via email to