obfuscate

Anonymizing of domain names, names, directory numbers, crypto keys, IP addresses, and MAC addresses.

Format

Function

The translation of names, numbers, IP addresses, and MAC addresses are stored in a configuration file. This file is used as input to get the same translation of anonymized data when anonymizing traces from different program units. The Hex data in the signal trace is not obfuscated. The traces must be printed with parameter -show c, which will not include the hex data in the trace file.

Usage: Read from stdin, anonymize, and print it to stdout. Translation configuration is stored in the configuration file and, by default, can be used as input if it exists.

Directory numbers

Finding number stored as (std::string number). Numbers shorter than 3 digits are not obfuscated. Directory numbers will be replaced by the string Obfuscate-<n>-Dir-<l>, where n is a sequence number, and l is the original number length.

Domain names

The domain names in SIP messages are obfuscated and used in other trace parts. The name is replaced by Obfuscate-<n>-Domain, where n is a sequence number.

IPV4 addresses

The IP V4 address is obfuscated in the format starting with 300.300.300.300 and incremented for every new IP address found. Depending on the level of obfuscation, octets 3 and 4 can contain the original data.

IP V6 addresses

The IPv6 address is obfuscated in the uncompressed format starting with 0:0:0:0:0:0:0, and the following IPv6 address found will obfuscated as 1:1:1:1:1:1:1.

Crypto Keys

The found crypto key is obfuscated with Obfuscate-<n>-Key, where n is a sequence number.

MAC addresses

The found MAC address is obfuscated with Obfuscate-<n>-Mac, where n is a sequence number.

Names

The name found will be obfuscated with Obfuscate-<n>-Name, where n is a sequence number.

Parameters

Examples