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

Reject unsupported clients by default #41239

Merged
merged 1 commit into from
May 13, 2024
Merged

Conversation

rosstimothy
Copy link
Contributor

#38026 made rejecting client running unusupported major versions an opt-in behavior. Moving forward(v16 and beyond) this is now going to be an opt-out behavior(TELEPORT_UNSTABLE_ALLOW_OLD_CLIENTS=yes). In addition, a cluster alert is now being emitted once for the life of an Auth process if it rejects an unsupported client - with visibility limited to users with token:create permissions.

@rosstimothy rosstimothy added the no-changelog Indicates that a PR does not require a changelog entry label May 6, 2024
@rosstimothy rosstimothy force-pushed the tross/reject_connections branch 9 times, most recently from 940c969 to 1b6442e Compare May 7, 2024 15:14
@rosstimothy rosstimothy marked this pull request as ready for review May 7, 2024 16:15
@rosstimothy
Copy link
Contributor Author

PTAL @camscale @ryanclark

lib/auth/middleware.go Show resolved Hide resolved
lib/auth/middleware.go Outdated Show resolved Hide resolved
lib/auth/middleware.go Outdated Show resolved Hide resolved
lib/auth/middleware.go Outdated Show resolved Hide resolved
@rosstimothy rosstimothy force-pushed the tross/reject_connections branch 3 times, most recently from 38221c0 to a030af3 Compare May 10, 2024 23:09
@rosstimothy rosstimothy requested a review from camscale May 10, 2024 23:14
#38026 made rejecting client running unusupported major versions an
opt-in behavior. Moving forward(v16 and beyond) this is now going
to be an opt-out behavior(TELEPORT_UNSTABLE_ALLOW_OLD_CLIENTS=yes).
In addition, a cluster alert is now being emitted once for the life
of an Auth process if it rejects an unsupported client - with
visibility limited to users with token:create permissions.
@rosstimothy rosstimothy added this pull request to the merge queue May 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2024
@rosstimothy rosstimothy added this pull request to the merge queue May 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2024
@rosstimothy rosstimothy added this pull request to the merge queue May 13, 2024
Merged via the queue into master with commit ffa3dba May 13, 2024
37 checks passed
@rosstimothy rosstimothy deleted the tross/reject_connections branch May 13, 2024 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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