waf_core/network/mod.rs
1// SPDX-FileCopyrightText: 2026 0x00spor3
2// SPDX-License-Identifier: Apache-2.0
3
4//! Shared network helpers. Currently the trusted-proxy client-IP resolver,
5//! reused by rate limiting, structured logging and future Geo/IP-reputation —
6//! the real client IP is derived **once** and read by everyone from
7//! `RequestContext::client_ip`.
8
9mod client_ip;
10
11pub use client_ip::{is_valid_cidr, ClientIpResolver, IpSource, ResolvedClientIp};