zebra_network::constants

Constant MIN_OUTBOUND_PEER_CONNECTION_INTERVAL

source
pub const MIN_OUTBOUND_PEER_CONNECTION_INTERVAL: Duration;
Expand description

The minimum time between outbound peer connections, implemented by CandidateSet::next.

ยงSecurity

Zebra resists distributed denial of service attacks by making sure that new outbound peer connections are only initiated after this minimum time has elapsed.

It also enforces a minimum per-peer reconnection interval, and filters failed outbound peers.