-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Rate limits for unauthenticated endpoints can cause denial of service in environments using a single NATed IP #30909
Comments
I raised this in #24623 (comment) and some of the limits applied where were reverted in #27747. The |
It's worth calling out that the PR's above exist only in master and wont be released till Teleport 14. So issues in T13 are not from the PR's linked above. That said, those changes actually may improve the situation in a couple ways:
So there is some potential that the customer may have an improved experience with T14. But a feature improvement to make these values configurable would be best for everyone. |
Good point. It would be great to know which endpoint is being rate limited above so we can determine if the upcoming changes will help the situation. |
The customer was unable to get further details on the particular endpoint as when they went to run |
With Lines 557 to 571 in 8268e8d
|
My apologies, I made an error - the tenant is on v11.3.20. It seems the limiter code is quite different there. |
@webvictim is further action needed on this issue? |
Given that the customer will need to upgrade to v12 and beyond soon to remain in support, I think it's OK to close this. |
Expected behavior
Teleport rate limits should be higher for login attempts in NATed office environments, or otherwise configurable through config file/dynamic cluster resource config.
Current behavior
Lots of users logging in at once (for example at the beginning of a day) can cause Teleport to emit errors on login:
Current unauthenticated rate limits appear to be an average of 20 requests per minute with an allowed burst of 40:This was a Teleport Cloud tenant, but the rate limits are the same for all clusters.
Bug details:
13.3.511.3.20The text was updated successfully, but these errors were encountered: