Skip to content
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

feat(balancer): support upstream host_header and router preserve_host config for stream tls proxy #11244

Merged
merged 24 commits into from
Jul 28, 2023

Conversation

oowl
Copy link
Member

@oowl oowl commented Jul 18, 2023

Summary

  1. support upstream host_header config for stream tls proxy, so that TLS upstream sni can be configured by host_header.
  2. support route preserve_host config for stream tls proxy.

Checklist

Issue reference

https://konghq.atlassian.net/browse/FTI-5234

@pull-request-size pull-request-size bot added size/S and removed size/M labels Jul 18, 2023
@oowl oowl changed the title feat(balancer): support upstream preserve_host and host config for stream proxy fix(balancer): support upstream preserve_host and host config for stream proxy Jul 18, 2023
@oowl oowl marked this pull request as draft July 18, 2023 08:58
@oowl oowl changed the title fix(balancer): support upstream preserve_host and host config for stream proxy fix(balancer): support upstream host_header config for stream tls proxy Jul 25, 2023
@oowl oowl marked this pull request as ready for review July 26, 2023 05:56
@oowl oowl added this to the 3.4.0 milestone Jul 26, 2023
@CLAassistant
Copy link

CLAassistant commented Jul 26, 2023

CLA assistant check
All committers have signed the CLA.

@oowl oowl force-pushed the fix/stream-upstream-tls-sni branch 3 times, most recently from 66516f8 to f202d2c Compare July 27, 2023 07:31
@oowl oowl changed the title fix(balancer): support upstream host_header config for stream tls proxy fix(balancer): support upstream host_header and router preserve_host config for stream tls proxy Jul 27, 2023
@oowl oowl changed the title fix(balancer): support upstream host_header and router preserve_host config for stream tls proxy feat(balancer): support upstream host_header and router preserve_host config for stream tls proxy Jul 27, 2023
@RobSerafini RobSerafini requested review from locao and removed request for locao July 27, 2023 16:00
Copy link
Contributor

@StarlightIbuki StarlightIbuki left a comment

Choose a reason for hiding this comment

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

LGTM. Except for the naming of the config.

kong/runloop/balancer/init.lua Outdated Show resolved Hide resolved
CHANGELOG.md Show resolved Hide resolved
spec/02-integration/05-proxy/31-stream_tls_spec.lua Outdated Show resolved Hide resolved
@oowl oowl force-pushed the fix/stream-upstream-tls-sni branch from 8097c7e to 2f56153 Compare July 28, 2023 08:15
@oowl oowl force-pushed the fix/stream-upstream-tls-sni branch from 2f56153 to 2ab6eda Compare July 28, 2023 08:43
oowl added 18 commits July 28, 2023 16:43
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
Signed-off-by: owl <ouyangjun1999@gmail.com>
@oowl oowl force-pushed the fix/stream-upstream-tls-sni branch from 2ab6eda to 0bc10f2 Compare July 28, 2023 08:43
@kikito kikito merged commit 03d24bc into master Jul 28, 2023
20 checks passed
@kikito kikito deleted the fix/stream-upstream-tls-sni branch July 28, 2023 16:59
team-gateway-bot pushed a commit that referenced this pull request Jul 28, 2023
… config for stream tls proxy (#11244)

(cherry picked from commit 03d24bc)
flrgh pushed a commit that referenced this pull request Jul 29, 2023
… config for stream tls proxy (#11244)

(cherry picked from commit 03d24bc)

Co-authored-by: oowl <ouyangjun1999@gmail.com>
@kikito kikito mentioned this pull request Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants