Skip to main content

DEFAULT_SUBNET_IPV4_PREFIX

Constant DEFAULT_SUBNET_IPV4_PREFIX 

Source
pub const DEFAULT_SUBNET_IPV4_PREFIX: u32 = 32;
Expand description

Default IPv4 prefix length (bits) used to derive the subnet key. 32 masks nothing, so enabling only max_connections_per_subnet yields a per-address counter rather than a surprising aggregation. /24 is the recommended starting point; see doc/configure.md.