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

ccl/sqlproxyccl: add basic login rate limiting #64305

Merged
merged 1 commit into from
May 1, 2021

Conversation

darinpp
Copy link
Contributor

@darinpp darinpp commented Apr 27, 2021

Moves from the CC repo a package which performs basic login admission
control to rate limit login attempts. Login attempts are rate limited
based solely on source IP. Admission control is currently purely a
local decision, but the package this interface defines could easily
become the client-side for connection to a centralized service.

Release note: None

@darinpp darinpp requested a review from andy-kimball April 27, 2021 23:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@andy-kimball andy-kimball left a comment

Choose a reason for hiding this comment

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

:lgtm:

Is the eventual plan to import this package from the cockroachdb repo into the managed-service repo, so that it doesn't exist in both places?

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Moves from the CC repo a package which performs basic login admission
control to rate limit login attempts. Login attempts are rate limited
based solely on source IP. Admission control is currently purely a
local decision, but the package this interface defines could easily
become the client-side for connection to a centralized service.

Release note: None
@darinpp
Copy link
Contributor Author

darinpp commented Apr 30, 2021

:lgtm:

Is the eventual plan to import this package from the cockroachdb repo into the managed-service repo, so that it doesn't exist in both places?

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained

Yes, this is the plan.

@darinpp
Copy link
Contributor Author

darinpp commented Apr 30, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 30, 2021

Build failed:

@darinpp
Copy link
Contributor Author

darinpp commented Apr 30, 2021

bors r+

@craig
Copy link
Contributor

craig bot commented May 1, 2021

Build succeeded:

@craig craig bot merged commit 051de51 into cockroachdb:master May 1, 2021
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.

3 participants