The number of allowed simultaneous requests must be set.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-2240 | WG110 | WG110 A22 | SV-33018r1_rule | 2019-01-07 | 1 |
Description
Resource exhaustion can occur when an unlimited number of concurrent requests are allowed on a web site, facilitating a denial of service attack. Mitigating this kind of attack will include limiting the number of concurrent HTTP/HTTPS requests per IP address and may include, where feasible, limiting parameter values associated with keepalive, (i.e., a parameter used to limit the amount of time a connection may be inactive).
ℹ️ Check
To view the MaxKeepAliveRequests value, enter the following command:
grep "MaxKeepAliveRequests" /usr/local/apache2/conf/httpd.conf
If the returned value of MaxKeepAliveRequests is not set to 100 or greater, this is a finding.
✔️ Fix
Edit the httpd.conf file and set the MaxKeepAliveRequests directive to 100 or greater.