Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

propertytSpamPeerTable.WindowMs

property WindowMs: Cardinal read fWindowMs write fWindowMs;
HOW LONG THE RATE COUNTERS ACCUMULATE BEFORE STARTING AGAIN. Not a limit: the limits live on tSpamRateCheck.

A SHORT window (seconds) measures bursts and forgives sustained load; a LONG one (an hour) measures volume and lets a single burst use up the whole allowance. A minute is the usual compromise - long enough that one pipelined batch does not trip it, short enough that a peer which backs off recovers quickly. Note the counters RESET rather than slide, so a sender that exceeds a limit is clear again at the next window boundary rather than decaying towards it.