pktanon(1) | pktanon(1) |
pktanon - profile-based traffic anonymizer
pktanon [-c profile_file] input_file output_file
pktanon [options] [input_file] [output_file]
Pktanon is a generic framework for network traffic anonymization. It aims at enabling wide-spread use of realistic network traces by providing fine-grained, profile-based anonymization. It can easily be configured by anonymization profiles, which are used to define how the network traffic should be made anonymous. Such profiles ensure an easy adaptation of the information actually being made anonymous to different environments or local legislation.
Configuration:
Input Parameters:
Output Parameters:
(if '--socket' option is set:)
Miscellaneous:
PktAnon needs a configuration file. Sample configuration files can be found in the profiles directory in the distribution. This directory also includes a sample network trace. Two included configuration files are ’profile-identity.xml' and 'profile.xml'. The first configuration copies all the fields from original packets into anonymized packets except that packets content is cropped. The second configuration anonymizes mac addresses, ip addresses, and ports in the packets.
To anonymize sample trace using sample configuration files run:
or
pktanon -c /usr/share/doc/pktanon/examples/profiles/profile-identity.xml profiles/sample.pcap out.pcap
The output should look like this:
pktanon -c /usr/share/doc/pktanon/examples/profiles/identity.xml profiles/sample.pcap out.pcap
pktanon --- profile-based traffic anonymization
statistics for input file 'profiles/sample.pcap' processed packets: 9 errors in packets: 0
The anonymized trace out.pcap will be created in the root directory of the distribution. If the output file already exists it will be trimmed and rewritten without any warning.
15 July 2020 | pktanon 2~git20160407.0.2bde4f2+dfsg |