ddn.net.dtls.replay
DTLS anti-replay protection.
Implements the sliding window algorithm specified in RFC 6347 §4.1.2.6 to detect duplicate or replayed DTLS records.
struct DtlsReplayWindow
Types 1
structDtlsReplayWindow
DTLS anti-replay window (RFC 6347 §4.1.2.6).
Uses a 64-bit sliding window to detect duplicate or old records. Sequence numbers are 48-bit values (top 16 bits of ulong unused).
Fields
private ulong left_private ulong bitmap_Methods
bool checkAndMark(ulong seq) @safe pure nothrow @nogcCheck if a sequence number is acceptable and mark it as seen.