Window seconds in Aegisify WAF → API & Application → Legacy API Key and Thresholds (Pro) sets the time period over which REST requests are counted for progressive enforcement. The default is 60 seconds, and the WAF never uses less than 30 seconds.
How counting works
During each window, the WAF keeps two counters for an anonymous client:
- Total REST requests from that IP address.
- REST requests from that IP to the same route.
The higher of the two is compared with the Challenge at, Rate-limit at, and Block at thresholds. When the window expires, counting starts again.
Choosing a window
- 60 seconds makes thresholds easy to reason about as “requests per minute”.
- A longer window (for example 300 seconds) catches slower, steady abuse but keeps clients penalized longer after a burst.
- A shorter window reacts quickly to bursts but forgets them quickly too.
Always choose the thresholds and window together. Doubling the window roughly doubles the counts a normal client will reach.
Defaults do nothing until set
All three REST thresholds default to 0, which disables that step. Setting the window alone has no effect until at least one threshold is positive.
Applies to anonymous traffic by default
Because the logged-in bypass is on by default, authenticated users are not counted.
Related: REST Challenge-at, REST Rate-limit-at, REST Block-at.
