Documentation
¶
Overview ¶
Package netaddr is the runner's one rule for a public address: the ranges web_read, the input-source proxy and the browse proxy never connect to, among them the 6to4 relay anycast range, Azure's wireserver, the IPv6 discard prefix and site-local space, and an ISATAP address that carries an IPv4 address that is not public.
Part of the embedded runner-image build context: stdlib-only.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Network ¶
Network says whether a is an address a person may have named as their own network: a public one, or one in private space (10/8, 172.16/12, 192.168/16, fc00::/7), shared space (100.64/10, where a tailnet's addresses live) or loopback. It is wider than Public by exactly those ranges. Link-local space stays out (169.254/16 and fe80::/10, where cloud metadata answers), as does everything else Public refuses (unspecified, multicast, documentation, reserved, transition ranges that embed another address, and Azure's wireserver).
Types ¶
This section is empty.