Skip to main content

Module replay_detector

Module replay_detector 

Source
Expand description

Replay protection for sequence-numbered packets, as DTLS and SRTP require.

Structs§

NoOpReplayDetector
A detector that accepts everything.
SlidingWindowDetector
A replay detector over a monotonically increasing sequence number that never wraps.
WrappedSlidingWindowDetector
A replay detector for a sequence number that wraps at a known maximum.

Traits§

ReplayDetector
Tracks which sequence numbers have already been seen, so replayed packets can be dropped.