Skip to content

conn pool: use hostnames of endpoints as SNI values#34898

Merged
mattklein123 merged 10 commits intoenvoyproxy:mainfrom
dmitriyilin:feature/auto-sni-from-upstream
Jul 16, 2024
Merged

conn pool: use hostnames of endpoints as SNI values#34898
mattklein123 merged 10 commits intoenvoyproxy:mainfrom
dmitriyilin:feature/auto-sni-from-upstream

Conversation

@dmitriyilin
Copy link
Copy Markdown
Contributor

Commit Message: conn pool: use hostnames of endpoints as SNI values
Additional Description: optional support for usage of upstream cluster endpoints' hostnames as SNI values
Risk Level: Low
Testing: integration
Docs Changes: added information about new mechanism of SNI derivation
Release Notes: https://github.com/dmitriyilin/envoy/blob/b8e8a4537e537da66925f442cd5aeb45094cc3c9/changelogs/current.yaml#L377
Platform Specific Features: N/A
Fixes #15839

Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
@repokitteh-read-only
Copy link
Copy Markdown

Hi @dmitriyilin, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #34898 was opened by dmitriyilin.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @abeyad
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #34898 was opened by dmitriyilin.

see: more, trace.

abeyad
abeyad previously approved these changes Jun 25, 2024
Copy link
Copy Markdown
Contributor

@abeyad abeyad left a comment

Choose a reason for hiding this comment

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

/lgtm api

Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
@dmitriyilin
Copy link
Copy Markdown
Contributor Author

dmitriyilin commented Jun 26, 2024

I see that "Publish and verify" check fails in other PRs as well. Is anything required from me?

@dmitriyilin
Copy link
Copy Markdown
Contributor Author

Just realized that "auto_san_validation" functionality is not consistent with the new mechanism. I'll fix it.

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.

LGTM with small comment, thanks.

/wait

Comment thread api/envoy/config/core/v3/protocol.proto
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
@dmitriyilin
Copy link
Copy Markdown
Contributor Author

@mattklein123 , @abeyad I've fixed SAN validation. Can you review the changes?

@dmitriyilin dmitriyilin requested a review from mattklein123 July 1, 2024 18:01
abeyad
abeyad previously approved these changes Jul 1, 2024
Copy link
Copy Markdown
Contributor

@abeyad abeyad left a comment

Choose a reason for hiding this comment

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

/lgtm api

@repokitteh-read-only repokitteh-read-only Bot removed the api label Jul 1, 2024
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
@abeyad
Copy link
Copy Markdown
Contributor

abeyad commented Jul 10, 2024

FYI, I'll be OOO for a couple weeks, so if this PR has API changes again that need further review, you probably want to find another API reviewer, thanks!

Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.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.

LGTM with small nit, thanks.

/wait

Comment thread source/common/conn_pool/conn_pool_base.cc
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.com>
@dmitriyilin dmitriyilin requested a review from mattklein123 July 15, 2024 11:44
@dmitriyilin
Copy link
Copy Markdown
Contributor Author

@mattklein123 , can you help finding a new member of API shepherds for reviewing the change? Does @envoyproxy/api-shepherds referencing work?

Copy link
Copy Markdown
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

/lgtm api

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!

@mattklein123 mattklein123 merged commit 6db316f into envoyproxy:main Jul 16, 2024
phlax added a commit to phlax/envoy that referenced this pull request Jul 16, 2024
…xy#34898)"

This reverts commit 6db316f.

Signed-off-by: Ryan Northey <ryan@synca.io>
phlax added a commit to phlax/envoy that referenced this pull request Jul 16, 2024
…xy#34898)"

This reverts commit 6db316f.

Signed-off-by: Ryan Northey <ryan@synca.io>
phlax added a commit that referenced this pull request Jul 17, 2024
…#35212)

This reverts commit 6db316f.

Signed-off-by: Ryan Northey <ryan@synca.io>
dmitriyilin added a commit to dmitriyilin/envoy that referenced this pull request Jul 23, 2024
…nvoyproxy#34898)" (envoyproxy#35212)"

This reverts commit d84f707.

Signed-off-by: Dmitriy Ilin <dmitry.m.ilyin@gmail.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.

Support using each individual upstream's endpoint hostname as SNI parameter

4 participants