Several Aegisify WAF modules use progressive enforcement: as a client sends more requests in a time window, the response escalates. The three thresholds describe the escalation points.
The three thresholds
- Challenge at: the request count at which the client must pass the browser challenge.
- Rate-limit at: the count at which the server returns HTTP 429 Too Many Requests.
- Block at: the count at which the server returns HTTP 403 Forbidden.
When a count reaches more than one threshold, the strongest action applies (block beats rate limit, which beats challenge).
Where they are used
- DDoS Settings: per traffic group, per IP, per 60 seconds. See DDoS thresholds.
- API & Application → Legacy API Key and Thresholds (Pro): REST progressive thresholds with their own window. See REST Challenge-at.
What a value of 0 means
For REST progressive thresholds, 0 disables that step. The defaults are all 0, so REST progressive enforcement does nothing until you set values. You can, for example, set only a Block-at value and skip challenges entirely.
Choosing values
- Look at normal peak traffic in the charts.
- Set Challenge comfortably above that peak.
- Set Rate-limit and Block progressively higher.
- Keep the order Challenge ≤ Rate-limit ≤ Block.
API clients cannot complete a JavaScript challenge, so for REST traffic you may prefer to rely on Rate-limit and Block.
Related: DDoS progressive enforcement, REST window.
