Skip to main content

Module deny

Module deny 

Source
Expand description

Addresses the proxy never connects to, whatever a name resolves to: everything the IANA special-purpose registries mark as not globally reachable (checked against iana-ipv4-special-registry and iana-ipv6-special-registry on 2026-12-03), multicast, and a few that reach the machine or its cloud (NETWORK-ALLOWLIST.md §6). A name that resolves to one of these is refused, so an allowed name can’t be pointed at a printer, a router, a metadata service or this machine.

Structs§

Denial
Why an address is refused.

Enums§

Class
IPv4 blocks: (address, prefix length, why). What kind of address a refusal is about: hosts the user named may reach Class::Private addresses, and Class::Loopback and Class::Own ones with --allow-loopback.

Functions§

denied
Why ip may not be connected to, or None if it may. own are this machine’s addresses.
own_addresses
This machine’s IPv4 and IPv6 addresses, from /proc (Linux); empty elsewhere or when it can’t be read. Read once when the proxy starts.