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
-----------------------------------------------
initializing PktAnon, configuration = /usr/share/doc/pktanon/examples/profiles/profile-identity.xml
istream: opened file profiles/sample.pcap
ostream: opened output file out.pcap
initialized
complete
statistics for input file 'profiles/sample.pcap'
processed packets: 9
errors in packets: 0
elapsed time: 22us
Mpps: 0.409
01 August 2018 | pktanon 2~git20160407.0.2bde4f2+dfsg |