Trusted IPs module.
This module can be used to determine whether or not a given IP address is
in the range of trusted IP addresses defined by the trusted_ips
configuration
property.
Trusted IP addresses are those that are known to send correct replacement addresses for clients (as per the chosen header field, for example X-Forwarded-*).
See the documentation on trusted IPs.