Skip to content

backport to 1.16: proxy protocol: set downstreamRemoteAddress on StreamInfo#14132

Merged
mattklein123 merged 4 commits intoenvoyproxy:release/v1.16from
ggreenway:1.16-addr-backport
Nov 21, 2020
Merged

backport to 1.16: proxy protocol: set downstreamRemoteAddress on StreamInfo#14132
mattklein123 merged 4 commits intoenvoyproxy:release/v1.16from
ggreenway:1.16-addr-backport

Conversation

@ggreenway
Copy link
Copy Markdown
Member

@ggreenway ggreenway commented Nov 21, 2020

This fixes a regression which resulted in the downstreamRemoteAddress
on the StreamInfo for a connection not having the address supplied by
the proxy protocol filter, but instead having the address of the
directly connected peer.

This issue does not affect HTTP filters.

Fixes #14087
Backport of #14131

Signed-off-by: Greg Greenway ggreenway@apple.com

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

…amInfo

This fixes a regression which resulted in the downstreamRemoteAddress
on the StreamInfo for a connection not having the address supplied by
the proxy protocol filter, but instead having the address of the
directly connected peer.

This issue does not affect HTTP filters.

Fixes envoyproxy#14087

Signed-off-by: Greg Greenway <ggreenway@apple.com>
…ectly

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Copy link
Copy Markdown
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

Signed-off-by: Greg Greenway <ggreenway@apple.com>
Signed-off-by: Greg Greenway <ggreenway@apple.com>
@mattklein123 mattklein123 merged commit 0717f49 into envoyproxy:release/v1.16 Nov 21, 2020
bianpengyuan pushed a commit to bianpengyuan/envoy that referenced this pull request Nov 30, 2020
…amInfo (envoyproxy#14132)

This fixes a regression which resulted in the downstreamRemoteAddress
on the StreamInfo for a connection not having the address supplied by
the proxy protocol filter, but instead having the address of the
directly connected peer.

This issue does not affect HTTP filters.

Signed-off-by: Greg Greenway <ggreenway@apple.com>

Signed-off-by: Greg Greenway <ggreenway@users.noreply.github.com>
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.

2 participants