Function relay_filter::client_ips::should_filter

source ยท
pub fn should_filter(
    client_ip: Option<IpAddr>,
    config: &ClientIpsFilterConfig,
) -> Result<(), FilterStatKey>
Expand description

Filters events by blacklisted client IP ranges.

The client IP is the address of the originator of the event. If it was forwarded through multiple proxies, this address should be derived from the X-Forwarded-For header. Otherwise, it is the remote socket address.