Skip to content

Fix backwards compatibility with Proxy Recording mode fixes#62213

Merged
Joerger merged 1 commit intomasterfrom
joerger/fix-proxy-rec-backwards-compatibility
Dec 16, 2025
Merged

Fix backwards compatibility with Proxy Recording mode fixes#62213
Joerger merged 1 commit intomasterfrom
joerger/fix-proxy-rec-backwards-compatibility

Conversation

@Joerger
Copy link
Copy Markdown
Contributor

@Joerger Joerger commented Dec 12, 2025

Fix a backwards compatibility issues in #59850 where an old node would fail to respond to the new session-id-query-v2@goteleport.com query and the up to date proxy would treat it as a fatal error for the session:

> tsh ssh root@cvasquez-desktop-discovery-sh                                   
ERROR: ssh: rejected: administratively prohibited (remote session open failed: )
Manual Tests

Last run: 1aa58e9

Backwards compatibility:

Proxy Node
new new
new old
old new
old old

Copy link
Copy Markdown
Contributor

@rosstimothy rosstimothy left a comment

Choose a reason for hiding this comment

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

Is this something we can cover in a test?

@Joerger
Copy link
Copy Markdown
Contributor Author

Joerger commented Dec 12, 2025

Is this something we can cover in a test?

Not easily since it's a backwards compatibility bug. I'd need to create a server mock to act like an old node and find a way to isolate the code in the forwarding server for unit testing, and I'm not sure exactly what that would look like.

@Joerger Joerger added the no-changelog Indicates that a PR does not require a changelog entry label Dec 16, 2025
@Joerger Joerger enabled auto-merge December 16, 2025 19:20
@Joerger Joerger added this pull request to the merge queue Dec 16, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Dec 16, 2025
@Joerger Joerger added this pull request to the merge queue Dec 16, 2025
Merged via the queue into master with commit 30b4bdc Dec 16, 2025
44 of 47 checks passed
@Joerger Joerger deleted the joerger/fix-proxy-rec-backwards-compatibility branch December 16, 2025 20:04
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@Joerger See the table below for backport results.

Branch Result
branch/v18 Create PR

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

Labels

backport/branch/v18 no-changelog Indicates that a PR does not require a changelog entry size/sm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants