Skip to content

Get safe destination address when proxying to cluster#25405

Merged
AntonAM merged 1 commit intomasterfrom
anton/fix-proxy-cluster-dst-address
May 1, 2023
Merged

Get safe destination address when proxying to cluster#25405
AntonAM merged 1 commit intomasterfrom
anton/fix-proxy-cluster-dst-address

Conversation

@AntonAM
Copy link
Copy Markdown
Contributor

@AntonAM AntonAM commented May 1, 2023

Since we're proxying connection from grpc we rely on listener address for getting client destination address, that is used in PROXY header. But if listener's address is unspecified we need to replace it with loopback. Getting safe address was added to ProxySSH, but was missing from ProxyCluster function in the transportv1 which lead to failed connections if proxy listener mode was separate

Closes #25365

@AntonAM AntonAM added bug test-plan-problem Issues which have been surfaced by running the manual release test plan backport/branch/v13 labels May 1, 2023
@github-actions github-actions Bot requested review from lxea and timothyb89 May 1, 2023 03:43
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from lxea May 1, 2023 17:45
@AntonAM AntonAM added this pull request to the merge queue May 1, 2023
Merged via the queue into master with commit 72c55e6 May 1, 2023
@AntonAM AntonAM deleted the anton/fix-proxy-cluster-dst-address branch May 1, 2023 18:02
@public-teleport-github-review-bot
Copy link
Copy Markdown

@AntonAM See the table below for backport results.

Branch Result
branch/v13 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug size/sm test-plan-problem Issues which have been surfaced by running the manual release test plan

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unable to tsh ssh or tsh ls in 13.0.0-alpha.2

3 participants