How IP address anonymization works
masterNetconan uses prefix-preserving anonymization for IPv4 and IPv6 addresses. This means addresses with a common prefix will share the same prefix length after anonymization, preserving network topology.
Key behaviors:
- Host Bits: By default, the last
8bits of each IP address are preserved to prevent breaking point-to-point links or NAT pools. Use--preserve-host-bits Bto change this or--preserve-host-bits 0to disable it. - Prefix Preservation: Use
--preserve-prefixesto preserve specific prefixes (host bits within them will still be anonymized). - Address Preservation: Use
--preserve-addressesto skip anonymization for specific networks or addresses entirely. - Private Addresses: Use
--preserve-private-addressesto skip anonymizing all addresses in private-use blocks (e.g., RFC 1918). - Reversibility: If you use a consistent
--salt, you can reverse IP anonymization using the--undoflag.