Skip to main content

Module noop_ddos

Module noop_ddos 

Source
Expand description

§No-op DDoS protection

Implements crate::transport::ddos::ddos::DdosProtection as unconditional accept: every connection is allowed, no score is tracked, no IP is ever banned. Used by tests that exercise code paths downstream of the DDoS layer without also wanting to reason about scoring dynamics.

Structs§

NoopDdosProtection
No-op DDoS protection — allows all requests unconditionally. Use this in general integration tests where DDoS behaviour is not under test.