ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
auth_lockout.h File Reference

Per-source-address authentication lockout (PROTOCORE_ENABLE_AUTH_LOCKOUT). More...

#include "protocore_config.h"

Go to the source code of this file.

Detailed Description

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.

Author
Douglas Quigg (dstroy0)
Date
2026

Definition in file auth_lockout.h.