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

Skip session data recording for networking requests #48868

Merged
merged 4 commits into from
Nov 14, 2024

Conversation

Joerger
Copy link
Contributor

@Joerger Joerger commented Nov 13, 2024

The new networking process for v17 inherited a small bug in the forwarding server context which causes a session.data audit event with missing fields. This PR skips the audit event by setting recording mode to off, but a better long term solution would be to separate "connection", "command", and "server" contexts. ServerContext is just trying to do too much and isn't very reusable.

Fixes #48728

@Joerger Joerger added no-changelog Indicates that a PR does not require a changelog entry backport/branch/v17 merge-for-v17 and removed size/sm labels Nov 13, 2024
@Joerger Joerger requested a review from codingllama November 14, 2024 19:30
lib/srv/regular/sshserver_test.go Show resolved Hide resolved
lib/srv/regular/sshserver_test.go Outdated Show resolved Hide resolved
lib/srv/regular/sshserver_test.go Outdated Show resolved Hide resolved
@Joerger Joerger force-pushed the joerger/skip-session-data-for-networking-requests branch from 66094dd to c3ff32a Compare November 14, 2024 20:23
@Joerger Joerger requested a review from codingllama November 14, 2024 20:23
@public-teleport-github-review-bot public-teleport-github-review-bot bot removed the request for review from kiosion November 14, 2024 21:13
@Joerger Joerger force-pushed the joerger/skip-session-data-for-networking-requests branch from c3ff32a to f4d1ddc Compare November 14, 2024 22:10
@Joerger Joerger enabled auto-merge November 14, 2024 22:10
@Joerger Joerger added this pull request to the merge queue Nov 14, 2024
Merged via the queue into master with commit 4846ef4 Nov 14, 2024
39 checks passed
@Joerger Joerger deleted the joerger/skip-session-data-for-networking-requests branch November 14, 2024 22:47
@public-teleport-github-review-bot

@Joerger See the table below for backport results.

Branch Result
branch/v17 Create PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/branch/v17 merge-for-v17 no-changelog Indicates that a PR does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Extra session data entry with no sid
3 participants