Skip to main content

is_public_address

Function is_public_address 

Source
pub fn is_public_address(address: IpAddr) -> bool
Expand description

Whether an outbound fetch may reach address: true unless it falls in REFUSED_BLOCKS.

An IPv4-mapped IPv6 address is judged as the IPv4 address it carries, so ::ffff:169.254.169.254 is not a way past the list.