Crate actix_client_ip_cloudflare
source ·Expand description
Extractor for client IP addresses when proxied through Cloudflare.
Structs
- Extractor for a client IP that has passed through CloudFlare and is verified as not spoofed.
- Trusted IP ranges.
Enums
- A source for client’s IP address when server is behind Cloudflare.
- A source for client’s IP address when server is behind Cloudflare.
Constants
- Cloudflare’s
cf-connecting-ipheader name. - Cloudflare’s
cf-connecting-ipv6header name. - URL for Cloudflare’s canonical list of IP ranges.
Functions
- fetch_trusted_cf_ips
fetch-ipsFetched trusted Cloudflare IP addresses from their API.