gitlab-org--gitlab-foss/doc/security/rate_limits.md
Mayra Cabrera b57d399212 Add docs for rate limiter on raw endpoints
The section was included on security/raw_limits and on the admin area
settings.

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/48717
2019-08-16 12:20:17 +00:00

1.2 KiB

type
reference, howto

Rate limits

NOTE: Note: For GitLab.com, please see GitLab.com-specific rate limits.

Rate limiting is a common technique used to improve the security and durability of a web application.

For example, a simple script can make thousands of web requests per second. Whether malicious, apathetic, or just a bug, your application and infrastructure may not be able to cope with the load. For more details, see Denial-of-service attack. Most cases can be mitigated by limiting the rate of requests from a single IP address.

Most brute-force attacks are similarly mitigated by a rate limit.

Admin Area settings

Rack Attack initializer

This method of rate limiting is cumbersome, but has some advantages. It allows throttling of specific paths, and is also integrated into Git and container registry requests. See Rack Attack initializer.