# embeddedIpv4.anonMode

Defines how IPv6 addresses with embedded IPv4 parts are anonymized.

This parameter applies to IP Address Anonymization Module (mmanon).

Name:

  embeddedIpv4.anonMode

Scope:

  input

Type:

  string

Default:

  input=zero

Required?:

  no

Introduced:

  7.3.7

## Description

The available modes are `random`, `random-consistent`, and `zero`.

The modes `random` and `random-consistent` are very similar, in that they both anonymize IP addresses by randomizing the last bits (any number) of a given address. However, while `random` mode assigns a new random IP address for every address in a message, `random-consistent` will assign the same randomized address to every instance of the same original address.

The default `zero` mode will do full anonymization of any number of bits and it will also normalize the address, so that no information about the original IP address is available.

Also note that an anonymized IPv6 address will be normalized, meaning there will be no abbreviations, leading zeros will not be displayed, and capital letters in the hex numerals will be lowercase.

## Input usage

    module(load="mmanon")
    action(type="mmanon" embeddedIpv4.anonMode="random")

## See also

IP Address Anonymization Module (mmanon)

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.