# embeddedIpv4.bits

Sets how many low-order bits of embedded IPv4 addresses within IPv6 are anonymized.

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

Name:

  embeddedIpv4.bits

Scope:

  input

Type:

  positive integer

Default:

  input=96

Required?:

  no

Introduced:

  7.3.7

## Description

This sets the number of bits that should be anonymized (bits are from the right, so lower bits are anonymized first). This setting permits to save network information while still anonymizing user-specific data. The more bits you discard, the better the anonymization obviously is. The default of 96 bits reflects what German data privacy rules consider as being sufficiently anonymized. We assume, this can also be used as a rough but conservative guideline for other countries.

## Input usage

    module(load="mmanon")
    action(type="mmanon" embeddedIpv4.bits="80")

## 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.