Skip to main content

UNIX_SOCKET_PEER

Constant UNIX_SOCKET_PEER 

Source
pub const UNIX_SOCKET_PEER: SocketAddr;
Expand description

The stand-in peer address the Unix listener reports for every client.

It is loopback so that socket clients take the loopback-peer rules: the general client IP extractor bypasses a configured source for them, and IpSource::identifies_client exempts them from the per-address password limit.