Debian Codegraph @

plugins/cryptopan/cpan-dts/README

raw
1 1. Introduction
2
3 This is an implementation of the cryptography based prefix-preserving trace
4 anonymization technique described in "Prefix-Preserving IP Address
5 Anonymization: Measurement-based Security Evaluation and a New Cryptography-
6 based Scheme" authored by Jun Xu, Jinliang Fan, Mostafa Ammar and Sue Moon.
7 In this implementation, we use Rijndael cipher(AES algorithm) as underlying
8 pseudorandom function.
9
10
11 2. Files
12
13 The package contains following files
14
15 README this file
16 DISCLAIMER standard disclaimer
17 rijndael.h
18 rijndael.cpp Szymon Stefanek([email protected])'s C++ implementation of the
19 Rijndael cipher(now becomes AES) based on Vincent Rijmen and
20 K.U.Leuven implementation 2.4.
21 panonymizer.h
22 panonymizer.cpp Our implementation of the prefix-preserving IP anonymizer
23 using Rijndael cipher as pseudorandom function. The two files
24 implement class PAnonymizer. Class PAnonymizer needs a 256-bit
25 key for initialization before being used to anonymize IP
26 addresses in prefix-preserving manner.
27 sample.cpp This is a sample program to illustrate the use of class
28 PAnonymizer. The program reads in an example trace file
29 "sample_trace_raw.dat", anonymizes the IP addresses in the
30 trace file, and output the sanitized trace file to the
31 standard out. You can redirect the output to a file if you
32 like. The key in the file are settable.
33 sample_trace_raw.dat This is an example raw trace file. Each line of the
34 trace is in the format of "time packetsize a.b.c.d", where
35 "a.b.c.d" is IP address. The sanitized trace has the same
36 format, preserving everything except the IP addresses, which
37 are anonymized.
38 sample_trace_anonymized.dat This is the output when running the sample
39 program upon "sample_trace_raw.dat".
40 Makefile The makefile to generate "sample", the executable of
41 sample.cpp.
42
43
44 3. Compile and run the sample program
45
46 To compile the sample program "sample.cpp", run
47
48 make all
49
50 To run the sample program, run
51
52 sample sample_trace_raw.dat
53
54 The sanitized version of "sample_trace_raw.dat" is wrote to standard output.
55 You can redirect the output to a file and compare it with file
56 "sample_trace_anonymized.dat". They should be the same.
57
58
59 4. Tailor the sample program for you own needs.
60
61 To sanitize your own traces, you need to change file "sample.cpp" to reflect
62 your trace formats. You also need to provide your own 256-bit key in the
63 program when creating an instance of class PAnonymizer.
64
65
66 5. Contact
67
68 Please contact Jinliang Fan([email protected]) if you have questions about
69 the programs. Your comments are highly appreciated.