-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Proxy Protocol: Pass through V2 TLVs to upstream #24944
Conversation
Signed-off-by: Boteng Yao <boteng@google.com>
Signed-off-by: Boteng Yao <boteng@google.com>
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to |
Pending release note. |
/retest |
Retrying Azure Pipelines: |
Signed-off-by: Boteng Yao <boteng@google.com>
Signed-off-by: Boteng Yao <boteng@google.com>
🙀 Error while processing event:
|
neither of as, well,, thanks! can be assigned to this issue. |
/assign @yanavlasov |
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.
/wait
source/extensions/common/proxy_protocol/proxy_protocol_header.cc
Outdated
Show resolved
Hide resolved
source/extensions/common/proxy_protocol/proxy_protocol_header.cc
Outdated
Show resolved
Hide resolved
source/extensions/filters/listener/proxy_protocol/proxy_protocol.h
Outdated
Show resolved
Hide resolved
source/extensions/transport_sockets/proxy_protocol/proxy_protocol.h
Outdated
Show resolved
Hide resolved
test/extensions/transport_sockets/proxy_protocol/proxy_protocol_integration_test.cc
Outdated
Show resolved
Hide resolved
test/extensions/transport_sockets/proxy_protocol/proxy_protocol_integration_test.cc
Outdated
Show resolved
Hide resolved
Signed-off-by: Boteng Yao <boteng@google.com>
Signed-off-by: Boteng Yao <boteng@google.com>
Hi @envoyproxy/api-shepherds, and @markdroth, can we get this API reviewed? Thanks! |
@botengyao looks like build failure is real: https://source.cloud.google.com/results/invocations/f7ace5fd-8582-499c-aa4d-36e93034a549/log |
/wait |
Signed-off-by: Boteng Yao <boteng@google.com>
Hi @yanavlasov, @markdroth, and @envoyproxy/api-shepherds, cc @alyssawilk, PTAL, thanks! |
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
initialize(); | ||
|
||
IntegrationTcpClientPtr tcp_client = makeTcpConnection(lookupPort("listener_0")); | ||
; |
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.
nit: extra ;
/lgtm api |
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.
Just 1 clarifying question
Signed-off-by: Boteng Yao boteng@google.com
Co-authored-by: Siyuan Zhou siyuan.zhou@mongodb.com
This PR will store Proxy Protocol V2 TLVs to filter state based on the API config. And upstream can send these TLVs in transport socket based on the pass through config as well.
Some discussion already happened here: #18940
And thanks @siyuan.zhou@mongodb.com for the initial work.
Commit Message:
Additional Description:
Risk Level: Low
Testing: unit & integration test
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]