An attacker is using a slow-rate HTTP POST request to exhaust server resources. Which ModSecurity directive should be adjusted to mitigate this behavior?
Trap 1: SecDataDir
This defines the path for persistent storage, not security constraints.
Trap 2: SecRuleEngine DetectionOnly
This puts the engine in logging mode, providing no active mitigation.
Trap 3: SecResponseBodyLimit
This restricts the size of the server's response, not the incoming request.
- A
SecDataDir
Why it fails: This defines the path for persistent storage, not security constraints.
- B
SecRuleEngine DetectionOnly
Why it fails: This puts the engine in logging mode, providing no active mitigation.
- C
SecResponseBodyLimit
Why it fails: This restricts the size of the server's response, not the incoming request.
- D
SecRequestBodyLimit
This limits the size of the request body, preventing resource exhaustion via oversized or slow POST requests.