├── multi-platform
├── 420OS_mapping.txt
├── observations.txt
├── LiveFingerprinter.h
├── structures.h
├── HershelPlusOptimized.cpp
├── HershelPlus.cpp
└── LiveFingerprinter.cpp
├── VSProject
├── x64
│ ├── Debug
│ │ ├── HershelPlus.exe
│ │ ├── HershelPlus.ilk
│ │ └── HershelPlus.pdb
│ └── Release
│ │ ├── HershelPlus.exe
│ │ ├── HershelPlus.iobj
│ │ ├── HershelPlus.ipdb
│ │ └── HershelPlus.pdb
├── HershelPlus
│ ├── 420OS_mapping.txt
│ ├── HershelPlus.vcxproj.filters
│ ├── defines.h
│ ├── HershelPlus.vcxproj
│ ├── Main.cpp
│ ├── HershelPlus.cpp
│ ├── SimpleRNG.h
│ ├── HershelPlusOptimized.cpp
│ └── test_observations.txt
└── HershelPlus.sln
├── LICENSE.md
└── README.md
/multi-platform/420OS_mapping.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/multi-platform/420OS_mapping.txt
--------------------------------------------------------------------------------
/VSProject/x64/Debug/HershelPlus.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Debug/HershelPlus.exe
--------------------------------------------------------------------------------
/VSProject/x64/Debug/HershelPlus.ilk:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Debug/HershelPlus.ilk
--------------------------------------------------------------------------------
/VSProject/x64/Debug/HershelPlus.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Debug/HershelPlus.pdb
--------------------------------------------------------------------------------
/VSProject/x64/Release/HershelPlus.exe:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Release/HershelPlus.exe
--------------------------------------------------------------------------------
/VSProject/x64/Release/HershelPlus.iobj:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Release/HershelPlus.iobj
--------------------------------------------------------------------------------
/VSProject/x64/Release/HershelPlus.ipdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Release/HershelPlus.ipdb
--------------------------------------------------------------------------------
/VSProject/x64/Release/HershelPlus.pdb:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/x64/Release/HershelPlus.pdb
--------------------------------------------------------------------------------
/VSProject/HershelPlus/420OS_mapping.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/zk7/hershelplus/HEAD/VSProject/HershelPlus/420OS_mapping.txt
--------------------------------------------------------------------------------
/multi-platform/observations.txt:
--------------------------------------------------------------------------------
1 | 1,8192,128,1,MNWST,7331,1460,0,0,0,0,0.117824,3.123757,9.120044
2 | 2,5808,64,1,MNNSNW,60722,1412,0,0,0,0,0.260635,3.661139
3 | 3,5792,64,1,MSTNW,6386,1402,0,0,0,0,0.144287,3.542840,9.943425,22.742704,46.743477,94.746970
--------------------------------------------------------------------------------
/VSProject/HershelPlus.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.24720.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HershelPlus", "HershelPlus\HershelPlus.vcxproj", "{2024AA81-9EB3-49F9-8D29-E676829465A5}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|x64 = Debug|x64
11 | Debug|x86 = Debug|x86
12 | Release|x64 = Release|x64
13 | Release|x86 = Release|x86
14 | EndGlobalSection
15 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
16 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Debug|x64.ActiveCfg = Debug|x64
17 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Debug|x64.Build.0 = Debug|x64
18 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Debug|x86.ActiveCfg = Debug|Win32
19 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Debug|x86.Build.0 = Debug|Win32
20 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Release|x64.ActiveCfg = Release|x64
21 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Release|x64.Build.0 = Release|x64
22 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Release|x86.ActiveCfg = Release|Win32
23 | {2024AA81-9EB3-49F9-8D29-E676829465A5}.Release|x86.Build.0 = Release|Win32
24 | EndGlobalSection
25 | GlobalSection(SolutionProperties) = preSolution
26 | HideSolutionNode = FALSE
27 | EndGlobalSection
28 | EndGlobal
29 |
--------------------------------------------------------------------------------
/LICENSE.md:
--------------------------------------------------------------------------------
1 | LICENSE
2 |
3 | Copyright © 2017 IRL at Texas A&M University (http://irl.cse.tamu.edu) All rights reserved.
4 |
5 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
6 |
7 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
8 |
9 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
10 |
11 | Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
12 |
13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14 |
--------------------------------------------------------------------------------
/VSProject/HershelPlus/HershelPlus.vcxproj.filters:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | {4FC737F1-C7A5-4376-A066-2A32D752A2FF}
6 | cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx
7 |
8 |
9 | {93995380-89BD-4b04-88EB-625FBE52EBFB}
10 | h;hh;hpp;hxx;hm;inl;inc;xsd
11 |
12 |
13 | {67DA6AB6-F800-4c08-8B7A-83BB121AAD01}
14 | rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms
15 |
16 |
17 |
18 |
19 | Source Files
20 |
21 |
22 | Source Files
23 |
24 |
25 | Source Files
26 |
27 |
28 |
29 |
30 | Header Files
31 |
32 |
33 | Header Files
34 |
35 |
36 |
--------------------------------------------------------------------------------
/VSProject/HershelPlus/defines.h:
--------------------------------------------------------------------------------
1 |
2 | #ifndef CLASSES_H
3 | #define CLASSES_H
4 |
5 | #define OPT_MSS 1 // max segment size
6 | #define OPT_WIN 2 // window scaling
7 | #define OPT_TS 3 // timestamps
8 | #define OPT_SACK 4 // SACK allowed
9 | #define OPT_EOL 5 // end of list (another type of padding?)
10 | #define OPT_NOP 6 // padding
11 |
12 | #define REAL_DATA true
13 |
14 | #ifdef _DEBUG
15 | #define NUM_THREADS 1
16 | #else
17 | #define NUM_THREADS GetActiveProcessorCount(ALL_PROCESSOR_GROUPS)
18 | #endif
19 |
20 | #include
21 | #include
22 | #include
23 | #include
24 | #include