Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

PeerSourceKey

function PeerSourceKey(const aPeer: string): string;
The source a peer address counts as against MaxConnectionsPerPeer: stSocketAddress.SourceAddressKey with cPeerSourceIPv6PrefixBits. An IPv4 address is itself, an IPv4-mapped IPv6 address is its IPv4 address, any other IPv6 address is its /64, and a port or brackets go.