Documentation
¶
Overview ¶
Package netutil provides address checks for outbound HTTP requests.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BlockedIP ¶
BlockedIP reports whether ip is disallowed for outbound HTTP requests. It rejects invalid, private, local and selected special-purpose addresses. Tunneling prefixes are blocked conservatively, including their public destinations. Standard NAT64 uses the embedded IPv4 policy so public destinations remain usable. Network-specific translation and routing cannot be inferred from an IP address.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.