Recipe 12-1: Detecting High Application Access Rates
This recipe shows you how to use ModSecurity to determine when individual clients are making a large number of requests within a specified time window.
Ingredients
- OWASP ModSecurity Core Rule Set (CRS)
- modsecurity_crs_10_setup.conf
- modsecurity_crs_11_dos_protection.conf
- ModSecurity
- IP:DOS_COUNTER variable
- IP:DOS_BURST_COUNTER variable
- IP:DOS_BLOCK variable
- @gt operator
- setvar action
CAPEC-125: Resource Depletion through Flooding