Skip to main content

Module ip_filter

Module ip_filter 

Source

Functions§

is_public_ip
Returns true if the IP belongs to the public internet: excludes private ranges, loopback, link-local, CGNAT, documentation, benchmarking, multicast and reserved blocks.

Type Aliases§

IpFilter
Predicate applied to resolved IPs before any connection is made.