|
ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
|
Per-source-address authentication lockout (PROTOCORE_ENABLE_AUTH_LOCKOUT). More...
#include "protocore_config.h"Go to the source code of this file.
Per-source-address authentication lockout (PROTOCORE_ENABLE_AUTH_LOCKOUT).
A small fixed table of buckets, one per recently-seen source address: consecutive failures escalate a lockout, a success clears it, and the least recently used bucket is evicted when the table is full. The window arithmetic is unsigned throughout, so a millisecond-counter rollover cannot unlock an address early or lock one out forever.
Definition in file auth_lockout.h.