Compare commits
595
Commits
4.4-stable
...
4.8-stable
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
467c27ce8e | ||
|
|
12255e2fe0 | ||
|
|
816b00190a | ||
|
|
d92536bd97 | ||
|
|
b328916966 | ||
|
|
2a99e16728 | ||
|
|
f69909d49b | ||
|
|
c59fe0b2b5 | ||
|
|
01f384f7ff | ||
|
|
32b0aeea59 | ||
|
|
d75a8d339a | ||
|
|
d9b0ba1d14 | ||
|
|
16b4913be6 | ||
|
|
b6179467eb | ||
|
|
30fc89e556 | ||
|
|
304747f1fa | ||
|
|
4a0eda69ad | ||
|
|
a76b9d151f | ||
|
|
1366d94156 | ||
|
|
86115a8a65 | ||
|
|
8ca842edec | ||
|
|
e1e6a01d6a | ||
|
|
3881d162f7 | ||
|
|
36112a645b | ||
|
|
a98d7ff433 | ||
|
|
77e5daf03e | ||
|
|
ef3adb9830 | ||
|
|
725fcf4852 | ||
|
|
d4e0b79dd6 | ||
|
|
6925890383 | ||
|
|
70814002a9 | ||
|
|
0828dff3ac | ||
|
|
c5cd4df056 | ||
|
|
5bcf3c2ddd | ||
|
|
a5f0cb7e6c | ||
|
|
7263562514 | ||
|
|
1e9517ab74 | ||
|
|
1bf7e5face | ||
|
|
8e6500a0da | ||
|
|
ef6085370f | ||
|
|
2c5e22123e | ||
|
|
2a0052f25e | ||
|
|
0aa1cf7245 | ||
|
|
2b883b93be | ||
|
|
805df2e5ce | ||
|
|
63977459b6 | ||
|
|
076edeab54 | ||
|
|
f50a4d7e85 | ||
|
|
1a797d7b74 | ||
|
|
770e460ba9 | ||
|
|
47fb5e9f3d | ||
|
|
2bd986a00a | ||
|
|
ad9ed4f954 | ||
|
|
978df906b3 | ||
|
|
0080d0d092 | ||
|
|
feaaf83bed | ||
|
|
cf67f483f4 | ||
|
|
c5ebd84fd8 | ||
|
|
4f2ce2d43b | ||
|
|
f0dc3347ec | ||
|
|
1d480c18e3 | ||
|
|
854c2d80f1 | ||
|
|
74fdac7d77 | ||
|
|
133f45f3f3 | ||
|
|
19381f330a | ||
|
|
16b0ce3710 | ||
|
|
f824939662 | ||
|
|
3c7b2a714e | ||
|
|
c5c610c941 | ||
|
|
65142b2a53 | ||
|
|
1de7fd9bf0 | ||
|
|
3dbc4f65fc | ||
|
|
36abf06c6f | ||
|
|
1f693c3f5a | ||
|
|
afd250f5d9 | ||
|
|
25f3a7cd1d | ||
|
|
34986de297 | ||
|
|
eeeee46b1e | ||
|
|
4ca94369e1 | ||
|
|
ac00542df2 | ||
|
|
2c565c77c9 | ||
|
|
42fcb011ad | ||
|
|
eb9932164f | ||
|
|
ff4f291afe | ||
|
|
95fcd08687 | ||
|
|
9933b5910d | ||
|
|
bd25df3334 | ||
|
|
9e4bcc7771 | ||
|
|
6e5466f9e5 | ||
|
|
cc4461f424 | ||
|
|
5867f43fae | ||
|
|
cfbb7a423e | ||
|
|
049fbf819c | ||
|
|
3b34941be1 | ||
|
|
9a44954365 | ||
|
|
fe634b8d55 | ||
|
|
8e17f50853 | ||
|
|
890dcf91d9 | ||
|
|
ec7adc212e | ||
|
|
5fad72ebd9 | ||
|
|
33e9dbc24d | ||
|
|
1fbe8a2385 | ||
|
|
196395398e | ||
|
|
e4d3d619bc | ||
|
|
083275f617 | ||
|
|
5019022e13 | ||
|
|
d477da997f | ||
|
|
bc91192aca | ||
|
|
3326fa258e | ||
|
|
2b230e28e0 | ||
|
|
88a757c4cd | ||
|
|
6831187d62 | ||
|
|
7a1509bf60 | ||
|
|
c85f2fb0f4 | ||
|
|
fa0bd515b5 | ||
|
|
3edfad01a1 | ||
|
|
09548bb7cf | ||
|
|
5267858b3d | ||
|
|
2bbde5bad3 | ||
|
|
890f17788b | ||
|
|
5811a5613b | ||
|
|
8e960f033d | ||
|
|
a499edd2f2 | ||
|
|
fea09e825b | ||
|
|
abee1a2a6f | ||
|
|
0dd1ee5656 | ||
|
|
bfbbd18757 | ||
|
|
33c42f9830 | ||
|
|
1f55dc511f | ||
|
|
bd0fcb2e62 | ||
|
|
0c5a17accb | ||
|
|
5e6a8c0c1f | ||
|
|
669a02cd76 | ||
|
|
b1d25193d2 | ||
|
|
0b0f255cc2 | ||
|
|
950f5cc4e3 | ||
|
|
859d9ea3c3 | ||
|
|
72814bed33 | ||
|
|
bdd295bc2c | ||
|
|
bb978907e6 | ||
|
|
076ba967a8 | ||
|
|
d51f8929e0 | ||
|
|
2e5004ddb2 | ||
|
|
7ffd31ebc3 | ||
|
|
dff1f25193 | ||
|
|
86e89b4e23 | ||
|
|
2c7fb91794 | ||
|
|
31a9da238c | ||
|
|
88425e0199 | ||
|
|
3a1600ff26 | ||
|
|
7ef80f6b78 | ||
|
|
7e64d9f66d | ||
|
|
15f0e1480c | ||
|
|
aa25c06a18 | ||
|
|
cdc0bb8c61 | ||
|
|
1678888284 | ||
|
|
8dbd591053 | ||
|
|
cc582052b3 | ||
|
|
570c75d601 | ||
|
|
2ac240ce6a | ||
|
|
46aab35a29 | ||
|
|
3608ab01b6 | ||
|
|
04be308092 | ||
|
|
ac06ba8320 | ||
|
|
9cc4cbb9d1 | ||
|
|
2321c11eb5 | ||
|
|
d0609ea601 | ||
|
|
66bee475ae | ||
|
|
de3cf260f8 | ||
|
|
be8178fc8d | ||
|
|
b02adcc381 | ||
|
|
4e284b5e40 | ||
|
|
8ea0eaa0d0 | ||
|
|
96340ccea2 | ||
|
|
63a2b359b9 | ||
|
|
7150b40c63 | ||
|
|
3e640a13a4 | ||
|
|
fd4cb10190 | ||
|
|
9987e5b482 | ||
|
|
3e673e91a9 | ||
|
|
7dcceb4daf | ||
|
|
436ab54f5a | ||
|
|
e14d0acbd4 | ||
|
|
e17fa1259a | ||
|
|
a8d2eeddd2 | ||
|
|
04f5c5196e | ||
|
|
552c9b3cc6 | ||
|
|
efb261a95c | ||
|
|
346bb268e2 | ||
|
|
82fa3a0986 | ||
|
|
46ff069117 | ||
|
|
7ce14da0c8 | ||
|
|
6da3474203 | ||
|
|
b11e6a453b | ||
|
|
63ac50e4f4 | ||
|
|
334b43579e | ||
|
|
f692342f3c | ||
|
|
86b56646b5 | ||
|
|
5e8f93c2d1 | ||
|
|
8f718c9051 | ||
|
|
c97e2d67ff | ||
|
|
9004d5c2ca | ||
|
|
1ab5318f9c | ||
|
|
dd7198fcaf | ||
|
|
5ca6f0ac62 | ||
|
|
a8b3baf2b8 | ||
|
|
b1bcf1ff60 | ||
|
|
ace32c9dfe | ||
|
|
4e186f6bfb | ||
|
|
8c224b464f | ||
|
|
596a5fd5dc | ||
|
|
64853dff02 | ||
|
|
98f029a091 | ||
|
|
7d5e4d0f7e | ||
|
|
8de7c49298 | ||
|
|
31d23aee56 | ||
|
|
99d7066ea0 | ||
|
|
684e041998 | ||
|
|
79c1dbe0b2 | ||
|
|
2f9059dc54 | ||
|
|
bfe79243bc | ||
|
|
998bedbbb7 | ||
|
|
0223d3c4f5 | ||
|
|
02a2c80453 | ||
|
|
a11ddd2dc4 | ||
|
|
6b94c9675a | ||
|
|
9a5d60bff6 | ||
|
|
3681de4795 | ||
|
|
de13c6c0bd | ||
|
|
bb370f5ef0 | ||
|
|
6b803f48dc | ||
|
|
6e9dce357b | ||
|
|
f7138f07a6 | ||
|
|
b39ece4428 | ||
|
|
791d3e6ad3 | ||
|
|
8934f7b45f | ||
|
|
40b6d5a2e1 | ||
|
|
de693cbbc9 | ||
|
|
c4ba981370 | ||
|
|
d3e67faf20 | ||
|
|
b6629ba2be | ||
|
|
85751ba9d7 | ||
|
|
ba99330031 | ||
|
|
032e778a6d | ||
|
|
6660feed35 | ||
|
|
77ea80862f | ||
|
|
6da958655c | ||
|
|
bebcce5281 | ||
|
|
9ba16a4837 | ||
|
|
a469009842 | ||
|
|
c7ef3608d9 | ||
|
|
c47e9d201d | ||
|
|
7714507f81 | ||
|
|
7a627296f0 | ||
|
|
b639744c3a | ||
|
|
22cf8b5d8f | ||
|
|
06a63dcbaa | ||
|
|
5c28dbbae2 | ||
|
|
25c1111911 | ||
|
|
f1193d5e6f | ||
|
|
cc5aec5f0a | ||
|
|
d7662379b4 | ||
|
|
4d11941d32 | ||
|
|
3e06bcce8d | ||
|
|
6e0cd16225 | ||
|
|
9ea8a57839 | ||
|
|
04a426feef | ||
|
|
ddb9aa0f95 | ||
|
|
530d0de438 | ||
|
|
04e017a854 | ||
|
|
64ebf73b29 | ||
|
|
b3457c644f | ||
|
|
c22d30786c | ||
|
|
2a3ade397b | ||
|
|
3a75a46212 | ||
|
|
12867962b0 | ||
|
|
0e80828e14 | ||
|
|
9f46d41eca | ||
|
|
9eff075419 | ||
|
|
3585e2d201 | ||
|
|
ebfc1fe827 | ||
|
|
d398f232be | ||
|
|
89cae9ddf2 | ||
|
|
3047e286c0 | ||
|
|
22fb8349b9 | ||
|
|
2768366969 | ||
|
|
e0ad5b49c0 | ||
|
|
d65f8cf15f | ||
|
|
9eb9664516 | ||
|
|
127d8d0d35 | ||
|
|
21c7550157 | ||
|
|
a303756edb | ||
|
|
25420e266e | ||
|
|
807c97344f | ||
|
|
96f0f85e56 | ||
|
|
6a2e8c9fb1 | ||
|
|
d0b46dcf88 | ||
|
|
4075324e2b | ||
|
|
06d4f8c7e5 | ||
|
|
f2f8f9d0ee | ||
|
|
090ba5735f | ||
|
|
f10178f8d2 | ||
|
|
200d1d4cfc | ||
|
|
a3a9a72f31 | ||
|
|
85bab9e660 | ||
|
|
bf413afba1 | ||
|
|
ba4e145aad | ||
|
|
b51a2ac72a | ||
|
|
4bb851384e | ||
|
|
64b8ae38db | ||
|
|
563a24bf6b | ||
|
|
c711f480e3 | ||
|
|
b0a340cbc6 | ||
|
|
c42b046d87 | ||
|
|
80368772bd | ||
|
|
2086058d00 | ||
|
|
a151276db8 | ||
|
|
fe043d3af5 | ||
|
|
9f27cd56b0 | ||
|
|
3e6cadbb76 | ||
|
|
6d00a9e0bd | ||
|
|
eea9956430 | ||
|
|
b2a8b48386 | ||
|
|
3477560639 | ||
|
|
464269e5ed | ||
|
|
a3d3856c80 | ||
|
|
9fc724de5a | ||
|
|
29c5cc39fb | ||
|
|
5849863ef9 | ||
|
|
5e8c1ebbb7 | ||
|
|
496b284c98 | ||
|
|
c4274a4aec | ||
|
|
f5c2f9280c | ||
|
|
f95bdaf625 | ||
|
|
edb8165ab9 | ||
|
|
bc44334599 | ||
|
|
02f52207be | ||
|
|
1b98bec0ab | ||
|
|
de24206adc | ||
|
|
97014c53f3 | ||
|
|
ccc5a20710 | ||
|
|
470eaa6ff3 | ||
|
|
29be01ef3a | ||
|
|
ebb9ebd2a0 | ||
|
|
1f7c57deff | ||
|
|
a944514dde | ||
|
|
5a5e01a9e2 | ||
|
|
663df7e475 | ||
|
|
9c83f0f3c5 | ||
|
|
cb15d2b328 | ||
|
|
2c551afbd7 | ||
|
|
1735931f67 | ||
|
|
8f91b8ba72 | ||
|
|
560280e6f0 | ||
|
|
3de76812d9 | ||
|
|
5fafe8374a | ||
|
|
e9d5e72fb5 | ||
|
|
22821241e2 | ||
|
|
fa67166fcc | ||
|
|
b8972d1b38 | ||
|
|
d8de8eba36 | ||
|
|
9854aed408 | ||
|
|
ad6bfbad4d | ||
|
|
fb0a73c0c7 | ||
|
|
3c4b12e061 | ||
|
|
390dc1d155 | ||
|
|
de289f1305 | ||
|
|
dbff2fbadd | ||
|
|
5704e4c142 | ||
|
|
2edbe3c11f | ||
|
|
88d4a25cb3 | ||
|
|
48a7f6d487 | ||
|
|
8c7071e040 | ||
|
|
79931b2ec7 | ||
|
|
9dc433f709 | ||
|
|
9f7ef72332 | ||
|
|
6004e55d7b | ||
|
|
eacc2b8e32 | ||
|
|
fc7b070030 | ||
|
|
63f349319f | ||
|
|
ada4fe4aa8 | ||
|
|
946c3dba0f | ||
|
|
57562b3dfe | ||
|
|
e0afc16aa2 | ||
|
|
c882120afd | ||
|
|
3e4ab39b52 | ||
|
|
b9f63458e6 | ||
|
|
81e1ea545c | ||
|
|
a387072872 | ||
|
|
2a8d0d1fe4 | ||
|
|
557bbcfc5a | ||
|
|
197a9a6cfc | ||
|
|
e49fe32f77 | ||
|
|
b2a1bf413b | ||
|
|
02e7e3c23b | ||
|
|
afb5c3e6ba | ||
|
|
6e6f1e4489 | ||
|
|
2b65a4e05e | ||
|
|
4231f48059 | ||
|
|
388d01a345 | ||
|
|
b5e8d86def | ||
|
|
cd41ab7c8f | ||
|
|
07872b3527 | ||
|
|
6d3446b114 | ||
|
|
52b562c328 | ||
|
|
aa5dd25392 | ||
|
|
9e73d61fb0 | ||
|
|
41a5ba1b65 | ||
|
|
db9f6ec1b4 | ||
|
|
175981a422 | ||
|
|
f30479b4a4 | ||
|
|
a16cd9634f | ||
|
|
15d58db2f9 | ||
|
|
55f885f3ed | ||
|
|
de16fd35aa | ||
|
|
ca5ffc4988 | ||
|
|
2ed2e5dc7e | ||
|
|
550f3e5b9d | ||
|
|
e674a8ae37 | ||
|
|
24cc949f14 | ||
|
|
c521595383 | ||
|
|
29242cbcb6 | ||
|
|
9c0caa5362 | ||
|
|
c1b6aa9483 | ||
|
|
9a34d870e9 | ||
|
|
df0dd76ed2 | ||
|
|
35fdbc8148 | ||
|
|
223a6fb9f7 | ||
|
|
3d0c36cf22 | ||
|
|
01622c4c63 | ||
|
|
2d153fba45 | ||
|
|
6c84ce85e4 | ||
|
|
8c4ece941e | ||
|
|
3bb6bf628d | ||
|
|
1fecf69359 | ||
|
|
cd76bacd4a | ||
|
|
1796a1d814 | ||
|
|
e4dcec560e | ||
|
|
c4fb2a590e | ||
|
|
3c0021d603 | ||
|
|
fba926d6a4 | ||
|
|
199c86e3df | ||
|
|
37c88b129f | ||
|
|
cca585053e | ||
|
|
131d53896f | ||
|
|
3fa9416981 | ||
|
|
de59eb8237 | ||
|
|
66a8010ef7 | ||
|
|
c83e0b3c8d | ||
|
|
503aac70bc | ||
|
|
f3a74d97d8 | ||
|
|
fbf30d1aad | ||
|
|
a27538b764 | ||
|
|
ac7a3669da | ||
|
|
39f9b8cadf | ||
|
|
b7b9577254 | ||
|
|
1f345b311f | ||
|
|
83de3e4716 | ||
|
|
b250f9d86c | ||
|
|
c6201284d7 | ||
|
|
644ad34962 | ||
|
|
d6701e8979 | ||
|
|
3db6413ab0 | ||
|
|
50ee6768b7 | ||
|
|
d27fb1e73e | ||
|
|
817a7c616d | ||
|
|
5d5b46e514 | ||
|
|
03d217eae6 | ||
|
|
c960bb50f0 | ||
|
|
aef8e53b7d | ||
|
|
1d0bc7c350 | ||
|
|
a7c2734b38 | ||
|
|
174cd739db | ||
|
|
48d00eae35 | ||
|
|
0f07ad35be | ||
|
|
a966d37a21 | ||
|
|
ec1981c20c | ||
|
|
de020b1747 | ||
|
|
9ce4d40d14 | ||
|
|
7571f48392 | ||
|
|
b4f5243716 | ||
|
|
eea3c448de | ||
|
|
973950d881 | ||
|
|
4f584f78a0 | ||
|
|
4bb81f7609 | ||
|
|
678dd61866 | ||
|
|
f44413e039 | ||
|
|
1b3de449a1 | ||
|
|
37f918322c | ||
|
|
e5063f9883 | ||
|
|
0a47f745cc | ||
|
|
01028ee779 | ||
|
|
378b0c5953 | ||
|
|
95c1daa851 | ||
|
|
b7c1030804 | ||
|
|
b9cb391756 | ||
|
|
7578d02de9 | ||
|
|
bd29fa46ba | ||
|
|
2372063d25 | ||
|
|
8f410b751f | ||
|
|
f684d44aa7 | ||
|
|
981a72cd80 | ||
|
|
f7907976c9 | ||
|
|
fe28d55801 | ||
|
|
79653f99e0 | ||
|
|
ef99eb674e | ||
|
|
a329730d24 | ||
|
|
8bfb1712d8 | ||
|
|
0c8bc9f055 | ||
|
|
e135c1c5e3 | ||
|
|
30730e95e5 | ||
|
|
93a80a1c4b | ||
|
|
93d65ed650 | ||
|
|
ac0d7ccb7e | ||
|
|
a53f476585 | ||
|
|
82c83ef75e | ||
|
|
4a843709fa | ||
|
|
780cbf5f76 | ||
|
|
743d046f6f | ||
|
|
5915bc8828 | ||
|
|
540848c254 | ||
|
|
59a9bdeb55 | ||
|
|
2e25c36396 | ||
|
|
523360001e | ||
|
|
120e01566a | ||
|
|
1d4e27c473 | ||
|
|
c0732eda45 | ||
|
|
346e274a1b | ||
|
|
10f283b467 | ||
|
|
9fb11c909e | ||
|
|
bcf7f1713c | ||
|
|
ac24b35b1f | ||
|
|
c3c73e7bff | ||
|
|
63fe4b4306 | ||
|
|
154d6a5069 | ||
|
|
b3e722e5a8 | ||
|
|
26aafd931c | ||
|
|
013212c67c | ||
|
|
2a596c79e6 | ||
|
|
8b6a00f84b | ||
|
|
d54d5083b3 | ||
|
|
8402bd68ad | ||
|
|
ed4f106a0d | ||
|
|
405a52ed65 | ||
|
|
df2e11ef51 | ||
|
|
bb83899985 | ||
|
|
95e16872fa | ||
|
|
172e698bb8 | ||
|
|
d8d525fff2 | ||
|
|
ab3a678ad4 | ||
|
|
b190dab6bc | ||
|
|
86a3e4c8c3 | ||
|
|
e6b332aa4a | ||
|
|
523f22b942 | ||
|
|
a25b2a7e37 | ||
|
|
40d7354dd7 | ||
|
|
9d040f6317 | ||
|
|
52005e88ed | ||
|
|
ce6f11840d | ||
|
|
e85d6d7db7 | ||
|
|
00eb2393f4 | ||
|
|
d66aa49787 | ||
|
|
a9204eb936 | ||
|
|
e1edb08f06 | ||
|
|
5702c6fb08 | ||
|
|
c72660d7d3 | ||
|
|
b472a49271 | ||
|
|
ac1113b9ac | ||
|
|
be1ac1b430 | ||
|
|
b80218a0e4 | ||
|
|
842e0a3648 | ||
|
|
7c19de4904 | ||
|
|
ae2bedce3a | ||
|
|
407155755d | ||
|
|
9c235796af | ||
|
|
cba2d12051 | ||
|
|
b4cb14ec19 | ||
|
|
df599e5eff | ||
|
|
1fcd03a6b6 | ||
|
|
2edfaeba4a | ||
|
|
997dce0f04 | ||
|
|
dfe6557e18 | ||
|
|
510517126a | ||
|
|
9b95876973 | ||
|
|
f8076e3a58 | ||
|
|
ff4e010501 | ||
|
|
d254ae54f3 | ||
|
|
feaa1df1ed | ||
|
|
056e742304 | ||
|
|
2636c07571 | ||
|
|
a31e79fc3c | ||
|
|
15042870f9 | ||
|
|
105f661e46 | ||
|
|
a1c3d05a74 | ||
|
|
814f9cd21e |
@@ -0,0 +1,12 @@
|
||||
Please sign (check) the below before submitting the Pull Request:
|
||||
|
||||
- [ ] I have signed the ntop Contributor License Agreement at https://github.com/ntop/legal/blob/main/individual-contributor-licence-agreement.md
|
||||
- [ ] I have read the contributing guide lines at https://github.com/ntop/nDPI/blob/dev/CONTRIBUTING.md
|
||||
- [ ] I have updated the documentation (in doc/) to reflect the changes made (if applicable)
|
||||
|
||||
Link to the related [issue](https://github.com/ntop/nDPI/issues):
|
||||
|
||||
|
||||
Describe changes:
|
||||
|
||||
|
||||
@@ -0,0 +1,43 @@
|
||||
name: MSBuild
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
pull_request:
|
||||
branches:
|
||||
- dev
|
||||
types: [opened, synchronize, reopened]
|
||||
release:
|
||||
types: [created]
|
||||
jobs:
|
||||
test:
|
||||
name: MSBuild
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Add msbuild to PATH
|
||||
uses: microsoft/setup-msbuild@v1.1
|
||||
|
||||
- name: Download NuGet packages
|
||||
run: msbuild windows/nDPI.sln -t:restore -p:RestorePackagesConfig=true
|
||||
|
||||
- name: Build libnDPI only (debug)
|
||||
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug
|
||||
|
||||
- name: Download Npcap
|
||||
run: Invoke-WebRequest -Uri 'https://npcap.com/dist/npcap-1.71.exe' -OutFile 'C:\npcap-1.71.exe'
|
||||
|
||||
- name: Install Npcap
|
||||
run: C:\npcap-1.71.exe /S /winpcap_mode=yes
|
||||
|
||||
- name: Build ndpiReader (debug)
|
||||
run: msbuild windows/nDPI.sln -t:rebuild -property:Configuration=Debug-ndpiReader
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: build-artifacts
|
||||
path: windows/bin
|
||||
retention-days: 14
|
||||
+100
-158
@@ -10,47 +10,17 @@ on:
|
||||
release:
|
||||
types: [created]
|
||||
jobs:
|
||||
coverage:
|
||||
name: Coverage (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev
|
||||
sudo apt-get install rrdtool librrd-dev
|
||||
sudo apt-get install libpcre3-dev libmaxminddb-dev lcov
|
||||
sudo apt-get install wdiff colordiff
|
||||
- name: Configure
|
||||
run: env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-code-coverage --with-pcre --with-maxminddb --enable-tls-sigs
|
||||
- name: Build
|
||||
run: make all
|
||||
- name: Test
|
||||
run: |
|
||||
make check VERBOSE=1
|
||||
- name: Generate Coverage Report
|
||||
run: |
|
||||
mkdir -vp coverage_report/ndpi_coverage_report
|
||||
lcov --directory . --capture --output-file lcov.info
|
||||
genhtml -o coverage_report/ndpi_coverage_report lcov.info
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ndpi-coverage-report
|
||||
path: coverage_report
|
||||
retention-days: 7
|
||||
|
||||
python-bindings:
|
||||
name: Python Bindings (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CFLAGS: -Werror
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install Ubuntu Prerequisites
|
||||
@@ -59,7 +29,7 @@ jobs:
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev
|
||||
- name: Build nDPI library
|
||||
run: |
|
||||
env CC=gcc CFLAGS='-Werror' ./autogen.sh
|
||||
./autogen.sh
|
||||
make
|
||||
sudo make install
|
||||
- name: Generate Python bindings
|
||||
@@ -73,82 +43,17 @@ jobs:
|
||||
run: |
|
||||
cd python
|
||||
python tests.py
|
||||
|
||||
documentation:
|
||||
name: Documentation (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison doxygen
|
||||
- name: Configure nDPI library
|
||||
run: |
|
||||
./autogen.sh --with-only-libndpi --enable-option-checking=fatal
|
||||
- name: Generate Documentation
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -r doc/requirements.txt
|
||||
make doc
|
||||
mkdir -vp doc/_build/ndpi-documentation-upload/ndpi-documentation
|
||||
mv -v doc/_build/html doc/_build/ndpi-documentation-upload/ndpi-documentation/html
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ndpi-documentation
|
||||
path: doc/_build/ndpi-documentation-upload
|
||||
retention-days: 7
|
||||
|
||||
performance:
|
||||
name: Performance (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison libpcap-dev
|
||||
sudo apt-get install golang-1.16-go libgoogle-perftools-dev graphviz
|
||||
env GO111MODULE=on go install github.com/google/pprof@latest
|
||||
sudo ln -s ${HOME}/go/bin/pprof /usr/bin/pprof
|
||||
pprof -h
|
||||
- name: Configure nDPI library
|
||||
run: |
|
||||
./autogen.sh --enable-gprof --enable-option-checking=fatal --with-pcre --with-maxminddb --enable-tls-sigs
|
||||
- name: Build nDPI library
|
||||
run: |
|
||||
make
|
||||
- name: Performance Profiling
|
||||
run: |
|
||||
./tests/do.sh
|
||||
mkdir ndpi-performance-upload
|
||||
mv -v tests/result/cpu_profile.png ndpi-performance-upload/cpu_profile.png
|
||||
mv -v tests/result/heap_profile.png ndpi-performance-upload/heap_profile.png
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: ndpi-performance
|
||||
path: ndpi-performance-upload
|
||||
retention-days: 7
|
||||
|
||||
test-scripts:
|
||||
name: Test Utils (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install python3-netaddr git
|
||||
sudo apt-get install python3-netaddr git whois libxml2-utils
|
||||
- name: Run Scripts
|
||||
run: |
|
||||
echo 'Running ./utils/bitcoinnodes.sh'
|
||||
@@ -162,109 +67,134 @@ jobs:
|
||||
git diff-index --quiet HEAD -- || true
|
||||
|
||||
test:
|
||||
name: ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.gcrypt }} ${{ matrix.compiler }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} ${{ matrix.msan }}
|
||||
name: ${{ matrix.os }} ${{ matrix.arch }} ${{ matrix.gcrypt }} ${{ matrix.compiler }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} ${{ matrix.msan }} ${{ matrix.nBPF }} ${{matrix.lto_gold_linker}}
|
||||
runs-on: ${{ matrix.os }}
|
||||
env:
|
||||
CC: ${{ matrix.compiler }}
|
||||
CFLAGS: -Werror
|
||||
strategy:
|
||||
fail-fast: true
|
||||
matrix:
|
||||
os: ["ubuntu-latest", "ubuntu-18.04", "macOS-latest", "macos-11", "windows-latest"]
|
||||
# ubuntu-latest == ubuntu-22.04
|
||||
# macOS-latest == macos-12
|
||||
os: ["ubuntu-latest", "ubuntu-20.04", "macOS-latest", "macos-11", "windows-latest"]
|
||||
arch: ["x86_64"]
|
||||
gcrypt: ["--with-local-libgcrypt", ""]
|
||||
compiler: ["default-cc"]
|
||||
compiler: ["cc"]
|
||||
ar: ["ar"]
|
||||
ranlib: ["ranlib"]
|
||||
pcre: [""]
|
||||
maxminddb: [""]
|
||||
msan: [""]
|
||||
nBPF: [""]
|
||||
lto_gold_linker: [""]
|
||||
include:
|
||||
- compiler: "gcc-7"
|
||||
os: ubuntu-latest
|
||||
- compiler: "gcc-7" # "Oldest" gcc easily available
|
||||
os: ubuntu-20.04
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "gcc-10"
|
||||
os: ubuntu-latest
|
||||
nBPF: ""
|
||||
- compiler: "gcc-12" # "Newest" gcc easily available
|
||||
os: ubuntu-22.04
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "clang-7"
|
||||
os: ubuntu-latest
|
||||
nBPF: ""
|
||||
lto_gold_linker: "--with-lto-and-gold-linker"
|
||||
- compiler: "clang-7" # "Oldest" clang easily available
|
||||
os: ubuntu-20.04
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "clang-12"
|
||||
os: ubuntu-latest
|
||||
nBPF: ""
|
||||
- compiler: "clang-14" # "Newest" clang easily available
|
||||
ar: "llvm-ar-14"
|
||||
ranlib: "llvm-ranlib-14"
|
||||
os: ubuntu-22.04
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "default-cc"
|
||||
os: ubuntu-latest
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "default-cc"
|
||||
nBPF: ""
|
||||
lto_gold_linker: "--with-lto-and-gold-linker"
|
||||
- compiler: "cc"
|
||||
os: ubuntu-latest
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-thread-sanitizer"
|
||||
- compiler: "default-cc"
|
||||
os: ubuntu-18.04
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: ubuntu-latest
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "default-cc"
|
||||
nBPF: "nBPF"
|
||||
- compiler: "clang-14"
|
||||
os: ubuntu-22.04
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-memory-sanitizer"
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: macOS-latest
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "" # Disable sanitizer on macos
|
||||
- compiler: "default-cc"
|
||||
os: macos-11
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: macos-12
|
||||
arch: "x86_64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "" # Disable sanitizer on macos
|
||||
- compiler: "default-cc"
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: ubuntu-latest
|
||||
arch: "arm64"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "" # Disable sanitizer on arm64
|
||||
- compiler: "default-cc"
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: ubuntu-latest
|
||||
arch: "armhf"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: "--with-sanitizer"
|
||||
- compiler: "default-cc"
|
||||
nBPF: ""
|
||||
- compiler: "cc"
|
||||
os: ubuntu-latest
|
||||
arch: "s390x"
|
||||
gcrypt: ""
|
||||
pcre: "--with-pcre"
|
||||
maxminddb: "--with-maxminddb"
|
||||
msan: ""
|
||||
nBPF: ""
|
||||
steps:
|
||||
- name: Setup multiarch/qemu-user-static
|
||||
if: startsWith(matrix.os, 'ubuntu') && !startsWith(matrix.arch, 'x86_64')
|
||||
run: |
|
||||
docker run --rm --privileged multiarch/qemu-user-static:register --reset
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
|
||||
- name: Install Ubuntu Prerequisites
|
||||
@@ -287,22 +217,26 @@ jobs:
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.maxminddb, '--with-maxminddb')
|
||||
run: |
|
||||
sudo apt-get install libmaxminddb-dev
|
||||
- name: Setup Ubuntu specified compiler (gcc)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'gcc')
|
||||
- name: Install Ubuntu Prerequisites (nBPF)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.nBPF, 'nBPF')
|
||||
run: |
|
||||
git clone https://github.com/ntop/PF_RING.git ../PF_RING
|
||||
cd ../PF_RING/userland/nbpf
|
||||
./configure
|
||||
make
|
||||
cd -
|
||||
- name: Setup Ubuntu specified compiler
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && ! startsWith(matrix.compiler, 'cc')
|
||||
run: |
|
||||
sudo apt-get install ${{ matrix.compiler }}
|
||||
- name: Setup Ubuntu specified compiler (clang)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'clang')
|
||||
run: |
|
||||
sudo apt-get install ${{ matrix.compiler }}
|
||||
- name: Install Windows prerequisites
|
||||
- name: Install Windows msys2 prerequisites
|
||||
if: startsWith(matrix.os, 'windows')
|
||||
uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
msystem: MINGW64
|
||||
update: true
|
||||
install: git mingw-w64-x86_64-toolchain automake1.16 automake-wrapper autoconf libtool make mingw-w64-x86_64-json-c mingw-w64-x86_64-crt-git mingw-w64-x86_64-pcre mingw-w64-x86_64-libpcap
|
||||
- name: Setup Windows prerequisites (libgcrypt)
|
||||
- name: Setup Windows msys2 prerequisites (libgcrypt)
|
||||
if: startsWith(matrix.os, 'windows') && startsWith(matrix.gcrypt, '--with-local-libgcrypt')
|
||||
run: |
|
||||
msys2 -c 'git clone --branch libgpg-error-1.42 https://github.com/gpg/libgpg-error'
|
||||
@@ -321,6 +255,9 @@ jobs:
|
||||
msys2 -c 'make install'
|
||||
msys2 -c 'cd ..'
|
||||
msys2 -c 'rm -rf libgcrypt/'
|
||||
env:
|
||||
CC:
|
||||
CFLAGS:
|
||||
- name: Installing MacOS prerequisites
|
||||
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64')
|
||||
run: |
|
||||
@@ -338,47 +275,50 @@ jobs:
|
||||
run: |
|
||||
brew install libmaxminddb
|
||||
- name: Configure nDPI on Ubuntu
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'default-cc')
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64')
|
||||
run: |
|
||||
env CC=gcc CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs
|
||||
AR=${{ matrix.ar }} RANLIB=${{ matrix.ranlib }} ./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs ${{matrix.lto_gold_linker}}
|
||||
- name: Configure nDPI on MacOS
|
||||
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'default-cc')
|
||||
if: startsWith(matrix.os, 'macOS') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'cc')
|
||||
run: |
|
||||
env CC=clang CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs
|
||||
- name: Configure nDPI on Windows
|
||||
if: startsWith(matrix.os, 'windows') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'default-cc')
|
||||
./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs
|
||||
- name: Configure nDPI on Windows msys2
|
||||
if: startsWith(matrix.os, 'windows') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'cc')
|
||||
run: |
|
||||
msys2 -c 'env CFLAGS=\"-Werror\" ./autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-tls-sigs --disable-npcap ${{ matrix.gcrypt }}'
|
||||
- name: Build nDPI on Windows
|
||||
if: startsWith(matrix.os, 'windows') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'default-cc')
|
||||
msys2 -c './autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-tls-sigs --disable-npcap ${{ matrix.gcrypt }}'
|
||||
- name: Build nDPI on Windows msys2
|
||||
if: startsWith(matrix.os, 'windows') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'cc')
|
||||
run: |
|
||||
msys2 -c 'make all'
|
||||
msys2 -c 'ldd ./example/ndpiReader.exe'
|
||||
- name: Configure nDPI with specified GCC version on Ubuntu
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'gcc')
|
||||
run: |
|
||||
env CC=${{ matrix.compiler }} CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs
|
||||
- name: Configure nDPI with specified CLANG on Ubuntu
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && startsWith(matrix.compiler, 'clang')
|
||||
run: |
|
||||
env CC=${{ matrix.compiler }} CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages ${{ matrix.gcrypt }} ${{ matrix.msan }} ${{ matrix.pcre }} ${{ matrix.maxminddb }} --enable-tls-sigs
|
||||
- name: Build nDPI
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
make all
|
||||
make -C example ndpiSimpleIntegration
|
||||
make -C rrdtool
|
||||
- name: Print nDPI long help
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
./example/ndpiReader -H
|
||||
- name: Install nDPI
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
make install DESTDIR=$(realpath _install)
|
||||
ls -alhHR _install
|
||||
- name: Test nDPI [SYMBOLS]
|
||||
if: (startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'mac')) && startsWith(matrix.arch, 'x86_64')
|
||||
run: |
|
||||
./utils/check_symbols.sh || { FAILED=$?; echo "::error file=${NDPI_LIB}::Unwanted libc symbols found: ${FAILED}. Please make sure to use only ndpi_malloc/ndpi_calloc/ndpi_realloc/ndpi_free wrapper instead of malloc/calloc/realloc/free."; false; }
|
||||
env:
|
||||
NDPI_LIB: src/lib/libndpi.a
|
||||
- name: Test nDPI [DIFF]
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows')
|
||||
run: |
|
||||
./tests/do.sh
|
||||
- name: Test nDPI [UNIT]
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows')
|
||||
#Some issues with masan + json-c. Disable the test as workaround
|
||||
if: startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.os, 'windows') && !startsWith(matrix.msan, '--with-memory-sanitizer')
|
||||
run: |
|
||||
./tests/do-unit.sh
|
||||
- name: Test nDPI [DGA]
|
||||
@@ -403,11 +343,13 @@ jobs:
|
||||
make dist
|
||||
./utils/verify_dist_tarball.sh
|
||||
- name: Build nDPI [Mingw-w64] (runs only on ubuntu jobs)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64')
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'x86_64') && !startsWith(matrix.nBPF, 'nBPF')
|
||||
run: |
|
||||
make distclean
|
||||
env CFLAGS='-Werror' ./autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-tls-sigs --host=x86_64-w64-mingw32
|
||||
./autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-tls-sigs --host=x86_64-w64-mingw32
|
||||
make all
|
||||
env:
|
||||
CC:
|
||||
- name: Display qemu specified architecture (arm64 - little endian)
|
||||
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.arch, 'arm64')
|
||||
uses: docker://multiarch/ubuntu-core:arm64-bionic
|
||||
|
||||
@@ -0,0 +1,111 @@
|
||||
name: Scheduled builds
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
#At the end of every day
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
coverage:
|
||||
name: Coverage (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
CFLAGS: -Werror
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext libjson-c-dev flex bison libpcap-dev
|
||||
sudo apt-get install rrdtool librrd-dev
|
||||
sudo apt-get install libpcre3-dev libmaxminddb-dev lcov
|
||||
sudo apt-get install wdiff colordiff
|
||||
- name: Configure
|
||||
run: ./autogen.sh --enable-option-checking=fatal --enable-debug-messages --enable-code-coverage --with-pcre --with-maxminddb --enable-tls-sigs
|
||||
- name: Build
|
||||
run: make all
|
||||
- name: Test
|
||||
run: |
|
||||
make check VERBOSE=1
|
||||
- name: Generate Coverage Report
|
||||
run: |
|
||||
make coverage
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ndpi-coverage-report
|
||||
path: coverage_report
|
||||
retention-days: 7
|
||||
|
||||
documentation:
|
||||
name: Documentation (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Set up Python 3.9
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison doxygen
|
||||
- name: Configure nDPI library
|
||||
run: |
|
||||
./autogen.sh --with-only-libndpi --enable-option-checking=fatal --enable-debug-build
|
||||
- name: Generate Documentation
|
||||
run: |
|
||||
pip install --upgrade pip
|
||||
pip install -r doc/requirements.txt
|
||||
make doc
|
||||
mkdir -vp doc/_build/ndpi-documentation-upload/ndpi-documentation
|
||||
mv -v doc/_build/html doc/_build/ndpi-documentation-upload/ndpi-documentation/html
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ndpi-documentation
|
||||
path: doc/_build/ndpi-documentation-upload
|
||||
retention-days: 7
|
||||
|
||||
performance:
|
||||
name: Performance (ubuntu-latest)
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO111MODULE: on
|
||||
CFLAGS: -Werror
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo add-apt-repository ppa:longsleep/golang-backports
|
||||
sudo apt-get update
|
||||
sudo apt-get install libunwind-dev
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison libpcap-dev
|
||||
sudo apt-get install golang-1.16-go libgoogle-perftools-dev graphviz
|
||||
go install github.com/google/pprof@latest
|
||||
sudo ln -s ${HOME}/go/bin/pprof /usr/bin/pprof
|
||||
pprof -h
|
||||
- name: Configure nDPI library
|
||||
run: |
|
||||
./autogen.sh --enable-gprof --enable-option-checking=fatal --with-pcre --with-maxminddb --enable-tls-sigs
|
||||
- name: Build nDPI library
|
||||
run: |
|
||||
make
|
||||
- name: Performance Profiling
|
||||
run: |
|
||||
./tests/do.sh
|
||||
mkdir ndpi-performance-upload
|
||||
for d in $(find ./tests/cfgs/* -type d -maxdepth 0 2>/dev/null) ; do
|
||||
PROFILE="$(basename $d)"
|
||||
mv -v tests/cfgs/${PROFILE}/result/cpu_profile.png ndpi-performance-upload/${PROFILE}_cpu_profile.png
|
||||
mv -v tests/cfgs/${PROFILE}/result/heap_profile.png ndpi-performance-upload/${PROFILE}_heap_profile.png
|
||||
done
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ndpi-performance
|
||||
path: ndpi-performance-upload
|
||||
retention-days: 7
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
|
||||
with:
|
||||
oss-fuzz-project-name: 'ndpi'
|
||||
fuzz-seconds: 600
|
||||
fuzz-seconds: 1200
|
||||
dry-run: false
|
||||
sanitizer: ${{ matrix.sanitizer }}
|
||||
- name: Check Crash (fails when a crash is detected)
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
name: "CodeQL"
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ 'dev' ]
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ 'dev' ]
|
||||
schedule:
|
||||
- cron: '25 19 * * 2'
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GO111MODULE: on
|
||||
CFLAGS: -Werror
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
language: [ 'cpp', 'python', 'ruby' ]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Install Ubuntu Prerequisites
|
||||
run: |
|
||||
sudo add-apt-repository ppa:longsleep/golang-backports
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y libunwind-dev
|
||||
sudo apt-get install autoconf automake libtool pkg-config gettext flex bison libpcap-dev
|
||||
sudo apt-get install golang-1.16-go libgoogle-perftools-dev graphviz
|
||||
go install github.com/google/pprof@latest
|
||||
sudo ln -s ${HOME}/go/bin/pprof /usr/bin/pprof
|
||||
pprof -h
|
||||
- name: Configure nDPI library
|
||||
run: |
|
||||
./autogen.sh --enable-gprof --enable-option-checking=fatal --with-pcre --with-maxminddb --enable-tls-sigs --enable-debug-messages
|
||||
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
|
||||
- name: Build nDPI library
|
||||
run: |
|
||||
make
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v2
|
||||
with:
|
||||
category: "/language:${{matrix.language}}"
|
||||
+131
-56
@@ -1,8 +1,34 @@
|
||||
*.[o]
|
||||
*.db
|
||||
*.db-*
|
||||
*.dll
|
||||
*.ilk
|
||||
*.in
|
||||
*.ipch
|
||||
*.ko
|
||||
*.la
|
||||
*.lo
|
||||
*.log
|
||||
*.obj
|
||||
*.opendb
|
||||
*.pdb
|
||||
*.recipe
|
||||
*.suo
|
||||
*.swp
|
||||
*.tlog
|
||||
*.user
|
||||
*o.cmd
|
||||
*o.cmd
|
||||
*~
|
||||
.autotools
|
||||
.cproject
|
||||
.dirstamp
|
||||
.libs
|
||||
.project
|
||||
.settings
|
||||
/Makefile
|
||||
/aclocal.m4
|
||||
/autom4te.cache/
|
||||
.autotools
|
||||
compile
|
||||
/compile
|
||||
/config.guess
|
||||
/config.h
|
||||
@@ -12,71 +38,120 @@ compile
|
||||
/config.sub
|
||||
/configure
|
||||
/configure.tmp
|
||||
.cproject
|
||||
/depcomp
|
||||
.dirstamp
|
||||
/doc/Doxyfile.cfg
|
||||
/example/.deps/
|
||||
/example/Makefile
|
||||
/example/ndpiReader
|
||||
/example/Makefile.dpdk
|
||||
/example/build
|
||||
/example/libndpiReader.a
|
||||
/example/ndpiReader
|
||||
/example/ndpiReader.exe
|
||||
/example/ndpiSimpleIntegration
|
||||
*.in
|
||||
/install-sh
|
||||
*.ko
|
||||
*.la
|
||||
/libndpi.pc
|
||||
.libs
|
||||
/libtool
|
||||
*.lo
|
||||
/ltmain.sh
|
||||
/m4/libtool.m4
|
||||
/m4/lt~obsolete.m4
|
||||
/m4/ltoptions.m4
|
||||
/m4/ltsugar.m4
|
||||
/m4/ltversion.m4
|
||||
/Makefile
|
||||
/missing
|
||||
*.[o]
|
||||
*.obj
|
||||
*o.cmd
|
||||
*o.cmd
|
||||
.project
|
||||
.settings
|
||||
/src/include/Makefile
|
||||
/src/include/ndpi_config.h
|
||||
/src/include/ndpi_api.h
|
||||
/src/include/ndpi_define.h
|
||||
/src/lib/.deps/
|
||||
/src/lib/Makefile
|
||||
/src/lib/protocols/.deps/
|
||||
/src/lib/third_party/src/.deps/
|
||||
stamp-h1
|
||||
*.swp
|
||||
/test-driver
|
||||
/tests/Makefile
|
||||
/fuzz/.deps/
|
||||
/fuzz/Makefile
|
||||
/fuzz/fuzz_ndpi_reader
|
||||
/fuzz/fuzz_ndpi_reader_with_main
|
||||
/fuzz/fuzz_process_packet
|
||||
/fuzz/fuzz_process_packet_with_main
|
||||
/tests/dga/Makefile
|
||||
/tests/do.sh
|
||||
/tests/unit/Makefile
|
||||
/example/libndpiReader.a
|
||||
/example/ndpiReader.exe
|
||||
/src/lib/libndpi.a
|
||||
/src/lib/libndpi.so*
|
||||
/src/lib/libndpi
|
||||
/src/lib/libndpi-4.1.0.dll
|
||||
/src/lib/libndpi.4
|
||||
/tests/dga/dga_evaluate
|
||||
/tests/unit/unit
|
||||
/tags
|
||||
/fuzz/fuzz_ndpi_reader_alloc_fail
|
||||
/fuzz/fuzz_quic_get_crypto_data
|
||||
/fuzz/fuzz_alg_bins
|
||||
/fuzz/fuzz_alg_hll
|
||||
/fuzz/fuzz_alg_hw_rsi_outliers_da
|
||||
/fuzz/fuzz_alg_jitter
|
||||
/fuzz/fuzz_alg_crc32_md5
|
||||
/fuzz/fuzz_alg_ses_des
|
||||
/fuzz/fuzz_alg_bytestream
|
||||
/fuzz/fuzz_config
|
||||
/fuzz/fuzz_community_id
|
||||
/fuzz/fuzz_serialization
|
||||
/fuzz/fuzz_ds_patricia
|
||||
/fuzz/fuzz_ds_libcache
|
||||
/fuzz/fuzz_ds_tree
|
||||
/fuzz/fuzz_ds_ptree
|
||||
/fuzz/fuzz_ds_hash
|
||||
/fuzz/fuzz_ds_ahocorasick
|
||||
/fuzz/fuzz_ds_bitmap64
|
||||
/fuzz/fuzz_ds_domain_classify
|
||||
/fuzz/fuzz_libinjection
|
||||
/fuzz/fuzz_binaryfusefilter
|
||||
/fuzz/fuzz_tls_certificate
|
||||
/fuzz/fuzz_dga
|
||||
/fuzz/fuzz_ds_cmsketch
|
||||
/fuzz/fuzz_gcrypt_light
|
||||
/fuzz/fuzz_gcrypt_aes
|
||||
/fuzz/fuzz_gcrypt_gcm
|
||||
/fuzz/fuzz_gcrypt_cipher
|
||||
/fuzz/fuzz_ndpi_reader_payload_analyzer
|
||||
/fuzz/fuzz_filecfg_protocols
|
||||
/fuzz/fuzz_readerutils_workflow
|
||||
/fuzz/fuzz_readerutils_parseprotolist
|
||||
/fuzz/fuzz_ndpi_reader_alloc_fail_seed_corpus.zip
|
||||
/fuzz/fuzz_ndpi_reader_seed_corpus.zip
|
||||
/fuzz/fuzz_quic_get_crypto_data_seed_corpus.zip
|
||||
/fuzz/fuzz_config_seed_corpus.zip
|
||||
/fuzz/fuzz_community_id_seed_corpus.zip
|
||||
/fuzz/fuzz_serialization_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_ses_des_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_bins_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_hll_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_jitter_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_crc32_md5_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_hw_rsi_outliers_da_seed_corpus.zip
|
||||
/fuzz/fuzz_alg_bytestream_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_patricia_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_libcache_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_tree_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_ptree_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_ahocorasick_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_bitmap64_seed_corpus.zip
|
||||
/fuzz/fuzz_ds_domain_classify_seed_corpus.zip
|
||||
/fuzz/fuzz_libinjection_seed_corpus.zip
|
||||
/fuzz/fuzz_tls_certificate_seed_corpus.zip
|
||||
/fuzz/fuzz_filecfg_protocols_seed_corpus.zip
|
||||
/fuzz/fuzz_dga_seed_corpus.zip
|
||||
/fuzz/fuzz_ndpi_reader_payload_analyzer_seed_corpus.zip
|
||||
/fuzz/fuzz_readerutils_workflow_seed_corpus.zip
|
||||
/fuzz/fuzz_readerutils_parseprotolist_seed_corpus.zip
|
||||
/fuzz/fuzz_*.dict
|
||||
/influxdb/Makefile
|
||||
/install-sh
|
||||
/libndpi.pc
|
||||
/libtool
|
||||
/ltmain.sh
|
||||
/m4/libtool.m4
|
||||
/m4/ltoptions.m4
|
||||
/m4/ltsugar.m4
|
||||
/m4/ltversion.m4
|
||||
/m4/lt~obsolete.m4
|
||||
/missing
|
||||
/rrdtool/Makefile
|
||||
/rrdtool/rrd_anomaly
|
||||
/rrdtool/rrd_similarity
|
||||
/src/include/Makefile
|
||||
/src/include/ndpi_config.h
|
||||
/src/include/ndpi_define.h
|
||||
/src/lib/.deps/
|
||||
/src/lib/Makefile
|
||||
/src/lib/libndpi
|
||||
/src/lib/libndpi-*.dll
|
||||
/src/lib/libndpi.4
|
||||
/src/lib/libndpi.a
|
||||
/src/lib/libndpi.so*
|
||||
/src/lib/protocols/.deps/
|
||||
/src/lib/third_party/src/.deps/
|
||||
/tags
|
||||
/test-driver
|
||||
/tests/Makefile
|
||||
/tests/dga/Makefile
|
||||
/tests/dga/dga_evaluate
|
||||
/tests/dga/dga_evaluate.exe
|
||||
/tests/do.sh
|
||||
/tests/performance/Makefile
|
||||
/influxdb/Makefile
|
||||
/doc/Doxyfile.cfg
|
||||
/tests/unit/Makefile
|
||||
/tests/unit/unit
|
||||
compile
|
||||
stamp-h1
|
||||
/windows/packages/pthreads.2.9.1.4
|
||||
/windows/packages/pthreads.redist.2.9.1.4
|
||||
/windows/bin/x64_Debug-ndpiReader/ndpiReader.exe
|
||||
/windows/obj/nDPI_Debug-ndpiReader_x64/nDPI.vcxproj.FileListAbsolute.txt
|
||||
|
||||
+479
@@ -1,5 +1,484 @@
|
||||
# CHANGELOG
|
||||
|
||||
#### nDPI 4.8 (Oct 2023)
|
||||
|
||||
## Major Changes
|
||||
- Reworked lists implementation that decreased memory usage of orders of magnitude
|
||||
- Improved code robustness via extensive code fuzzing
|
||||
- Various improvements to overall library performance
|
||||
- Extended IPv6 support
|
||||
|
||||
## New Supported Protocols and Services
|
||||
|
||||
- Add "Heroes of the Storm" video game signature detection. (#1949)
|
||||
- Add Apache Thrift protocol dissector. (#2007)
|
||||
- Add Remote Management Control Protocol (RMCP).
|
||||
- Add Service Location Protocol dissector. (#2036)
|
||||
- Add VK detection (#1880)
|
||||
- Add Yandex services detection (#1882)
|
||||
- Add a new protocol id for generic Adult Content traffic (#1906)
|
||||
- Add a new protocol id for generic advertisement/analytics/tracking stuff (#1904)
|
||||
- Add bitcoing protocol dissector. (#1992)
|
||||
- Add detection of Roblox games (#2054)
|
||||
- Add support for (un-encrypted) HTTP/2 (#2087)
|
||||
- Add support for Epic Games and GeForceNow/Nvidia (#1990)
|
||||
- Add support for SRTP (#1977)
|
||||
- Added BACnet dissector. (#1940)
|
||||
- Added HAProxy protocol. (#2088)
|
||||
- Added OICQ dissector. (#1950)
|
||||
- Added OperaVPN detection
|
||||
- ProtonVPN: add basic detection (#2006)
|
||||
- Added detection of Facebook Reels and Stories
|
||||
- Add an heuristic to detect fully encrypted flows (#2058)
|
||||
- Added NDPI_MALWARE_HOST_CONTACTED flow risk
|
||||
- Added NDPI_TLS_ALPN_SNI_MISMATCH flow risk
|
||||
|
||||
## Improvements
|
||||
|
||||
- Improve protocol detection for:
|
||||
- FreeBSD compilation fix (C) update
|
||||
- Gnutella: improve detection (#2019)
|
||||
- H323: fix false positives (#1916)
|
||||
- HTTP: fix another memory access error (#2049)
|
||||
- HTTP: fix extraction of filename (#2046)
|
||||
- HTTP: fix heap-buffer-overflow (#2044)
|
||||
- HTTP: improve extraction of metadata and of flow risks (#1959)
|
||||
- HTTP: remove useless code about XBOX (#1958)
|
||||
- HTTP: rework state machine (#1966)
|
||||
- Hangout: detect Hangout/Duo/GoogleMeet/... in the STUN code (#2025)
|
||||
- Enhance DNS risk for long hostnames (> 32)
|
||||
- Enhanced MS teams STUN/Azure detection
|
||||
- Enhanced custom port definition and improved error reporting in case of duplications
|
||||
- Improve detection of Alibaba flows (#1991)
|
||||
- Improve detection of crawler/bot traffic (#1956)
|
||||
- Improve detection of crawlers/bots (#1968)
|
||||
- Improved MGCP detection by allowing '\r' as line feed.
|
||||
- Improved MS Teams detection with heuristic
|
||||
- Improved Steam detection by adding steamdiscover pattern. (#2105)
|
||||
- Improved Wireguard detection
|
||||
- Improved checks for duplicated entries in protocols file
|
||||
- Improved classification further reducing memory used
|
||||
- Improved detection of invalid chars in DNS names
|
||||
- Improved domain search tet unit
|
||||
- Improved helper scripts. (#1986)
|
||||
- MS Teams enhancement
|
||||
- MySql: improve detection (#1928)
|
||||
- zabbix: improve detection (#2055)
|
||||
|
||||
## Tools
|
||||
|
||||
- ndpiReader: allow to configure LRU caches TTL and size (#2004)
|
||||
- ndpiReader: fix VXLAN de-tunneling (#1913)
|
||||
- ndpiReader: fix export of DNS/BitTorrent attributes (#1985)
|
||||
- ndpiReader: fix export of HTTP attributes (#1982)
|
||||
- ndpiReader: fix flow stats (#1943)
|
||||
- ndpiReader: fix print of flow payload (#1960)
|
||||
- ndpiReader: improve printing of payload statistics (#1989)
|
||||
- ndpiReader: print how many packets (per flow) were needed to perform full DPI (#1891)
|
||||
- ndpireader: fix detection of DoH traffic based on packet distributions (#2045)
|
||||
|
||||
## Misc
|
||||
- ARM compilation fix
|
||||
- Add `ndpi_domain_classify_finalize()` function (#2084)
|
||||
- Add a configuration knob to enable/disable loading of gambling list (#2047)
|
||||
- Add a new flow risk about literal IP addresses used as SNI (#1892)
|
||||
- Add an heuristic to detect/ignore some anomalous TCP ACK packets (#1948)
|
||||
- Add another example of custom rules (#1923)
|
||||
- Add support for multiline json
|
||||
- Add support for roaring_bitmap_xor_inplace (#1983)
|
||||
- Add support for vxlan decapsulation (#1441) (#1900)
|
||||
- Added Source Engine dissector. (#1937)
|
||||
- Added `lists/gambling.list` to extra dist.
|
||||
- Added `slackb.com` SNI. (#2067)
|
||||
- Added ability to define an unlimited number of custom rules IP:port for the same IP (it used tobe limited to 2)
|
||||
- Added check to avoid skype heuristic false positives
|
||||
- Added comment
|
||||
- Added coverage targets to `Makefile.am` for convenience. (#2039)
|
||||
- Added fix for better handling exceptions rollback in case of later match
|
||||
- Added hyperlink
|
||||
- Added ndpi_binary_bitmap data structure
|
||||
- Added ndpi_bitmap64 support
|
||||
- Added ndpi_bitmap_andnot API call
|
||||
- Added ndpi_bitmap_copy() API call
|
||||
- Added ndpi_bitmap_is_empty() and ndpi_bitmap_optimize() API calls
|
||||
- Added ndpi_domain_classify_XXX(0 API
|
||||
- Added ndpi_filter_add_multi() API call
|
||||
- Added ndpi_murmur_hash to the nDPI API
|
||||
- Added new API calls for implementing Bloom-filter like data structures
|
||||
- Added printf/fprintf replacement for some internal modules. (#1974)
|
||||
- Added scripts to auto generate hostname/SNI *.inc files. (#1984)
|
||||
- Added sub-domain classification fix
|
||||
- Added the ability to define custom protocols with arbitrary Ids in proto.txt
|
||||
- Added vlan_id in ndpi_flow2json() prototype
|
||||
- Adds new pcap for testing "funny" HTTP servers
|
||||
- All protocols should be excluded sooner or later (#1969)
|
||||
- Allow init of app protocols w/o any hostnames set. (#2057)
|
||||
- Avoid calling `ndpi_reconcile_protocols()` twice in `ndpi_detection_giveup()` (#1996)
|
||||
- Boundary check
|
||||
- CI: fix `Performance` job (#1936)
|
||||
- Centos7 fixes
|
||||
- Changed logging callback function sig. (#2000)
|
||||
- Changes for supporting more efficient sub-string matching
|
||||
- Classification fixes
|
||||
- DNS: extract geolocation information, if available (#2065)
|
||||
- Debian 12 fixes
|
||||
- Disabled query string validation in MDNS in order to avoid zapping chars that in DNS (instead) are not permitted
|
||||
- DisneyPlus/Hulu ip lists should be auto-generated (#1905)
|
||||
- Extend content list of Microsoft protocols (#1930)
|
||||
- Extend content-match list (#1967)
|
||||
- Fix LRU/Patricia/Automa stats in `ndpiReader` with multiple threads (#1934)
|
||||
- Fix MS Teams detection with heuristic (#1972)
|
||||
- Fix access to packet/flow information (#2013)
|
||||
- Fix an heap-buffer-overflow (#1994)
|
||||
- Fix classification-by-ip in `ndpi_detection_giveup` (#1981)
|
||||
- Fix compilation (#2011)
|
||||
- Fix compilation in CI jobs (#2048)
|
||||
- Fix compilation on Windows (#2072)
|
||||
- Fix compilation with GCC-7 and latest RoaringBitmap code (#1886)
|
||||
- Fix detection of packet direction and NDPI_UNIDIRECTIONAL_TRAFFIC risk (#1883)
|
||||
- Fix export/serialization of `flow->risk` (#1885)
|
||||
- Fix for buffer overflow in serialization
|
||||
- Fix insert of ip addresses into patricia tree(s) (#1895)
|
||||
- Fix missing u_char, u_short and u_int typedefs for some platforms e.g.: (#2009)
|
||||
- Fix packet counters (#1884)
|
||||
- Fix some errors found by fuzzers (#2078)
|
||||
- Fix some memory errors triggered by allocation failures (#1995)
|
||||
- Fix some prototypes (#2085)
|
||||
- Fix string truncation. (#2056)
|
||||
- Fixed OpenWRT arm related build issues. (#2104)
|
||||
- Fixed heap-buffer-overflow issue
|
||||
- Fixed heap-overflow if compiled with `--enable-tls-sigs`. (#2038)
|
||||
- Fixed invalid use of ndpi_free(). Sorry, my fault. (#1988)
|
||||
- Fixed missing AS_HELP_STRING in configure.ac. (#1893)
|
||||
- Fixed two OpenWRT arm related build issues. (#2103)
|
||||
- Fixes matches with domain name strings that start with a dot
|
||||
- Fixes risk mask exception handling while improving the overall performance
|
||||
- Implemented Count-Min Sketch [count how many times a value has been observed]
|
||||
- Implemented Zoom/Teams stream type detection
|
||||
- Implemented ndpi_XXX_reset() API calls whre XXX is ses, des, hw
|
||||
- Implemented ndpi_predict_linear() for predicting a timeseries value overtime
|
||||
- Improved debug output. (#1951)
|
||||
- Improved invalid logging via printf().
|
||||
- Improved line protocol dissection with heuristic
|
||||
- Improved missing usage of nDPIs malloc wrapper. Fixes #1978. (#1979)
|
||||
- Improved protocol detection exploiting IP-based guess Reworked ndpi_reconcile_protocols() that is now called only in front of a match (less overhead)
|
||||
- Improvement for reducing false positives
|
||||
- Included Gambling website data from the Polish `hazard.mf.gov.pl` list (#2041)
|
||||
- Keep master protocol in `ndpi_reconcile_protocols`
|
||||
- Leak fix
|
||||
- Language fix
|
||||
- Line: fix heap-buffer-overflow error (#2015)
|
||||
- Made VK protocol detection more strict
|
||||
- Make Bittorrent LRU cache IPv6 aware. (#1909)
|
||||
- Merged new and old version of ndpi_domain_classify.c code
|
||||
- Mullvad VPN service added (based on entry node IP addresses) (#2062)
|
||||
- Numeric truncation at `ndpi_analyze.c` at lines 101, 104, 107, 110 (#1999)
|
||||
- Numeric truncation at `tls.c:1010` (#2005)
|
||||
- Ookla: rework detection (#1922)
|
||||
- Optimizes and fixes possible out0of0boundary write in ndpi_fill_prefix_v4()
|
||||
- ProtonVPN: split the ip list (#2060)
|
||||
- QUIC: add support for QUIC version 2
|
||||
- QUIC: export QUIC version as metadata
|
||||
- QUIC: fix a memory access error
|
||||
- QUIC: fix dissection of packets forcing VN
|
||||
- RDP: improve detection over UDP (#2043)
|
||||
- RTP: remove dead-code (#1953)
|
||||
- RTP: rework code (#2021)
|
||||
- Refreshed ASN lists Enhanced the Line IP list with https://ipinfo.io/AS23576/125.209.252.0/24 used by line
|
||||
- Remove some useless checks (#1993)
|
||||
- Remove special handling of some TCP flows without SYN (#1965)
|
||||
- Removed overlapping port
|
||||
- Renamed HTTP/2 to HTTP2 as the '/' can have side effects with applications sitting on top of nDPI
|
||||
- Replaces free() with ndpi_free()
|
||||
- Rework CI jobs to try reducing CI duration (#1903)
|
||||
- Reworked domain classification based on binary filters
|
||||
- Reworked initialization
|
||||
- Reworked ndpi_filter_xxx implementation using compressed bitmaps
|
||||
- Reworked teams handling
|
||||
- RiotGames: add detection of flows (#1935)
|
||||
- STUN: add dissection of DTLS handshake (#2018)
|
||||
- STUN: avoid FacebookVoip false positives (#2029)
|
||||
- STUN: fix Skype/MsTeams detection and monitoring logic (#2028)
|
||||
- STUN: fix detection of Google Voip apps (#2031)
|
||||
- STUN: fix detection over TCP
|
||||
- STUN: improve WhatsappCall detection
|
||||
- STUN: keep monitoring/processing STUN flows (#2012)
|
||||
- STUN: tell RTP from RTCP while in monitoring state (#2027)
|
||||
- Serialization fix
|
||||
- Set _DEFAULT_SOURCE and _GNU_SOURCE globally. (#2010)
|
||||
- Simplify `ndpi_internal_guess_undetected_protocol()` (#1941)
|
||||
- Simplify the report of streaming multimedia info (#2026)
|
||||
- SoftEther: fix invalid memory access
|
||||
- Swap from Aho-Corasick to an experimental/home-grown algorithm that uses a probabilistic approach for handling Internet domain names.
|
||||
- Sync unit tests results
|
||||
- Sync unit tests results
|
||||
- Sync unit tests results (#1962)
|
||||
- Sync utests results (#1887)
|
||||
- TLS: add basic, basic, detection of Encrypted ClientHello (#2053)
|
||||
- TLS: fix another interger overflow in certificate processing (#1915)
|
||||
- TLS: fix parsing of certificate elements (#1910)
|
||||
- Test files for riit games
|
||||
- Test multiple `ndpiReader` configurations (#1931)
|
||||
- Thrift: fix heap-buffer-overflow (#2024)
|
||||
- Update GitHub runners versions (#1889)
|
||||
- Update every ip lists (#2079)
|
||||
- Update libinjection code (#1918)
|
||||
- Update protocols documentation (#2081)
|
||||
- Update roaring bitmap code
|
||||
- Updated line test result
|
||||
- Updated pcap detection results after Facebook Reel/Stories support
|
||||
- Updated results
|
||||
- Updated results after the latest changes
|
||||
- Win include change
|
||||
- Windows code rework
|
||||
- Windows compilation fixes
|
||||
- Windows warning checks
|
||||
- add 2 ns from fdn.fr to DoH section (#1964)
|
||||
- add support for gre decapsulation (#1442) (#1921)
|
||||
- added bimap and/or with allocation
|
||||
- added feature to extract filename from http attachment (#2037)
|
||||
- added new domain names (#2002)
|
||||
- configure: add an option to enable debug build, i.e `-g` (#1929)
|
||||
- fix Stack overflow caused by invalid write in ndpi_automa_match_strin… (#2035)
|
||||
- fixed numeric truncation error
|
||||
- fixed numeric truncation error in diameter.c (#2034)
|
||||
- fixed numeric truncation error in kerberos.c (#2032)
|
||||
- fixed numeric truncation error in ndpi_main.c:6837 (#1998)
|
||||
- fixed numeric truncation error in rtcp.c (#2033)
|
||||
- fuzz: add a new fuzzer to test TLS certificates (#1901)
|
||||
- fuzz: add a new fuzzer triggering the payload analyzer function(s) (#1926)
|
||||
- fuzz: add fuzzer for DGA detection code (#2042)
|
||||
- fuzz: add fuzzer to test internal gcrypt code (#1920)
|
||||
- fuzz: add fuzzers to test bitmap64 and domain_classify data structures (#2082)
|
||||
- fuzz: add fuzzers to test reader_util code (#2080)
|
||||
- fuzz: extend coverage (#2073)
|
||||
- fuzz: extend fuzz coverage (#1888)
|
||||
- fuzz: extend fuzzers coverage (#1952)
|
||||
- fuzz: extend fuzzing coverage (#2040)
|
||||
- fuzz: extend fuzzing coverage (#2052)
|
||||
- fuzz: extend fuzzing coverage (#2083)
|
||||
- fuzz: simplify fuzzers dependencies in CIFuzz (#1896)
|
||||
- fuzz: some improvements and add two new fuzzers (#1881)
|
||||
- fuzzing: extend fuzzing coverage
|
||||
- in case of failure, failing result files are not listed
|
||||
- minor fixes (#2023)
|
||||
- oss-fuzz: sync build script with upstream
|
||||
- remove redefinition to vxlanhdr struct in vxlan dissector (#1911)
|
||||
- removed useless call of ndpi_set_risk func (#2022)
|
||||
- tests: add an option to force the overwrite of the unit tests results (#2001)
|
||||
- tests: restore some old paths as symbolic links (#2050)
|
||||
- tftp: check for Option Acknowledgements
|
||||
- tftp: check incrementation for DATA and ACK packets
|
||||
- tftp: rework request checking to account for options
|
||||
- tftp: update pcap results
|
||||
- version of dirent.c that is liked by both VC++ and MinGW
|
||||
|
||||
|
||||
#### nDPI 4.6 (Feb 2023)
|
||||
|
||||
## New Features
|
||||
|
||||
- New support for custom BPF protocol definition using nBPF (see example/protos.txt)
|
||||
- Improved dissection performance
|
||||
- Added fuzzing all over
|
||||
|
||||
## New Supported Protocols and Services
|
||||
|
||||
- Add protocol detection for:
|
||||
- Activision
|
||||
- AliCloud server access
|
||||
- AVAST
|
||||
- CryNetwork
|
||||
- Discord
|
||||
- EDNS
|
||||
- Elasticsearch
|
||||
- FastCGI
|
||||
- Kismet
|
||||
- Line App and Line VoIP calls
|
||||
- Meraki Cloud
|
||||
- Munin
|
||||
- NATPMP
|
||||
- Syncthing
|
||||
- TP-LINK Smart Home
|
||||
- TUYA LAN
|
||||
- SoftEther VPN
|
||||
- Tailscale
|
||||
- TiVoConnect
|
||||
|
||||
## Improvements
|
||||
|
||||
- Improve protocol detection for:
|
||||
- Anydesk
|
||||
- Bittorrent (fix confidence, detection over TCP)
|
||||
- DNS, add ability to decode DNS PTR records used for reverse address resolution
|
||||
- DTLS (handle certificate fragments)
|
||||
- Facebook Voip calls
|
||||
- FastCGI (dissect PARAMS)
|
||||
- FortiClient (update default ports)
|
||||
- Zoom
|
||||
- Add Zoom screen share detection
|
||||
- Add detection of Zoom peer-to-peer flows in STUN
|
||||
- Hangout/Duo Voip calls detection, optimize lookups in the protocol tree
|
||||
- HTTP
|
||||
- Handling of HTTP-Proxy and HTTP-Connect
|
||||
- HTTP subclassification
|
||||
- Check for empty/missing user-agent in HTTP
|
||||
- IRC (credentials check)
|
||||
- Jabber/XMPP
|
||||
- Kerberos (support for Krb-Error messages)
|
||||
- LDAP
|
||||
- MGCP
|
||||
- MONGODB (avoid false positives)
|
||||
- Postgres
|
||||
- POP3
|
||||
- QUIC (support for 0-RTT packets received before the initial)
|
||||
- Snapchat Voip calls
|
||||
- SIP
|
||||
- SNMP
|
||||
- SMB (support for messages split into multiple TCP segments)
|
||||
- SMTP (support for X-ANONYMOUSTLS command)
|
||||
- STUN
|
||||
- SKYPE (improve detection over UDP, remove detection over TCP)
|
||||
- Teamspeak3 (License/Weblist detection)
|
||||
- Threema Messenger
|
||||
- TINC (avoid processing SYN packets)
|
||||
- TLS
|
||||
- improve reassembler
|
||||
- handling of ALPN(s) and subclassification
|
||||
- ignore invalid Content Type values
|
||||
- WindowsUpdate
|
||||
- Add flow risk:
|
||||
- NDPI_HTTP_OBSOLETE_SERVER
|
||||
- NDPI_MINOR_ISSUES (generic/relevant information about issues found on traffic)
|
||||
- NDPI_HTTP_OBSOLETE_SERVER (Apache and nginx are supported)
|
||||
- NDPI_PERIODIC_FLOW (reserved bit to be used by apps based on nDPI)
|
||||
- NDPI_TCP_ISSUES
|
||||
- Improve detection of WebShell and PHP code in HTTP URLs that is reported via flow risk
|
||||
- Improve DGA detection
|
||||
- Improve AES-NI check
|
||||
- Improve nDPI JSON serialization
|
||||
- Improve export/print of L4 protocol information
|
||||
- Improve connection refused detection
|
||||
- Add statistics for Patricia tree, Ahocarasick automa, LRU cache
|
||||
- Add a generic (optional and configurable) expiration logic in LRU caches
|
||||
- Add RTP stream type in flow metadata
|
||||
- LRU cache is now IPv6 aware
|
||||
|
||||
## Tools
|
||||
|
||||
- ndpiReader
|
||||
- Add support for Linux Cooked Capture v2
|
||||
- Fix packet dissection (CAPWAP and TSO)
|
||||
- Fix Discarded bytes statistics
|
||||
|
||||
## Fixes
|
||||
|
||||
- Fix classification by-port
|
||||
- Fix exclusion of DTLS protocol
|
||||
- Fix undefined-behaviour in ahocorasick callback
|
||||
- Fix infinite loop when a custom rule has port 65535
|
||||
- Fix undefined-behavior when setting empty user-agent
|
||||
- Fix infinite loop in DNS dissector (due to an integer overflow)
|
||||
- Fix JSON export of IPv6 addresses
|
||||
- Fix memory corruptions in Bittorrent, HTTP, SoftEther, Florensia, QUIC, IRC, TFTP dissectors
|
||||
- Fix stop of extra dissection in HTTP, Bittorrent, Kerberos
|
||||
- Fix signed integer overflow in ASN1/BER dissector
|
||||
- Fix char/uchar bug in ahocorasick
|
||||
- Fix endianess in IP-Port lookup
|
||||
- Fix FastCGI memory allocation issue
|
||||
- Fix metadata extraction in NAT-PMP
|
||||
- Fix invalid unidirectional traffic alert for unidirectional protocols (e.g. sFlow)
|
||||
|
||||
## Misc
|
||||
|
||||
- Support for Rocky Linux 9
|
||||
- Enhance fuzzers to test nDPI configurations, memory allocation failures, serialization/deserialization, algorithms and data structures
|
||||
- GitHub Actions: update to Node.js 16
|
||||
- Size of LRU caches is now configurable
|
||||
|
||||
#### nDPI 4.4 (July 2022)
|
||||
|
||||
## New Features
|
||||
- Add risk information that describes why a specific risk was triggered also providing metadata
|
||||
- Added API call ndpi_check_flow_risk_exceptions() for handling risk exceptions
|
||||
- Split protocols in: network (e.g. TLS) and application protocols (e.g. Google)
|
||||
- Extended confidence level with two new values (NDPI_CONFIDENCE_DPI_PARTIAL and NDPI_CONFIDENCE_DPI_PARTIAL_CACHE)
|
||||
- Added ndpi_get_flow_error_code() API call
|
||||
|
||||
## New Supported Protocols and Services
|
||||
- Add protocol detection for:
|
||||
- UltraSurf
|
||||
- i3D
|
||||
- RiotGames
|
||||
- TSAN
|
||||
- TunnelBear VPN
|
||||
- collectd
|
||||
- PIM (Protocol Indipendent Multicast)
|
||||
- Pragmatic General Multicast (PGM)
|
||||
- RSH
|
||||
- GoTo products (mainly GoToMeeting)
|
||||
- Dazn
|
||||
- MPEG-DASH
|
||||
- Agora Software Defined Real-time Network (SD-RTN)
|
||||
- Toca Boca
|
||||
- VXLAN
|
||||
- MDNS/LLMNR
|
||||
|
||||
## Improvements
|
||||
- Improve protocol detection for:
|
||||
- SMTP/SMTPS now supports STARTTLS
|
||||
- OCSP
|
||||
- TargusDataspeed
|
||||
- Usenet
|
||||
- DTLS (added support for old versions)
|
||||
- TFTP
|
||||
- SOAP via HTTP
|
||||
- GenshinImpact
|
||||
- IPSec/ISAKMP
|
||||
- DNS
|
||||
- syslog
|
||||
- DHCP (various bug fixes and improvements)
|
||||
- NATS
|
||||
- Viber
|
||||
- Xiaomi
|
||||
- Raknet
|
||||
- gnutella
|
||||
- Kerberos
|
||||
- QUIC (Added support for v2drft 01)
|
||||
- SSDP
|
||||
- SNMP
|
||||
- Improved DGA detection
|
||||
- Improved AES-NI check
|
||||
- Add flow risk:
|
||||
- NDPI_PUNYCODE_IDN
|
||||
- NDPI_ERROR_CODE_DETECTED
|
||||
- NDPI_HTTP_CRAWLER_BOT
|
||||
- NDPI_ANONYMOUS_SUBSCRIBER
|
||||
- NDPI_UNIDIRECTIONAL_TRAFFIC
|
||||
|
||||
## Changes
|
||||
- Added support for 64 bit bins
|
||||
- Added Cloudflare WARP detection patterns
|
||||
- Renamed Z39.50 -> Z3950
|
||||
- Replaced nDPI's internal hashmap with uthash
|
||||
- Reimplemented 1kxun application protoco
|
||||
- Renamed SkypeCall to Skype_TeamsCall
|
||||
- Updated Python Bindings
|
||||
- Unless --with-libgcrypt is used, nDPI now uses its internal gcrypt implementation
|
||||
|
||||
## Fixes
|
||||
- Fixes for some protocol classification families
|
||||
- Fixed default protocol ports for email protocols
|
||||
- Various memory and overflow fixes
|
||||
- Disabled various risks for specific protocols (e.g. disable missing ALPN for CiscoVPN)
|
||||
- Fix TZSP decapsulation
|
||||
|
||||
## Misc
|
||||
- Update ASN/IPs lists
|
||||
- Improved code profiling
|
||||
- Use Doxygen to generate the API documentation
|
||||
- Added Edgecast and Cachefly CDNs.
|
||||
|
||||
#### nDPI 4.2 (Feb 2022)
|
||||
|
||||
## New Features
|
||||
|
||||
+17
-4
@@ -12,21 +12,34 @@ EXTRA_DIST = README.md README.fuzzer.md CHANGELOG.md CONTRIBUTING.md \
|
||||
autogen.sh wireshark windows utils packages \
|
||||
influxdb/Makefile.in influxdb/metric_anomaly.c influxdb/README.txt \
|
||||
rrdtool/Makefile.in rrdtool/README.txt rrdtool/rrd_anomaly.c rrdtool/rrd_similarity.c \
|
||||
doc/requirements.txt doc/conf.py doc/flow_risks.rst doc/guide/nDPI_QuickStartGuide.pages \
|
||||
doc/requirements.txt doc/conf.py doc/flow_risks.rst doc/protocols.rst doc/guide/nDPI_QuickStartGuide.pages \
|
||||
doc/guide/nDPI_QuickStartGuide.pdf doc/img/logo.png doc/index.rst \
|
||||
doc/Makefile doc/what_is_ndpi.rst \
|
||||
python/DEV_GUIDE.md python/dev_requirements.txt python/ndpi_example.py python/ndpi/__init__.py \
|
||||
python/ndpi/ndpi_build.py python/ndpi/ndpi.py python/README.md \
|
||||
python/requirements.txt python/setup.py python/tests.py \
|
||||
sonar-project.properties .github .ci-ignore lgtm.yml
|
||||
lists/107_gambling.list \
|
||||
lists/107_gambling_custom.list \
|
||||
lists/README.md \
|
||||
sonar-project.properties .github .ci-ignore
|
||||
|
||||
|
||||
.PHONY: doc doc-view
|
||||
doc:
|
||||
make -C doc html
|
||||
|
||||
doc-view:
|
||||
python3 -m http.server --bind 127.0.0.1 --directory doc/_build/html 8080
|
||||
|
||||
coverage: all
|
||||
mkdir -vp coverage_report/ndpi_coverage_report
|
||||
lcov --directory . --capture --output-file lcov.info
|
||||
genhtml -o coverage_report/ndpi_coverage_report lcov.info
|
||||
|
||||
clean-coverage:
|
||||
rm -f lcov.info
|
||||
find . -type f -name "*.gcda" -exec rm "{}" +
|
||||
find . -type f -name "*.gcno" -exec rm "{}" +
|
||||
|
||||
changelog:
|
||||
git log --since={`curl -s https://github.com/ntop/ndpi/releases | grep datetime | head -n1 | egrep -o "[0-9]+\-[0-9]+\-[0-9]+"`} --name-only --pretty=format:" - %s" | grep "^ " > CHANGELOG.latest
|
||||
|
||||
.PHONY: doc doc-view coverage clean-coverage changelog
|
||||
|
||||
+3
-3
@@ -13,11 +13,11 @@
|
||||
## Testing nDPI with ClusterFuzz Artifacts
|
||||
- Download the artifact (example clusterfuzz-testcase-fuzz_process_packet-4992218834796544)
|
||||
- Run nDPI against the artifact
|
||||
- Example: ./fuzz/fuzz_process_packet_with_main clusterfuzz-testcase-fuzz_process_packet-4992218834796544
|
||||
- Example: ./fuzz/fuzz_process_packet clusterfuzz-testcase-fuzz_process_packet-4992218834796544
|
||||
|
||||
The output is the error report
|
||||
```
|
||||
./fuzz/fuzz_process_packet_with_main /tmp/clusterfuzz-testcase-fuzz_process_packet-4992218834796544
|
||||
./fuzz/fuzz_process_packet /tmp/clusterfuzz-testcase-fuzz_process_packet-4992218834796544
|
||||
AddressSanitizer:DEADLYSIGNAL
|
||||
=================================================================
|
||||
==11590==ERROR: AddressSanitizer: SEGV on unknown address 0x61a100000087 (pc 0x00000056e6a4 bp 0x7ffd624fa170 sp 0x7ffd624fa090 T0)
|
||||
@@ -33,7 +33,7 @@ The output is the error report
|
||||
#8 0x4c709b in LLVMFuzzerTestOneInput /home/deri/nDPI/fuzz/fuzz_process_packet.c:30:3
|
||||
#9 0x4c7640 in main /home/deri/nDPI/fuzz/fuzz_process_packet.c:90:17
|
||||
#10 0x7f888e5dabf6 in __libc_start_main /build/glibc-S9d2JN/glibc-2.27/csu/../csu/libc-start.c:310
|
||||
#11 0x41c399 in _start (/home/deri/nDPI/fuzz/fuzz_process_packet_with_main+0x41c399)
|
||||
#11 0x41c399 in _start (/home/deri/nDPI/fuzz/fuzz_process_packet+0x41c399)
|
||||
|
||||
AddressSanitizer can not provide additional info.
|
||||
SUMMARY: AddressSanitizer: SEGV /home/deri/nDPI/src/lib/protocols/quic.c:203:12 in quic_len
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
![ntop][ntopng_logo] ![ntop][ntop_logo]
|
||||
# nDPI
|
||||
|
||||
[](https://github.com/ntop/nDPI/actions?query=workflow%3ABuild)
|
||||
[](https://lgtm.com/projects/g/ntop/nDPI/context:cpp)
|
||||
[](https://lgtm.com/projects/g/ntop/nDPI/alerts)
|
||||
[](https://github.com/ntop/nDPI/actions?query=workflow%3ABuild)
|
||||
[](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-opened&can=1&q=proj:ndpi)
|
||||
|
||||
## What is nDPI ?
|
||||
@@ -48,8 +46,18 @@ Remember to use `gmake` and not `make` on FreeBSD
|
||||
On MacOS:
|
||||
- brew install coreutils gcc git gettext flex bison libtool autoconf automake pkg-config libpcap json-c pcre2 libmaxminddb rrdtool
|
||||
|
||||
On Windows (assuming [MSYS2](https://www.msys2.org/) already installed):
|
||||
- msys2 -c "pacman --noconfirm -S --needed --overwrite '\*' git mingw-w64-x86\_64-toolchain automake1.16 automake-wrapper autoconf libtool make mingw-w64-x86\_64-json-c mingw-w64-x86\_64-crt-git mingw-w64-x86\_64-pcre mingw-w64-x86\_64-libpcap"
|
||||
On Windows:
|
||||
|
||||
There are three supported ways to build nDPI:
|
||||
|
||||
1. MSYS2 (assuming [MSYS2](https://www.msys2.org/) already installed):
|
||||
- msys2 -c "pacman --noconfirm -S --needed --overwrite '\*' git mingw-w64-x86\_64-toolchain automake1.16 automake-wrapper autoconf libtool make mingw-w64-x86\_64-json-c mingw-w64-x86\_64-crt-git mingw-w64-x86\_64-pcre mingw-w64-x86\_64-libpcap"
|
||||
|
||||
2. Mingw-w64
|
||||
|
||||
3. Visual Studio (see `windows/nDPI.sln`)
|
||||
|
||||
Note: All Windows versions require [npcap](https://npcap.com/#download) with WinPcap compatibility mode enabled.
|
||||
|
||||
### How To Build The Documentation
|
||||
|
||||
@@ -70,9 +78,11 @@ The entire procedure of adding new protocols in detail:
|
||||
4. Add a new entry for the search function for the new protocol in: `src/include/ndpi_protocols.h`
|
||||
5. Choose (do not change anything) a selection bitmask from: `src/include/ndpi_define.h`
|
||||
6. Set protocol default ports in `ndpi_init_protocol_defaults` in: `src/lib/ndpi_main.c`
|
||||
7. `./autogen.sh`
|
||||
8. `make`
|
||||
9. `make check`
|
||||
7. Be sure to have nBPF support, cloning `PF_RING` in the same directory where you cloned `nDPI`: `git clone https://github.com/ntop/PF_RING/ && cd PF_RING/userland/nbpf && ./configure && make`
|
||||
8. From the `nDPI` root directory, `./autogen.sh --with-pcre` (nBPF and PCRE are usually optional, but they are needed to run/update *all* the unit tests)
|
||||
9. `make`
|
||||
10. `make check`
|
||||
11. Update the documentation, adding this new protocol to `doc/protocols.rst`
|
||||
|
||||
### How to use nDPI to Block Selected Traffic
|
||||
|
||||
@@ -82,6 +92,11 @@ You can use nDPI to selectively block selected Internet traffic by embedding it
|
||||
|
||||
- Deri, Luca, et al. [nDPI: Open-source high-speed deep packet inspection](http://luca.ntop.org/nDPI.pdf) 2014 International Wireless Communications and Mobile Computing Conference (IWCMC). IEEE, 2014.
|
||||
|
||||
### Videos and Presentations
|
||||
|
||||
- [Using nDPI for Monitoring and Security](https://archive.fosdem.org/2021/schedule/event/nemondpi/)
|
||||
- [Network Traffic Classification for Cybersecurity and Monitoring](https://fosdem.org/2022/schedule/event/using_ndpi_to_efficiently_classify_network_traffic/)
|
||||
|
||||
### nDPI-Related Projects
|
||||
|
||||
- [nfstream](https://github.com/aouinizied/nfstream)
|
||||
|
||||
+92
-28
@@ -1,4 +1,4 @@
|
||||
AC_INIT([libndpi],[4.3.0])
|
||||
AC_INIT([libndpi],[4.8.0])
|
||||
|
||||
AC_CONFIG_AUX_DIR([.])
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
@@ -8,45 +8,84 @@ AM_INIT_AUTOMAKE([foreign subdir-objects])
|
||||
AC_PREFIX_DEFAULT(/usr)
|
||||
|
||||
EXTRA_TARGETS="example tests tests/dga"
|
||||
AC_ARG_WITH(only-libndpi, AS_HELP_STRING([--with-only-libndpi], [Build only libndpi (no examples, tests etc)]))
|
||||
AC_ARG_WITH(only-libndpi, AS_HELP_STRING([--with-only-libndpi], [Build only libndpi (no examples, tests etc)]))
|
||||
AS_IF([test "${with_only_libndpi+set}" = set],[
|
||||
EXTRA_TARGETS=""
|
||||
])
|
||||
|
||||
AC_ARG_WITH(sanitizer, AS_HELP_STRING([--with-sanitizer], [Build with support for address, undefined and leak sanitizer]))
|
||||
PWD=`pwd`
|
||||
|
||||
|
||||
AC_ARG_WITH(sanitizer, AS_HELP_STRING([--with-sanitizer], [Build with support for address, undefined and leak sanitizer]))
|
||||
AC_ARG_WITH(thread-sanitizer, AS_HELP_STRING([--with-thread-sanitizer], [Build with support for thread sanitizer]))
|
||||
AC_ARG_WITH(memory-sanitizer, AS_HELP_STRING([--with-memory-sanitizer], [Build with support for memory sanitizer]))
|
||||
AC_ARG_WITH(macos-memory-sanitizer, AS_HELP_STRING([--with-macos-memory-sanitizer], [Build with support for memory sanitizer macOS]))
|
||||
AC_ARG_ENABLE(fuzztargets, AS_HELP_STRING([--enable-fuzztargets], [Enable fuzz targets]),[enable_fuzztargets=$enableval],[enable_fuzztargets=no])
|
||||
AC_ARG_ENABLE(gprof, AS_HELP_STRING([--enable-gprof], [Enable CPU/HEAP profiling with gperftools]),[enable_gprof=$enableval],[enable_gprof=no])
|
||||
AC_ARG_ENABLE(code-coverage, AS_HELP_STRING([--enable-code-coverage], [Generate Code Coverage report]))
|
||||
AC_ARG_WITH(local-libgcrypt, AS_HELP_STRING([--with-local-libgcrypt], [Build with libgcrypt (if present) instead of the enclosed gcrypt light]))
|
||||
AC_ARG_WITH(local-libgcrypt, AS_HELP_STRING([--with-local-libgcrypt], [Build with libgcrypt (if present) instead of the enclosed gcrypt light]))
|
||||
AC_ARG_ENABLE(tls-sigs, AS_HELP_STRING([--enable-tls-sigs], [Enable TLS Client signature algorithm dissection. Rarely used, but requires significantly more memory.]))
|
||||
AC_ARG_ENABLE(npcap, AS_HELP_STRING([--disable-npcap], [msys2 only: Disable linkage against the wpcap/npcap import library in windows/WpdPack/Lib.]))
|
||||
AC_ARG_WITH(nbpf-path, AS_HELP_STRING([--with-nbpf-path], [nBPF library custom path; default: ${PWD}/../PF_RING/userland/nbpf]),[NBPF_HOME=$withval],[NBPF_HOME=${PWD}/../PF_RING/userland/nbpf])
|
||||
AC_ARG_WITH(lto-and-gold-linker, AS_HELP_STRING([--with-lto-and-gold-linker], [Build with LTO and Gold linker]))
|
||||
AC_ARG_ENABLE(debug-build, AS_HELP_STRING([--enable-debug-build], [Enable debug build (`-g` flag)]),[enable_debugbuild=$enableval],[enable_debugbuild=no])
|
||||
|
||||
AS_IF([test "x$enable_fuzztargets" = "xyes"], [BUILD_FUZZTARGETS=1], [BUILD_FUZZTARGETS=0])
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -D_DEFAULT_SOURCE=1 -D_GNU_SOURCE=1"
|
||||
|
||||
AS_IF([test "x$enable_fuzztargets" = "xyes"], [
|
||||
BUILD_FUZZTARGETS=1
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION"
|
||||
], [BUILD_FUZZTARGETS=0])
|
||||
AM_CONDITIONAL([BUILD_FUZZTARGETS], [test "x$enable_fuzztargets" = "xyes"])
|
||||
|
||||
AS_IF([test "x$enable_debugbuild" = "xyes"], [
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -g"
|
||||
])
|
||||
|
||||
AS_IF([test "${with_sanitizer+set}" = set -a "${with_thread_sanitizer+set}" = set],[
|
||||
AC_MSG_ERROR([Configure options `--with-sanitizer' and `--with_thread_sanitizer' can not used at the same time.])
|
||||
])
|
||||
AS_IF([test "${with_sanitizer+set}" = set -o "${with_thread_sanitizer+set}" = set],[
|
||||
CFLAGS="${CFLAGS} -O0 -g3"
|
||||
AS_IF([test "${with_sanitizer+set}" = set -a "${with_memory_sanitizer+set}" = set],[
|
||||
AC_MSG_ERROR([Configure options `--with-sanitizer' and `--with_memory_sanitizer' can not used at the same time.])
|
||||
])
|
||||
AS_IF([test "${with_thread_sanitizer+set}" = set -a "${with_memory_sanitizer+set}" = set],[
|
||||
AC_MSG_ERROR([Configure options `--with_thread_sanitizer' and `--with_memory_sanitizer' can not used at the same time.])
|
||||
])
|
||||
AS_IF([test "${with_sanitizer+set}" = set -o "${with_thread_sanitizer+set}" = set -o "${with_memory_sanitizer+set}" = set],[
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -O0 -g3"
|
||||
],[
|
||||
CFLAGS="${CFLAGS} -g"
|
||||
dnl> Oss-fuzz doesn't really like any optimizaton flags don't set by itself
|
||||
AS_IF([test "x$enable_fuzztargets" != "xyes"], [NDPI_CFLAGS="${NDPI_CFLAGS} -O2"])
|
||||
])
|
||||
AS_IF([test "${with_sanitizer+set}" = set -o "${with_thread_sanitizer+set}" = set -o "${with_memory_sanitizer+set}" = set],[
|
||||
AS_IF([test "x$enable_gprof" = "xyes"], [
|
||||
AC_MSG_ERROR([Configure options `--with-sanitizer' / `--with_thread_sanitizer' / `--with_memory_sanitizer' can not used together with `--enable-gprof'.])
|
||||
])
|
||||
])
|
||||
|
||||
AS_IF([test "${with_sanitizer+set}" = set],[
|
||||
CFLAGS="${CFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak -fno-omit-frame-pointer"
|
||||
LDFLAGS="${LDFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak"
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak -fno-omit-frame-pointer"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -fsanitize=address -fsanitize=undefined -fno-sanitize=alignment -fsanitize=leak"
|
||||
])
|
||||
|
||||
AS_IF([test "${with_thread_sanitizer+set}" = set],[
|
||||
CFLAGS="${CFLAGS} -fsanitize=thread -fno-omit-frame-pointer"
|
||||
LDFLAGS="${LDFLAGS} -fsanitize=thread"
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -fsanitize=thread -fno-omit-frame-pointer"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -fsanitize=thread"
|
||||
])
|
||||
|
||||
AS_IF([test "${with_memory_sanitizer+set}" = set],[
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -fsanitize=memory -fsanitize-memory-track-origins -fno-omit-frame-pointer"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -fsanitize=memory"
|
||||
])
|
||||
|
||||
AS_IF([test "${with_macos_memory_sanitizer+set}" = set],[
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -fsanitize=address -fno-omit-frame-pointer -fsanitize=signed-integer-overflow -fno-sanitize-recover=address"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -fsanitize=address"
|
||||
])
|
||||
|
||||
AS_IF([test "x${enable_code_coverage}" = "xyes"],[
|
||||
CFLAGS="${CFLAGS} -fprofile-arcs -ftest-coverage"
|
||||
LDFLAGS="${LDFLAGS} --coverage"
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -fprofile-arcs -ftest-coverage"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} --coverage"
|
||||
])
|
||||
|
||||
AS_IF([test "${enable_npcap+set}" = set],[DISABLE_NPCAP=1],[DISABLE_NPCAP=0])
|
||||
@@ -56,6 +95,8 @@ LT_LIB_M
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
AC_PROG_CC
|
||||
AC_PROG_CPP_WERROR
|
||||
AC_C_INLINE
|
||||
|
||||
SYSTEM=`uname -s`
|
||||
if test $SYSTEM = "Darwin"; then
|
||||
@@ -95,7 +136,7 @@ if test -d ".git" || test -r ".git"; then
|
||||
|
||||
A=`git log src/include/ndpi_typedefs.h|wc -l`
|
||||
B=`git log src/include/ndpi_protocol_ids.h|wc -l`
|
||||
C=`git log src/include/ndpi_api.h.in|wc -l`
|
||||
C=`git log src/include/ndpi_api.h|wc -l`
|
||||
NDPI_API_VERSION=$((A+B+C))
|
||||
else
|
||||
GIT_RELEASE="${PACKAGE_VERSION}"
|
||||
@@ -144,7 +185,14 @@ AS_IF([test "x${enable_tls_sigs}" = "xyes"],[
|
||||
HANDLE_TLS_SIGS=""
|
||||
])
|
||||
|
||||
CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-address-of-packed-member ${CFLAGS}"
|
||||
NDPI_CFLAGS="-W -Wall -Wno-unused-parameter -Wno-unused-function -Wno-address-of-packed-member ${NDPI_CFLAGS} -Wno-attributes"
|
||||
#Workaround for RoaringBitmap with gcc-7
|
||||
NDPI_CFLAGS="-Wno-attributes ${NDPI_CFLAGS}"
|
||||
|
||||
AS_IF([test "${with_lto_and_gold_linker+set}" = set], [
|
||||
NDPI_CFLAGS="${NDPI_CFLAGS} -flto -fuse-ld=gold -Wno-unused-command-line-argument"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} ${NDPI_CFLAGS}"
|
||||
])
|
||||
|
||||
AC_CHECK_HEADERS([netinet/in.h stdint.h stdlib.h string.h unistd.h math.h float.h])
|
||||
AC_CHECK_LIB([m], [sqrt], [], [LIBM="-lm"])
|
||||
@@ -155,6 +203,7 @@ if test "x$ac_cv_lib_rrd_rrd_fetch_r" = xyes; then :
|
||||
EXTRA_TARGETS="$EXTRA_TARGETS rrdtool"
|
||||
fi
|
||||
|
||||
ADDITIONAL_INCS=
|
||||
ADDITIONAL_LIBS="$LIBM"
|
||||
PCAP_HOME=$HOME/PF_RING/userland
|
||||
|
||||
@@ -179,17 +228,25 @@ fi
|
||||
|
||||
MACHINE=`uname -m`
|
||||
|
||||
CUSTOM_NDPI=
|
||||
NBPF_ENABLED=0
|
||||
AC_MSG_CHECKING([PF_RING nBPF ($NBPF_HOME)])
|
||||
LIBNBPF=${NBPF_HOME}/libnbpf.a
|
||||
if test -f ${LIBNBPF}; then :
|
||||
ADDITIONAL_LIBS="${ADDITIONAL_LIBS} ${LIBNBPF}"
|
||||
ADDITIONAL_INCS="${ADDITIONAL_INCS} -I${NBPF_HOME}"
|
||||
AC_DEFINE_UNQUOTED(HAVE_NBPF, "1", [PF_RING nBPF is present])
|
||||
AC_MSG_RESULT(yes)
|
||||
NBPF_ENABLED=1
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
CUSTOM_NDPI=
|
||||
if test -d ../nDPI-custom; then :
|
||||
CUSTOM_NDPI="-DCUSTOM_NDPI_PROTOCOLS"
|
||||
AC_MSG_RESULT([Compiling with custom nDPI protocols])
|
||||
fi
|
||||
|
||||
if test -d ../ndpi-pro; then :
|
||||
with_maxminddb=1
|
||||
fi
|
||||
|
||||
case "$host" in
|
||||
*-*-mingw32*|*-*-msys)
|
||||
PCAP_INC=""
|
||||
@@ -197,16 +254,16 @@ case "$host" in
|
||||
case "$host" in
|
||||
x86_64-*)
|
||||
BUILD_MINGW_X64=1
|
||||
LDFLAGS="${LDFLAGS} -L/mingw64/lib"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -L/mingw64/lib"
|
||||
;;
|
||||
i686-*)
|
||||
LDFLAGS="${LDFLAGS} -L/mingw32/lib"
|
||||
NDPI_LDFLAGS="${NDPI_LDFLAGS} -L/mingw32/lib"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([Unsupported MingW cross compiler.])
|
||||
;;
|
||||
esac
|
||||
CFLAGS="-D__USE_MINGW_ANSI_STDIO -D__STDC_FORMAT_MACROS ${CFLAGS}"
|
||||
NDPI_CFLAGS="-D__USE_MINGW_ANSI_STDIO -D__STDC_FORMAT_MACROS ${NDPI_CFLAGS}"
|
||||
LIBS="${LIBS} -lws2_32"
|
||||
BUILD_MINGW=1
|
||||
EXE_SUFFIX=".exe"
|
||||
@@ -287,7 +344,7 @@ AS_IF([test "x$enable_gprof" = "xyes"], [
|
||||
])
|
||||
GPROF_ENABLED=1
|
||||
GPROF_LIBS="-ltcmalloc_and_profiler"
|
||||
GPROF_CFLAGS="${pkg_cv_PROFILER_CFLAGS} ${pkg_cv_TCMALLOC_CFLAGS}"
|
||||
GPROF_CFLAGS="-g3 -fvisibility=default -fno-omit-frame-pointer ${pkg_cv_PROFILER_CFLAGS} ${pkg_cv_TCMALLOC_CFLAGS}"
|
||||
])
|
||||
|
||||
AC_CHECK_LIB(pthread, pthread_setaffinity_np, AC_DEFINE_UNQUOTED(HAVE_PTHREAD_SETAFFINITY_NP, 1, [libc has pthread_setaffinity_np]))
|
||||
@@ -304,7 +361,7 @@ AS_IF([test "${with_local_libgcrypt+set}" = set],[
|
||||
|
||||
dnl> PCRE
|
||||
PCRE_ENABLED=0
|
||||
AC_ARG_WITH(pcre, [ --with-pcre Enable nDPI build with libpcre])
|
||||
AC_ARG_WITH(pcre, AS_HELP_STRING([--with-pcre], [Enable nDPI build with libpcre]))
|
||||
if test "${with_pcre+set}" = set; then :
|
||||
AC_CHECK_LIB(pcre, pcre_compile, AC_DEFINE_UNQUOTED(HAVE_PCRE, 1, [libpcre(-dev) is present]))
|
||||
if test "x$ac_cv_lib_pcre_pcre_compile" = xyes; then :
|
||||
@@ -314,7 +371,7 @@ if test "${with_pcre+set}" = set; then :
|
||||
fi
|
||||
|
||||
dnl> GeoIP
|
||||
AC_ARG_WITH(maxminddb, [ --with-maxminddb Enable nDPI build with libmaxminddb])
|
||||
AC_ARG_WITH(maxminddb, AS_HELP_STRING([--with-maxminddb], [Enable nDPI build with libmaxminddb]))
|
||||
if test "${with_maxminddb+set}" = set; then :
|
||||
AC_CHECK_LIB([maxminddb], [MMDB_lookup_sockaddr])
|
||||
AC_CHECK_HEADERS([maxminddb.h])
|
||||
@@ -324,6 +381,8 @@ if test "${with_maxminddb+set}" = set; then :
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_DEFINE_UNQUOTED(NDPI_BASE_DIR, "${PWD}", [nDPI base directory])
|
||||
|
||||
dnl> Curl
|
||||
dnl> AC_CHECK_LIB([curl], [curl_easy_perform])
|
||||
dnl> if test ${ac_cv_lib_curl_curl_easy_perform} = "no"; then
|
||||
@@ -333,7 +392,7 @@ dnl> ADDITIONAL_LIBS="${ADDITIONAL_LIBS} -lcurl"
|
||||
dnl> AC_DEFINE_UNQUOTED(HAVE_CURL, 1, [curl is present])
|
||||
dnl> fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile example/Makefile example/Makefile.dpdk tests/Makefile tests/unit/Makefile tests/performance/Makefile tests/dga/Makefile rrdtool/Makefile influxdb/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile fuzz/Makefile src/include/ndpi_api.h doc/Doxyfile.cfg])
|
||||
AC_CONFIG_FILES([Makefile example/Makefile example/Makefile.dpdk tests/Makefile tests/unit/Makefile tests/performance/Makefile tests/dga/Makefile rrdtool/Makefile influxdb/Makefile libndpi.pc src/include/ndpi_define.h src/lib/Makefile fuzz/Makefile doc/Doxyfile.cfg])
|
||||
AC_CONFIG_FILES([tests/do.sh], [chmod +x tests/do.sh])
|
||||
AC_CONFIG_HEADERS(src/include/ndpi_config.h)
|
||||
AC_SUBST(GIT_RELEASE)
|
||||
@@ -344,6 +403,7 @@ AC_SUBST(NDPI_VERSION_SHORT)
|
||||
AC_SUBST(PCAP_INC)
|
||||
AC_SUBST(PCAP_LIB)
|
||||
AC_SUBST(LIBRRD)
|
||||
AC_SUBST(ADDITIONAL_INCS)
|
||||
AC_SUBST(ADDITIONAL_LIBS)
|
||||
AC_SUBST(DL_LIB)
|
||||
AC_SUBST(DPDK_TARGET)
|
||||
@@ -361,7 +421,11 @@ AC_SUBST(GPROF_LIBS)
|
||||
AC_SUBST(GPROF_ENABLED)
|
||||
AC_SUBST(USE_HOST_LIBGCRYPT)
|
||||
AC_SUBST(PCRE_ENABLED)
|
||||
AC_SUBST(NBPF_ENABLED)
|
||||
AC_SUBST(HANDLE_TLS_SIGS)
|
||||
AC_SUBST(DISABLE_NPCAP)
|
||||
AC_SUBST(EXE_SUFFIX)
|
||||
AC_SUBST(NDPI_CFLAGS)
|
||||
AC_SUBST(NDPI_LDFLAGS)
|
||||
AC_SUBST(NDPI_BASE_DIR)
|
||||
AC_OUTPUT
|
||||
|
||||
+49
-6
@@ -73,9 +73,9 @@ HTTP only: this risk is triggered whenever the user agent contains suspicious ch
|
||||
|
||||
.. _Risk 012:
|
||||
|
||||
NDPI_HTTP_NUMERIC_IP_HOST
|
||||
NDPI_NUMERIC_IP_HOST
|
||||
=========================
|
||||
HTTP only: this risk is triggered whenever we're accessing a host using its IP rather than its symbolic name. Example http://1.2.3.4.
|
||||
This risk is triggered whenever a HTTP/TLS/QUIC connection is using a literal IPv4 or IPv6 address as ServerName (TLS/QUIC; example: SNI=1.2.3.4) or as Hostname (HTTP; example: http://1.2.3.4.).
|
||||
|
||||
.. _Risk 013:
|
||||
|
||||
@@ -141,7 +141,8 @@ This risk indicates that the protocol used is insecure and that a secure protoco
|
||||
|
||||
NDPI_DNS_SUSPICIOUS_TRAFFIC
|
||||
===========================
|
||||
This risk is returned when DNS traffic returns an unexpected/obsolete `record type <https://en.wikipedia.org/wiki/List_of_DNS_record_types>`_.
|
||||
This risk is returned when DNS traffic returns an unexpected/obsolete `record type <https://en.wikipedia.org/wiki/List_of_DNS_record_types>`_
|
||||
or when a suspicious query with a very long host name is detected.
|
||||
|
||||
.. _Risk 024:
|
||||
|
||||
@@ -213,13 +214,13 @@ This risk is triggered when a TLS fatal alert is detected in the TLS flow. See `
|
||||
|
||||
NDPI_SUSPICIOUS_ENTROPY
|
||||
=======================
|
||||
This risk is used to detect suspicious data carried in ICMP packets whose entropy (used to measure how data is distributed, hence to indirectly guess the type of data carried on) is suspicious and thus that it can indicate a data leak.
|
||||
This risk is used to detect suspicious data carried in ICMP packets whose entropy (used to measure how data is distributed, hence to indirectly guess the type of data carried on) is suspicious and thus that it can indicate a data leak. Suspicious values indicate random entropy or entropy that is similar to encrypted traffic. In the latter case, this can be a suspicious data exfiltration symptom.
|
||||
|
||||
.. _Risk 036:
|
||||
|
||||
NDPI_CLEAR_TEXT_CREDENTIALS
|
||||
===========================
|
||||
Clear text protocols are not bad per-se, but they should be avoided when they carry credentials as they can be intercepted by malicious users. This risk is triggered whenever clear text protocols (e.g. FTP, HTTP, IMAP...) contain credentials in clear text (read it as nDPI does not trigger this risk for HTTP connections that do not carry credentials).
|
||||
Clear text protocols are not intrinsically bad, but they should be avoided when they carry credentials as they can be intercepted by malicious users. This risk is triggered whenever clear text protocols (e.g. FTP, HTTP, IMAP...) contain credentials in clear text (read it as nDPI does not trigger this risk for HTTP connections that do not carry credentials).
|
||||
|
||||
.. _Risk 037:
|
||||
|
||||
@@ -281,7 +282,49 @@ Example: the flow is generated by an iCloud-private-relay exit node.
|
||||
|
||||
.. _Risk 046:
|
||||
|
||||
NDPI_UNIDIRECTIONAL_TRAFFIC_SUBSCRIBER
|
||||
NDPI_UNIDIRECTIONAL_TRAFFIC
|
||||
===================================
|
||||
The risk is set whenever the flow has unidirectional traffic (typically no traffic on the server to client direction). THis
|
||||
risk is not triggered for multicast/broadcast destinations.
|
||||
|
||||
.. _Risk 047:
|
||||
|
||||
NDPI_HTTP_OBSOLETE_SERVER
|
||||
===================================
|
||||
This risk is generated whenever a HTTP server uses an obsolete HTTP server version.
|
||||
|
||||
.. _Risk 048:
|
||||
|
||||
NDPI_PERIODIC_FLOW
|
||||
==================
|
||||
This risk is generated whenever a flow is observed at a specific periodic pace (e.g. every 10 seconds).
|
||||
|
||||
.. _Risk 049:
|
||||
|
||||
NDPI_MINOR_ISSUES
|
||||
=================
|
||||
Minor packet/flow issues (e.g. DNS traffic with zero TTL) have been detected.
|
||||
|
||||
.. _Risk 050:
|
||||
|
||||
NDPI_TCP_ISSUES
|
||||
===============
|
||||
Relevant TCP connection issues such as connection refused, scan, or probe attempt.
|
||||
|
||||
.. _Risk 051
|
||||
|
||||
NDPI_FULLY_ENCRYPTED
|
||||
====================
|
||||
Flow with Unknown protocol containing encrypted traffic.
|
||||
|
||||
.. _Risk 052
|
||||
|
||||
NDPI_TLS_ALPN_SNI_MISMATCH
|
||||
=========================
|
||||
Invalid TLS ALPN/SNI mismatch. For instance ALPN advertises the flow as h2 (HTTP/2.0) and no SNI is reported.
|
||||
|
||||
.. _Risk 053
|
||||
|
||||
NDPI_MALWARE_CONTACTED
|
||||
======================
|
||||
Client contacted a server host labelled as malware.
|
||||
|
||||
+3
-1
@@ -14,6 +14,7 @@ nDPI is an open source DPI (Deep Packet Inspection) toolkit for traffic analysis
|
||||
:caption: Developer's Guide
|
||||
|
||||
api/library_root
|
||||
protocols
|
||||
flow_risks
|
||||
|
||||
.. toctree::
|
||||
@@ -27,7 +28,8 @@ nDPI is an open source DPI (Deep Packet Inspection) toolkit for traffic analysis
|
||||
nEdge <https://www.ntop.org/guides/nedge/>
|
||||
nScrub <https://www.ntop.org/guides/nscrub/>
|
||||
nBox <https://www.ntop.org/guides/nbox/>
|
||||
|
||||
nTap <https://www.ntop.org/guides/ntap/>
|
||||
|
||||
.. Indices and tables
|
||||
.. ==================
|
||||
..
|
||||
|
||||
@@ -0,0 +1,150 @@
|
||||
nDPI Protocols List
|
||||
###################
|
||||
|
||||
This page provides the list of the protocols/applications supported by nDPI. For each protocol there is a brief description, some links to further, more detailed information and, optionally, some notes that might be useful when handling such a protocol (from the application/integrator point of view)
|
||||
|
||||
Work in progress!
|
||||
|
||||
.. _Proto 338:
|
||||
|
||||
`NDPI_PROTOCOL_SRTP`
|
||||
====================
|
||||
The Secure Real-time Transport Protocol (SRTP) is a profile for Real-time Transport Protocol (RTP) intended to provide encryption, message authentication, integrity, and replay attack protection to the RTP data.
|
||||
|
||||
References: `RFC3711 <https://datatracker.ietf.org/doc/html/rfc3711>`_.
|
||||
|
||||
Notes:
|
||||
|
||||
- You can think of SRTP simply as the "encrypted" version of RTP, something like HTTPS vs HTTP;
|
||||
- It is not usually possible to tell RTP from SRTP. nDPI generally uses the former and it uses the latter only when it is really sure that the media stream has been encrypted.
|
||||
|
||||
|
||||
.. _Proto 339:
|
||||
|
||||
`NDPI_PROTOCOL_OPERA_VPN`
|
||||
=========================
|
||||
Opera VPN is a free VPN included with Opera Browser.
|
||||
|
||||
References: `Main site <https://www.opera.com/it/features/free-vpn>`_.
|
||||
|
||||
|
||||
.. _Proto 340:
|
||||
|
||||
`NDPI_PROTOCOL_EPICGAMES`
|
||||
=========================
|
||||
Epic Games is a video game company developing the Unreal Engine and some successful games as Fortnite and Gears of War.
|
||||
|
||||
References: `Main site <https://store.epicgames.com/en-US/>`_ and `Fortnite <https://www.fortnite.com/>`_.
|
||||
|
||||
|
||||
.. _Proto 341:
|
||||
|
||||
`NDPI_PROTOCOL_GEFORCENOW`
|
||||
==========================
|
||||
GeForce Now is the brand used by Nvidia for its cloud gaming service.
|
||||
|
||||
References: `Main site <https://www.nvidia.com/en-us/geforce-now/>`_.
|
||||
|
||||
|
||||
.. _Proto 342:
|
||||
|
||||
`NDPI_PROTOCOL_NVIDIA`
|
||||
======================
|
||||
Generic web traffic from Nvidia sites.
|
||||
|
||||
References: `Main site <https://www.nvidia.com>`_.
|
||||
|
||||
|
||||
.. _Proto 343:
|
||||
|
||||
`NDPI_PROTOCOL_BITCOIN`
|
||||
=======================
|
||||
Bitcoin is one of the most common crypto currencies.
|
||||
|
||||
References: `Main site <https://en.bitcoin.it/wiki/Protocol_documentation>`_.
|
||||
|
||||
Notes:
|
||||
|
||||
- Not each crypto exchange is a mining, it could be a normal transaction, sending or receving.
|
||||
- Bitcoin network protocol covers the broader set of rules that govern how all nodes in the network communicate and sync with each others blocks and transactions.
|
||||
- On the other hand mining protocols are more specific and deal directly with how miners interact with the network and participate in the mining process.
|
||||
|
||||
|
||||
.. _Proto 344:
|
||||
|
||||
`NDPI_PROTOCOL_PROTONVPN`
|
||||
=========================
|
||||
Proton VPN is a VPN service operated by the Swiss company Proton AG, the company behind the email service Proton Mail
|
||||
|
||||
References: `Main site <https://protonvpn.com/>`_.
|
||||
|
||||
|
||||
.. _Proto 345:
|
||||
|
||||
`NDPI_PROTOCOL_THRIFT`
|
||||
======================
|
||||
Apache Thrift is a generic data interchange framework that supports a bunch of different languages and platforms.
|
||||
|
||||
References: `Official site <https://thrift.apache.org>`_ and `Github <https://github.com/apache/thrift>`_.
|
||||
|
||||
|
||||
.. _Proto 346:
|
||||
|
||||
`NDPI_PROTOCOL_ROBLOX`
|
||||
======================
|
||||
Roblox is an online game platform and game creation system.
|
||||
|
||||
References: `Main site <https://www.roblox.com/>`_.
|
||||
|
||||
Notes:
|
||||
|
||||
- Since Roblox games use a custom version of the RakNet protocol, some Roblox flows might be classified as RakNet.
|
||||
|
||||
|
||||
.. _Proto 347:
|
||||
|
||||
`NDPI_PROTOCOL_SERVICE_LOCATION`
|
||||
================================
|
||||
The Service Location Protocol is a service discovery protocol that allows computers and other devices to find services in a local area network without prior configuration.
|
||||
|
||||
References: `SLPv1 <https://datatracker.ietf.org/doc/html/rfc2165>`_ and `SLPv2 <https://datatracker.ietf.org/doc/html/rfc2608>`_.
|
||||
|
||||
|
||||
.. _Proto 348:
|
||||
|
||||
`NDPI_PROTOCOL_MULLVAD`
|
||||
=======================
|
||||
Mullvad is a VPN service operated by Mullvad VPN AB, based in Sweden
|
||||
|
||||
References: `Main site <https://mullvad.net/>`_.
|
||||
|
||||
|
||||
.. _Proto 349:
|
||||
|
||||
`NDPI_PROTOCOL_HTTP2`
|
||||
=====================
|
||||
HTTP/2 (originally named HTTP/2.0) is a major revision of the HTTP network protocol used by the World Wide Web.
|
||||
|
||||
References: `RFC <https://datatracker.ietf.org/doc/html/rfc9113>`_.
|
||||
|
||||
Notes:
|
||||
|
||||
- HTTP/2 is almost always encrypted, i.e. transported over TLS.
|
||||
|
||||
|
||||
.. _Proto 350:
|
||||
|
||||
`NDPI_PROTOCOL_HAPROXY`
|
||||
=======================
|
||||
HAProxy is a free and open source software that provides a high availability load balancer and reverse proxy for TCP and HTTP-based applications that spreads requests across multiple servers.
|
||||
|
||||
References: `Main site: <https://www.haproxy.org>`_.
|
||||
|
||||
|
||||
.. _Proto 351:
|
||||
|
||||
`NDPI_PROTOCOL_RMCP`
|
||||
====================
|
||||
The Intelligent Platform Management Interface (IPMI) is a set of computer interface specifications for an autonomous computer subsystem that provides management and monitoring capabilities independently of the host system's CPU, firmware (BIOS or UEFI) and operating system.
|
||||
|
||||
References: `Protocol Specs: <https://www.dmtf.org/sites/default/files/standards/documents/DSP0114.pdf>`_.
|
||||
+6
-3
@@ -1,6 +1,9 @@
|
||||
AR=@AR@
|
||||
CC=@CC@
|
||||
CXX=@CXX@
|
||||
ifeq ($(OS),Darwin)
|
||||
CC=clang -fno-color-diagnostics
|
||||
endif
|
||||
BUILD_MINGW=@BUILD_MINGW@
|
||||
BUILD_MINGW_X64=@BUILD_MINGW_X64@
|
||||
DISABLE_NPCAP=@DISABLE_NPCAP@
|
||||
@@ -9,8 +12,8 @@ SRCHOME=../src
|
||||
ifneq ($(OS),Windows_NT)
|
||||
CFLAGS+=-fPIC -DPIC
|
||||
endif
|
||||
CFLAGS+=-I$(SRCHOME)/include @PCAP_INC@ @CFLAGS@ @GPROF_CFLAGS@
|
||||
LDFLAGS=@LDFLAGS@
|
||||
CFLAGS+=-I$(SRCHOME)/include @NDPI_CFLAGS@ @PCAP_INC@ @GPROF_CFLAGS@
|
||||
LDFLAGS+=@NDPI_LDFLAGS@
|
||||
LIBNDPI=$(SRCHOME)/lib/libndpi.a
|
||||
LIBS=$(LIBNDPI) @PCAP_LIB@ @ADDITIONAL_LIBS@ @LIBS@ @GPROF_LIBS@
|
||||
HEADERS=reader_util.h $(SRCHOME)/include/ndpi_api.h \
|
||||
@@ -79,7 +82,7 @@ cppcheck:
|
||||
cppcheck --template='{file}:{line}:{severity}:{message}' --quiet --enable=all --force -I$(SRCHOME)/include *.c
|
||||
|
||||
clean:
|
||||
/bin/rm -f *.o ndpiReader ndpiSimpleIntegration ndpiReader$(EXE_SUFFIX) ndpiSimpleIntegration$(EXE_SUFFIX) ndpiReader.dpdk
|
||||
/bin/rm -f *.o ndpiReader ndpiSimpleIntegration ndpiReader$(EXE_SUFFIX) ndpiSimpleIntegration$(EXE_SUFFIX) ndpiReader.dpdk libndpiReader.a
|
||||
/bin/rm -f .*.dpdk.cmd .*.o.cmd *.dpdk.map .*.o.d
|
||||
/bin/rm -f _install _postbuild _postinstall _preinstall
|
||||
/bin/rm -rf build
|
||||
|
||||
+1192
-615
File diff suppressed because it is too large
Load Diff
@@ -137,7 +137,7 @@ struct nDPI_workflow {
|
||||
struct nDPI_reader_thread {
|
||||
struct nDPI_workflow * workflow;
|
||||
pthread_t thread_id;
|
||||
int array_index;
|
||||
uint32_t array_index;
|
||||
};
|
||||
|
||||
static struct nDPI_reader_thread reader_threads[MAX_READER_THREADS] = {};
|
||||
@@ -549,7 +549,7 @@ static void ndpi_process_packet(uint8_t * const args,
|
||||
uint16_t l4_len = 0;
|
||||
|
||||
uint16_t type;
|
||||
int thread_index = INITIAL_THREAD_HASH; // generated with `dd if=/dev/random bs=1024 count=1 |& hd'
|
||||
uint32_t thread_index = INITIAL_THREAD_HASH; // generated with `dd if=/dev/random bs=1024 count=1 |& hd'
|
||||
|
||||
if (reader_thread == NULL) {
|
||||
return;
|
||||
@@ -884,7 +884,7 @@ static void ndpi_process_packet(uint8_t * const args,
|
||||
flow_to_process->detected_l7_protocol =
|
||||
ndpi_detection_process_packet(workflow->ndpi_struct, flow_to_process->ndpi_flow,
|
||||
ip != NULL ? (uint8_t *)ip : (uint8_t *)ip6,
|
||||
ip_size, time_ms);
|
||||
ip_size, time_ms, NULL);
|
||||
|
||||
if (ndpi_is_protocol_detected(workflow->ndpi_struct,
|
||||
flow_to_process->detected_l7_protocol) != 0 &&
|
||||
@@ -943,7 +943,7 @@ static void ndpi_process_packet(uint8_t * const args,
|
||||
{
|
||||
uint8_t unknown_tls_version = 0;
|
||||
char buf_ver[16];
|
||||
printf("[%8llu, %d, %4d][TLS-CLIENT-HELLO] version: %s | sni: %s | alpn: %s\n",
|
||||
printf("[%8llu, %d, %4d][TLS-CLIENT-HELLO] version: %s | sni: %s | (advertised) ALPNs: %s\n",
|
||||
workflow->packets_captured,
|
||||
reader_thread->array_index,
|
||||
flow_to_process->flow_id,
|
||||
@@ -951,12 +951,12 @@ static void ndpi_process_packet(uint8_t * const args,
|
||||
flow_to_process->ndpi_flow->protos.tls_quic.ssl_version,
|
||||
&unknown_tls_version),
|
||||
flow_to_process->ndpi_flow->host_server_name,
|
||||
(flow_to_process->ndpi_flow->protos.tls_quic.alpn != NULL ?
|
||||
flow_to_process->ndpi_flow->protos.tls_quic.alpn : "-"));
|
||||
(flow_to_process->ndpi_flow->protos.tls_quic.advertised_alpns != NULL ?
|
||||
flow_to_process->ndpi_flow->protos.tls_quic.advertised_alpns : "-"));
|
||||
flow_to_process->tls_client_hello_seen = 1;
|
||||
}
|
||||
if (flow_to_process->tls_server_hello_seen == 0 &&
|
||||
flow_to_process->ndpi_flow->l4.tcp.tls.certificate_processed != 0)
|
||||
flow_to_process->ndpi_flow->tls_quic.certificate_processed != 0)
|
||||
{
|
||||
uint8_t unknown_tls_version = 0;
|
||||
char buf_ver[16];
|
||||
|
||||
+18
-2
@@ -2,9 +2,20 @@
|
||||
# <tcp|udp>:<port>,<tcp|udp>:<port>,.....@<proto>
|
||||
|
||||
tcp:81,tcp:8181@HTTP
|
||||
udp:5061-5062@SIP
|
||||
udp:5062@SIP
|
||||
tcp:860,udp:860,tcp:3260,udp:3260@iSCSI
|
||||
tcp:3000@ntop
|
||||
tcp:9002@Elasticsearch
|
||||
tcp:5601@Kibana
|
||||
tcp:65535@TestProto
|
||||
|
||||
#
|
||||
# nBPF filters (https://github.com/ntop/PF_RING/tree/dev/userland/nbpf))
|
||||
#
|
||||
# NOTE: they are evaluated in the same order they are defined !
|
||||
#
|
||||
nbpf:"host 192.168.1.1 and port 80"@HomeRouter
|
||||
|
||||
|
||||
# Subprotocols
|
||||
# Format:
|
||||
@@ -39,6 +50,10 @@ ip:213.75.170.11/32:443@CustomProtocol
|
||||
ip:8.248.73.247:443@AmazonPrime
|
||||
ip:54.80.47.130@AmazonPrime
|
||||
|
||||
ip:3.3.3.3:443@CustomProtocolA
|
||||
ip:3.3.3.3:444@CustomProtocolB
|
||||
ip:3.3.3.3:446@CustomProtocolC=400
|
||||
|
||||
#
|
||||
# Risk Exceptions
|
||||
#
|
||||
@@ -50,7 +65,8 @@ ip:54.80.47.130@AmazonPrime
|
||||
# For IPs, the flow risk is put in AND (source IP mask OR destination IP mask)
|
||||
# For Flows with a hostname (e.g. TLS) the risk is also put in AND with the host_risk_mask
|
||||
#ip_risk_mask:192.168.1.0/24=0
|
||||
#ip_risk_mask:10.196.157.228=0
|
||||
ip_risk_mask:10.10.120.0/24=0
|
||||
ip_risk_mask:10.196.157.228=0
|
||||
host_risk_mask:".home"=0
|
||||
|
||||
|
||||
|
||||
+466
-204
File diff suppressed because it is too large
Load Diff
+74
-33
@@ -93,6 +93,10 @@ extern int dpdk_port_deinit(int port);
|
||||
#define SERIALIZATION_BUFSIZ (8192 * 2)
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
// inner hash table (ja3 -> security state)
|
||||
typedef struct ndpi_ja3_info {
|
||||
char * ja3;
|
||||
@@ -162,9 +166,10 @@ enum info_type {
|
||||
INFO_INVALID = 0,
|
||||
INFO_GENERIC,
|
||||
INFO_KERBEROS,
|
||||
INFO_SOFTETHER,
|
||||
INFO_TIVOCONNECT,
|
||||
INFO_FTP_IMAP_POP_SMTP,
|
||||
INFO_TLS_QUIC_ALPN_VERSION,
|
||||
INFO_TLS_QUIC_ALPN_ONLY,
|
||||
INFO_NATPMP,
|
||||
};
|
||||
|
||||
// flow tracking
|
||||
@@ -181,7 +186,7 @@ typedef struct ndpi_flow_info {
|
||||
u_int16_t vlan_id;
|
||||
ndpi_packet_tunnel tunnel_type;
|
||||
struct ndpi_flow_struct *ndpi_flow;
|
||||
char src_name[48], dst_name[48];
|
||||
char src_name[INET6_ADDRSTRLEN], dst_name[INET6_ADDRSTRLEN];
|
||||
u_int8_t ip_version;
|
||||
u_int32_t cwr_count, src2dst_cwr_count, dst2src_cwr_count;
|
||||
u_int32_t ece_count, src2dst_ece_count, dst2src_ece_count;
|
||||
@@ -203,6 +208,8 @@ typedef struct ndpi_flow_info {
|
||||
// result only, not used for flow identification
|
||||
ndpi_protocol detected_protocol;
|
||||
ndpi_confidence_t confidence;
|
||||
u_int16_t num_dissector_calls;
|
||||
u_int16_t dpi_packets;
|
||||
|
||||
// Flow data analysis
|
||||
pkt_timeval src2dst_last_pkt_time, dst2src_last_pkt_time, flow_last_pkt_time;
|
||||
@@ -210,36 +217,61 @@ typedef struct ndpi_flow_info {
|
||||
*pktlen_c_to_s, *pktlen_s_to_c;
|
||||
|
||||
enum info_type info_type;
|
||||
|
||||
union {
|
||||
char info[256];
|
||||
struct {
|
||||
char alpn[128];
|
||||
char tls_supported_versions[128];
|
||||
} tls_quic;
|
||||
|
||||
struct {
|
||||
unsigned char auth_failed;
|
||||
char username[127];
|
||||
char password[128];
|
||||
} ftp_imap_pop_smtp;
|
||||
|
||||
struct {
|
||||
char domain[85];
|
||||
char hostname[85];
|
||||
char username[86];
|
||||
} kerberos;
|
||||
|
||||
struct {
|
||||
char ip[16];
|
||||
char port[6];
|
||||
char hostname[48];
|
||||
char fqdn[48];
|
||||
} softether;
|
||||
|
||||
struct {
|
||||
char identity_uuid[36];
|
||||
char machine[48];
|
||||
char platform[32];
|
||||
char services[48];
|
||||
} tivoconnect;
|
||||
|
||||
struct {
|
||||
uint16_t result_code;
|
||||
uint16_t internal_port;
|
||||
uint16_t external_port;
|
||||
char ip[16];
|
||||
} natpmp;
|
||||
};
|
||||
|
||||
char flow_extra_info[16];
|
||||
ndpi_serializer ndpi_flow_serializer;
|
||||
|
||||
char host_server_name[80]; /* Hostname/SNI */
|
||||
char *bittorent_hash;
|
||||
char *dhcp_fingerprint;
|
||||
char *dhcp_class_ident;
|
||||
ndpi_risk risk;
|
||||
|
||||
struct {
|
||||
char currency[16];
|
||||
} mining;
|
||||
|
||||
struct {
|
||||
u_int16_t ssl_version;
|
||||
char server_info[64],
|
||||
client_hassh[33], server_hassh[33], *server_names,
|
||||
*tls_alpn, *tls_supported_versions,
|
||||
*advertised_alpns, *negotiated_alpn, *tls_supported_versions,
|
||||
*tls_issuerDN, *tls_subjectDN,
|
||||
ja3_client[33], ja3_server[33],
|
||||
sha1_cert_fingerprint[20];
|
||||
@@ -251,13 +283,19 @@ typedef struct ndpi_flow_info {
|
||||
char *esni;
|
||||
} encrypted_sni;
|
||||
|
||||
struct {
|
||||
u_int16_t version;
|
||||
} encrypted_ch;
|
||||
|
||||
time_t notBefore, notAfter;
|
||||
u_int16_t server_cipher;
|
||||
ndpi_cipher_weakness client_unsafe_cipher, server_unsafe_cipher;
|
||||
|
||||
u_int32_t quic_version;
|
||||
} ssh_tls;
|
||||
|
||||
struct {
|
||||
char url[256], request_content_type[64], content_type[64], user_agent[256];
|
||||
char url[256], request_content_type[64], content_type[64], user_agent[256], server[128], nat_ip[32], filename[256];
|
||||
u_int response_status_code;
|
||||
} http;
|
||||
|
||||
@@ -265,6 +303,12 @@ typedef struct ndpi_flow_info {
|
||||
char *username, *password;
|
||||
} telnet;
|
||||
|
||||
struct {
|
||||
char geolocation_iata_code[4];
|
||||
} dns;
|
||||
|
||||
ndpi_multimedia_flow_type multimedia_flow_type;
|
||||
|
||||
void *src_id, *dst_id;
|
||||
|
||||
struct ndpi_entropy *entropy;
|
||||
@@ -276,6 +320,10 @@ typedef struct ndpi_flow_info {
|
||||
#else
|
||||
struct ndpi_bin payload_len_bin;
|
||||
#endif
|
||||
|
||||
/* Flow payload */
|
||||
u_int16_t flow_payload_len;
|
||||
char *flow_payload;
|
||||
} ndpi_flow_info_t;
|
||||
|
||||
|
||||
@@ -296,6 +344,11 @@ typedef struct ndpi_stats {
|
||||
u_int16_t max_packet_len;
|
||||
u_int64_t dpi_packet_count[3];
|
||||
u_int64_t flow_confidence[NDPI_CONFIDENCE_MAX];
|
||||
u_int64_t num_dissector_calls;
|
||||
|
||||
struct ndpi_lru_cache_stats lru_stats[NDPI_LRUCACHE_MAX];
|
||||
struct ndpi_automa_stats automa_stats[NDPI_AUTOMA_MAX];
|
||||
struct ndpi_patricia_tree_stats patricia_stats[NDPI_PTREE_MAX];
|
||||
} ndpi_stats_t;
|
||||
|
||||
|
||||
@@ -321,11 +374,6 @@ typedef struct ndpi_workflow {
|
||||
struct ndpi_workflow_prefs prefs;
|
||||
struct ndpi_stats stats;
|
||||
|
||||
ndpi_workflow_callback_ptr __flow_detected_callback;
|
||||
void * __flow_detected_udata;
|
||||
ndpi_workflow_callback_ptr __flow_giveup_callback;
|
||||
void * __flow_giveup_udata;
|
||||
|
||||
/* outside referencies */
|
||||
pcap_t *pcap_handle;
|
||||
|
||||
@@ -335,7 +383,7 @@ typedef struct ndpi_workflow {
|
||||
u_int32_t num_allocated_flows;
|
||||
|
||||
/* CSV,TLV,JSON serialization interface */
|
||||
ndpi_serializer ndpi_serializer;
|
||||
ndpi_serialization_format ndpi_serialization_format;
|
||||
} ndpi_workflow_t;
|
||||
|
||||
|
||||
@@ -362,32 +410,17 @@ struct ndpi_proto ndpi_workflow_process_packet(struct ndpi_workflow * workflow,
|
||||
|
||||
int ndpi_is_datalink_supported(int datalink_type);
|
||||
|
||||
/* flow callbacks for complete detected flow
|
||||
(ndpi_flow_info will be freed right after) */
|
||||
static inline void ndpi_workflow_set_flow_detected_callback(struct ndpi_workflow * workflow, ndpi_workflow_callback_ptr callback, void * udata) {
|
||||
workflow->__flow_detected_callback = callback;
|
||||
workflow->__flow_detected_udata = udata;
|
||||
}
|
||||
|
||||
/* flow callbacks for sufficient detected flow
|
||||
(ndpi_flow_info will be freed right after) */
|
||||
static inline void ndpi_workflow_set_flow_giveup_callback(struct ndpi_workflow * workflow, ndpi_workflow_callback_ptr callback, void * udata) {
|
||||
workflow->__flow_giveup_callback = callback;
|
||||
workflow->__flow_giveup_udata = udata;
|
||||
}
|
||||
|
||||
/* compare two nodes in workflow */
|
||||
int ndpi_workflow_node_cmp(const void *a, const void *b);
|
||||
void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_flow_info *flow);
|
||||
u_int32_t ethernet_crc32(const void* data, size_t n_bytes);
|
||||
void ndpi_flow_info_free_data(struct ndpi_flow_info *flow);
|
||||
void ndpi_flow_info_freer(void *node);
|
||||
const char* print_cipher_id(u_int32_t cipher);
|
||||
float ndpi_flow_get_byte_count_entropy(const uint32_t byte_count[256], unsigned int num_bytes);
|
||||
int parse_proto_name_list(char *str, NDPI_PROTOCOL_BITMASK *bitmask, int inverted_logic);
|
||||
|
||||
extern int nDPI_LogLevel;
|
||||
|
||||
#ifdef NDPI_ENABLE_DEBUG_MESSAGES
|
||||
#if defined(NDPI_ENABLE_DEBUG_MESSAGES) && !defined(FUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION)
|
||||
#define LOG(log_level, args...) \
|
||||
{ \
|
||||
if(log_level <= nDPI_LogLevel) \
|
||||
@@ -397,4 +430,12 @@ extern int nDPI_LogLevel;
|
||||
#define LOG(...) {}
|
||||
#endif
|
||||
|
||||
#ifndef LINKTYPE_LINUX_SLL2
|
||||
#define LINKTYPE_LINUX_SLL2 276
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
+655
-31
@@ -1,52 +1,676 @@
|
||||
bin_PROGRAMS = fuzz_process_packet fuzz_process_packet_with_main fuzz_ndpi_reader fuzz_ndpi_reader_with_main
|
||||
bin_PROGRAMS = fuzz_process_packet fuzz_ndpi_reader fuzz_ndpi_reader_alloc_fail fuzz_ndpi_reader_payload_analyzer fuzz_quic_get_crypto_data fuzz_config fuzz_community_id fuzz_serialization fuzz_tls_certificate fuzz_dga
|
||||
#Alghoritms
|
||||
bin_PROGRAMS += fuzz_alg_bins fuzz_alg_hll fuzz_alg_hw_rsi_outliers_da fuzz_alg_jitter fuzz_alg_ses_des fuzz_alg_crc32_md5 fuzz_alg_bytestream
|
||||
#Data structures
|
||||
bin_PROGRAMS += fuzz_ds_patricia fuzz_ds_ahocorasick fuzz_ds_libcache fuzz_ds_tree fuzz_ds_ptree fuzz_ds_hash fuzz_ds_cmsketch fuzz_ds_bitmap64 fuzz_ds_domain_classify
|
||||
#Third party
|
||||
bin_PROGRAMS += fuzz_libinjection fuzz_binaryfusefilter
|
||||
#Internal crypto
|
||||
bin_PROGRAMS += fuzz_gcrypt_light fuzz_gcrypt_aes fuzz_gcrypt_gcm fuzz_gcrypt_cipher
|
||||
#Configuration files
|
||||
bin_PROGRAMS += fuzz_filecfg_protocols
|
||||
#Reader utils
|
||||
bin_PROGRAMS += fuzz_readerutils_workflow fuzz_readerutils_parseprotolist
|
||||
|
||||
fuzz_process_packet_SOURCES = fuzz_process_packet.c
|
||||
fuzz_process_packet_CFLAGS =
|
||||
fuzz_process_packet_LDADD = ../src/lib/libndpi.a
|
||||
fuzz_process_packet_LDFLAGS = $(ADDITIONAL_LIBS) $(LIBS)
|
||||
fuzz_process_packet_SOURCES = fuzz_process_packet.c fuzz_common_code.c
|
||||
fuzz_process_packet_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_process_packet_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_process_packet_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_process_packet_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_process_packet_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_process_packet_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_process_packet_LDFLAGS) $(LDFLAGS) -o $@
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_process_packet_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_process_packet_with_main_SOURCES = fuzz_process_packet.c
|
||||
fuzz_process_packet_with_main_CFLAGS = -DBUILD_MAIN
|
||||
fuzz_process_packet_with_main_LDADD = ../src/lib/libndpi.a
|
||||
fuzz_process_packet_with_main_LDFLAGS = $(ADDITIONAL_LIBS) $(LIBS)
|
||||
# force usage of CXX for linker
|
||||
fuzz_process_packet_with_main_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_process_packet_with_main_LDFLAGS) $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ndpi_reader_SOURCES = fuzz_ndpi_reader.c
|
||||
fuzz_ndpi_reader_CFLAGS = -I../example/
|
||||
fuzz_ndpi_reader_LDADD = ../example/libndpiReader.a ../src/lib/libndpi.a
|
||||
fuzz_ndpi_reader_LDFLAGS = $(PCAP_LIB) $(ADDITIONAL_LIBS) $(LIBS)
|
||||
fuzz_ndpi_reader_SOURCES = fuzz_ndpi_reader.c fuzz_common_code.c ../example/reader_util.c
|
||||
fuzz_ndpi_reader_CFLAGS = -I../example/ @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ndpi_reader_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ndpi_reader_LDFLAGS = $(PCAP_LIB) $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ndpi_reader_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ndpi_reader_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ndpi_reader_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ndpi_reader_LDFLAGS) $(LDFLAGS) -o $@
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ndpi_reader_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ndpi_reader_with_main_SOURCES = fuzz_ndpi_reader.c
|
||||
fuzz_ndpi_reader_with_main_CFLAGS = -I../example/ -DBUILD_MAIN
|
||||
fuzz_ndpi_reader_with_main_LDADD = ../src/lib/libndpi.a
|
||||
fuzz_ndpi_reader_with_main_LDFLAGS = ../example/libndpiReader.a $(PCAP_LIB) $(ADDITIONAL_LIBS) $(LIBS)
|
||||
fuzz_ndpi_reader_alloc_fail_SOURCES = fuzz_ndpi_reader.c fuzz_common_code.c ../example/reader_util.c
|
||||
fuzz_ndpi_reader_alloc_fail_CFLAGS = -I../example/ @NDPI_CFLAGS@ $(CXXFLAGS) -DENABLE_MEM_ALLOC_FAILURES -DCRYPT_FORCE_NO_AESNI
|
||||
fuzz_ndpi_reader_alloc_fail_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ndpi_reader_alloc_fail_LDFLAGS = $(PCAP_LIB) $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ndpi_reader_alloc_fail_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ndpi_reader_alloc_fail_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ndpi_reader_with_main_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ndpi_reader_with_main_LDFLAGS) $(LDFLAGS) -o $@
|
||||
fuzz_ndpi_reader_alloc_fail_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ndpi_reader_alloc_fail_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ndpi_reader_payload_analyzer_SOURCES = fuzz_ndpi_reader.c fuzz_common_code.c ../example/reader_util.c
|
||||
fuzz_ndpi_reader_payload_analyzer_CFLAGS = -I../example/ @NDPI_CFLAGS@ $(CXXFLAGS) -DENABLE_MEM_ALLOC_FAILURES -DENABLE_PAYLOAD_ANALYZER
|
||||
fuzz_ndpi_reader_payload_analyzer_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ndpi_reader_payload_analyzer_LDFLAGS = $(PCAP_LIB) $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ndpi_reader_payload_analyzer_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ndpi_reader_payload_analyzer_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ndpi_reader_payload_analyzer_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ndpi_reader_payload_analyzer_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_quic_get_crypto_data_SOURCES = fuzz_quic_get_crypto_data.c fuzz_common_code.c
|
||||
fuzz_quic_get_crypto_data_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_quic_get_crypto_data_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_quic_get_crypto_data_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_quic_get_crypto_data_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_quic_get_crypto_data_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_quic_get_crypto_data_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_quic_get_crypto_data_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_config_SOURCES = fuzz_config.cpp fuzz_common_code.c
|
||||
fuzz_config_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_config_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_config_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_config_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_config_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_config_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_config_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_config_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_config_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_community_id_SOURCES = fuzz_community_id.cpp fuzz_common_code.c
|
||||
fuzz_community_id_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_community_id_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_community_id_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_community_id_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_community_id_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_community_id_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_community_id_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_community_id_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_community_id_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_serialization_SOURCES = fuzz_serialization.cpp fuzz_common_code.c
|
||||
fuzz_serialization_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_serialization_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_serialization_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_serialization_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_serialization_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_serialization_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_serialization_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_serialization_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_serialization_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_bins_SOURCES = fuzz_alg_bins.cpp fuzz_common_code.c
|
||||
fuzz_alg_bins_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_bins_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_bins_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_bins_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_bins_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_bins_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_bins_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_bins_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_bins_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_hll_SOURCES = fuzz_alg_hll.cpp fuzz_common_code.c
|
||||
fuzz_alg_hll_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_hll_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_hll_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_hll_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_hll_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_hll_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_hll_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_hll_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_hll_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_hw_rsi_outliers_da_SOURCES = fuzz_alg_hw_rsi_outliers_da.cpp fuzz_common_code.c
|
||||
fuzz_alg_hw_rsi_outliers_da_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_hw_rsi_outliers_da_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_hw_rsi_outliers_da_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_hw_rsi_outliers_da_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_hw_rsi_outliers_da_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_hw_rsi_outliers_da_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_hw_rsi_outliers_da_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_hw_rsi_outliers_da_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_hw_rsi_outliers_da_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_jitter_SOURCES = fuzz_alg_jitter.cpp fuzz_common_code.c
|
||||
fuzz_alg_jitter_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_jitter_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_jitter_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_jitter_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_jitter_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_jitter_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_jitter_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_jitter_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_jitter_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_crc32_md5_SOURCES = fuzz_alg_crc32_md5.c
|
||||
fuzz_alg_crc32_md5_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_crc32_md5_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_crc32_md5_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_crc32_md5_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_crc32_md5_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_crc32_md5_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_crc32_md5_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_bytestream_SOURCES = fuzz_alg_bytestream.c
|
||||
fuzz_alg_bytestream_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_bytestream_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_bytestream_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_bytestream_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_bytestream_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_bytestream_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_bytestream_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_alg_ses_des_SOURCES = fuzz_alg_ses_des.cpp fuzz_common_code.c
|
||||
fuzz_alg_ses_des_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_ses_des_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_alg_ses_des_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_alg_ses_des_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_alg_ses_des_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_ses_des_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_alg_ses_des_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_alg_ses_des_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_alg_ses_des_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_patricia_SOURCES = fuzz_ds_patricia.cpp fuzz_common_code.c
|
||||
fuzz_ds_patricia_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_patricia_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_patricia_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_patricia_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_patricia_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_patricia_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_patricia_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_patricia_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_patricia_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_ahocorasick_SOURCES = fuzz_ds_ahocorasick.cpp fuzz_common_code.c
|
||||
fuzz_ds_ahocorasick_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_ahocorasick_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_ahocorasick_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_ahocorasick_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_ahocorasick_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_ahocorasick_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_ahocorasick_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_ahocorasick_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_ahocorasick_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_libcache_SOURCES = fuzz_ds_libcache.cpp fuzz_common_code.c
|
||||
fuzz_ds_libcache_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_libcache_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_libcache_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_libcache_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_libcache_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_libcache_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_libcache_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_libcache_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_libcache_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_tree_SOURCES = fuzz_ds_tree.cpp fuzz_common_code.c
|
||||
fuzz_ds_tree_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_tree_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_tree_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_tree_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_tree_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_tree_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_tree_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_tree_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_tree_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_ptree_SOURCES = fuzz_ds_ptree.cpp fuzz_common_code.c
|
||||
fuzz_ds_ptree_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_ptree_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_ptree_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_ptree_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_ptree_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_ptree_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_ptree_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_ptree_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_ptree_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_hash_SOURCES = fuzz_ds_hash.cpp fuzz_common_code.c
|
||||
fuzz_ds_hash_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_hash_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_hash_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_hash_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_hash_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_hash_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_hash_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_hash_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_hash_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_cmsketch_SOURCES = fuzz_ds_cmsketch.cpp fuzz_common_code.c
|
||||
fuzz_ds_cmsketch_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_cmsketch_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_cmsketch_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_cmsketch_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_cmsketch_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_cmsketch_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_cmsketch_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_cmsketch_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_cmsketch_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_bitmap64_SOURCES = fuzz_ds_bitmap64.cpp fuzz_common_code.c
|
||||
fuzz_ds_bitmap64_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_bitmap64_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_bitmap64_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_bitmap64_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_bitmap64_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_bitmap64_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_bitmap64_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_bitmap64_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_bitmap64_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_ds_domain_classify_SOURCES = fuzz_ds_domain_classify.cpp fuzz_common_code.c
|
||||
fuzz_ds_domain_classify_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_domain_classify_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_ds_domain_classify_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_ds_domain_classify_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_ds_domain_classify_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_domain_classify_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_ds_domain_classify_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_ds_domain_classify_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_ds_domain_classify_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_libinjection_SOURCES = fuzz_libinjection.c
|
||||
fuzz_libinjection_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_libinjection_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_libinjection_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_libinjection_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_libinjection_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_libinjection_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_libinjection_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_binaryfusefilter_SOURCES = fuzz_binaryfusefilter.cpp fuzz_common_code.c
|
||||
fuzz_binaryfusefilter_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_binaryfusefilter_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_binaryfusefilter_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_binaryfusefilter_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_binaryfusefilter_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_binaryfusefilter_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_binaryfusefilter_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_binaryfusefilter_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_binaryfusefilter_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_tls_certificate_SOURCES = fuzz_tls_certificate.c fuzz_common_code.c
|
||||
fuzz_tls_certificate_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_tls_certificate_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_tls_certificate_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_tls_certificate_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_tls_certificate_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_tls_certificate_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_tls_certificate_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_dga_SOURCES = fuzz_dga.c fuzz_common_code.c
|
||||
fuzz_dga_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_dga_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_dga_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_dga_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_dga_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_dga_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_dga_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_gcrypt_light_SOURCES = fuzz_gcrypt_light.cpp fuzz_common_code.c
|
||||
fuzz_gcrypt_light_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_light_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_light_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_gcrypt_light_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_gcrypt_light_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_light_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_light_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_gcrypt_light_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_gcrypt_light_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_gcrypt_aes_SOURCES = fuzz_gcrypt_aes.cpp
|
||||
fuzz_gcrypt_aes_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_aes_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_aes_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_gcrypt_aes_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_gcrypt_aes_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_aes_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_aes_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_gcrypt_aes_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_gcrypt_aes_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_gcrypt_gcm_SOURCES = fuzz_gcrypt_gcm.cpp
|
||||
fuzz_gcrypt_gcm_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_gcm_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_gcm_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_gcrypt_gcm_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_gcrypt_gcm_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_gcm_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_gcm_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_gcrypt_gcm_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_gcrypt_gcm_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_gcrypt_cipher_SOURCES = fuzz_gcrypt_cipher.cpp
|
||||
fuzz_gcrypt_cipher_CXXFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_cipher_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -I ../src/lib/third_party/include/
|
||||
fuzz_gcrypt_cipher_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_gcrypt_cipher_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_gcrypt_cipher_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_cipher_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_gcrypt_cipher_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_gcrypt_cipher_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_gcrypt_cipher_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_filecfg_protocols_SOURCES = fuzz_filecfg_protocols.c fuzz_common_code.c
|
||||
fuzz_filecfg_protocols_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_filecfg_protocols_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_filecfg_protocols_LDFLAGS = $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_filecfg_protocols_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_filecfg_protocols_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_filecfg_protocols_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_filecfg_protocols_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_readerutils_workflow_SOURCES = fuzz_readerutils_workflow.cpp fuzz_common_code.c ../example/reader_util.c
|
||||
fuzz_readerutils_workflow_CXXFLAGS = -I../example/ @NDPI_CFLAGS@ $(CXXFLAGS) -DDISABLE_CUSTOM_ALLOCATOR_ON_READERUTILS
|
||||
fuzz_readerutils_workflow_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS) -DDISABLE_CUSTOM_ALLOCATOR_ON_READERUTILS
|
||||
fuzz_readerutils_workflow_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_readerutils_workflow_LDFLAGS = $(PCAP_LIB) $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_readerutils_workflow_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_readerutils_workflow_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_readerutils_workflow_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_readerutils_workflow_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_readerutils_workflow_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
fuzz_readerutils_parseprotolist_SOURCES = fuzz_readerutils_parseprotolist.cpp fuzz_common_code.c ../example/reader_util.c
|
||||
fuzz_readerutils_parseprotolist_CXXFLAGS = -I../example/ @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_readerutils_parseprotolist_CFLAGS = @NDPI_CFLAGS@ $(CXXFLAGS)
|
||||
fuzz_readerutils_parseprotolist_LDADD = ../src/lib/libndpi.a $(ADDITIONAL_LIBS)
|
||||
fuzz_readerutils_parseprotolist_LDFLAGS = $(PCAP_LIB) $(LIBS)
|
||||
if HAS_FUZZLDFLAGS
|
||||
fuzz_readerutils_parseprotolist_CXXFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_readerutils_parseprotolist_CFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
fuzz_readerutils_parseprotolist_LDFLAGS += $(LIB_FUZZING_ENGINE)
|
||||
endif
|
||||
# force usage of CXX for linker
|
||||
fuzz_readerutils_parseprotolist_LINK=$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
||||
$(LIBTOOLFLAGS) --mode=link $(CXX) @NDPI_CFLAGS@ $(AM_CXXFLAGS) $(CXXFLAGS) \
|
||||
$(fuzz_readerutils_parseprotolist_LDFLAGS) @NDPI_LDFLAGS@ $(LDFLAGS) -o $@
|
||||
|
||||
|
||||
# required for Google oss-fuzz
|
||||
# see https://github.com/google/oss-fuzz/tree/master/projects/ndpi
|
||||
testpcaps := $(wildcard ../tests/pcap/*.pcap*)
|
||||
testpcaps := $(wildcard ../tests/cfgs/default/pcap/*.pcap*)
|
||||
|
||||
fuzz_ndpi_reader_seed_corpus.zip: $(testpcaps)
|
||||
zip -r fuzz_ndpi_reader_seed_corpus.zip $(testpcaps)
|
||||
zip -j fuzz_ndpi_reader_seed_corpus.zip $(testpcaps)
|
||||
|
||||
fuzz_ndpi_reader_alloc_fail_seed_corpus.zip: $(testpcaps)
|
||||
zip -j fuzz_ndpi_reader_alloc_fail_seed_corpus.zip $(testpcaps)
|
||||
|
||||
fuzz_ndpi_reader_payload_analyzer_seed_corpus.zip: $(testpcaps)
|
||||
zip -j fuzz_ndpi_reader_payload_analyzer_seed_corpus.zip $(testpcaps)
|
||||
|
||||
files_corpus_fuzz_quic_get_crypto_data := $(wildcard corpus/fuzz_quic_get_crypto_data/*)
|
||||
fuzz_quic_get_crypto_data_seed_corpus.zip: $(files_corpus_fuzz_quic_get_crypto_data)
|
||||
zip -j fuzz_quic_get_crypto_data_seed_corpus.zip $(files_corpus_fuzz_quic_get_crypto_data)
|
||||
|
||||
files_corpus_fuzz_config := $(wildcard corpus/fuzz_config/*)
|
||||
fuzz_config_seed_corpus.zip: $(files_corpus_fuzz_config)
|
||||
zip -j fuzz_config_seed_corpus.zip $(files_corpus_fuzz_config)
|
||||
|
||||
files_corpus_fuzz_serialization := $(wildcard corpus/fuzz_serialization/*)
|
||||
fuzz_serialization_seed_corpus.zip: $(files_corpus_fuzz_serialization)
|
||||
zip -j fuzz_serialization_seed_corpus.zip $(files_corpus_fuzz_serialization)
|
||||
|
||||
files_corpus_fuzz_community_id := $(wildcard corpus/fuzz_community_id/*)
|
||||
|
||||
fuzz_community_id_seed_corpus.zip: $(files_corpus_fuzz_community_id)
|
||||
zip -j fuzz_community_id_seed_corpus.zip $(files_corpus_fuzz_community_id)
|
||||
|
||||
files_corpus_fuzz_ds_patricia := $(wildcard corpus/fuzz_ds_patricia/*)
|
||||
fuzz_ds_patricia_seed_corpus.zip: $(files_corpus_fuzz_ds_patricia)
|
||||
zip -j fuzz_ds_patricia_seed_corpus.zip $(files_corpus_fuzz_ds_patricia)
|
||||
|
||||
files_corpus_fuzz_ds_ahocorasick := $(wildcard corpus/fuzz_ds_ahocorasick/*)
|
||||
fuzz_ds_ahocorasick_seed_corpus.zip: $(files_corpus_fuzz_ds_ahocorasick)
|
||||
zip -j fuzz_ds_ahocorasick_seed_corpus.zip $(files_corpus_fuzz_ds_ahocorasick)
|
||||
|
||||
files_corpus_fuzz_alg_ses_des := $(wildcard corpus/fuzz_alg_ses_des/*)
|
||||
fuzz_alg_ses_des_seed_corpus.zip: $(files_corpus_fuzz_alg_ses_des)
|
||||
zip -j fuzz_alg_ses_des_seed_corpus.zip $(files_corpus_fuzz_alg_ses_des)
|
||||
|
||||
files_corpus_fuzz_alg_hw_rsi_outliers_da := $(wildcard corpus/fuzz_alg_hw_rsi_outliers_da/*)
|
||||
fuzz_alg_hw_rsi_outliers_da_seed_corpus.zip: $(files_corpus_fuzz_alg_hw_rsi_outliers_da)
|
||||
zip -j fuzz_alg_hw_rsi_outliers_da_seed_corpus.zip $(files_corpus_fuzz_alg_hw_rsi_outliers_da)
|
||||
|
||||
files_corpus_fuzz_alg_bins := $(wildcard corpus/fuzz_alg_bins/*)
|
||||
fuzz_alg_bins_seed_corpus.zip: $(files_corpus_fuzz_alg_bins)
|
||||
zip -j fuzz_alg_bins_seed_corpus.zip $(files_corpus_fuzz_alg_bins)
|
||||
|
||||
files_corpus_fuzz_alg_hll := $(wildcard corpus/fuzz_alg_hll/*)
|
||||
fuzz_alg_hll_seed_corpus.zip: $(files_corpus_fuzz_alg_hll)
|
||||
zip -j fuzz_alg_hll_seed_corpus.zip $(files_corpus_fuzz_alg_hll)
|
||||
|
||||
files_corpus_fuzz_alg_jitter := $(wildcard corpus/fuzz_alg_jitter/*)
|
||||
fuzz_alg_jitter_seed_corpus.zip: $(files_corpus_fuzz_alg_jitter)
|
||||
zip -j fuzz_alg_jitter_seed_corpus.zip $(files_corpus_fuzz_alg_jitter)
|
||||
|
||||
files_corpus_fuzz_alg_crc32_md5 := $(wildcard corpus/fuzz_alg_crc32_md5/*)
|
||||
fuzz_alg_crc32_md5_seed_corpus.zip: $(files_corpus_fuzz_alg_crc32_md5)
|
||||
zip -j fuzz_alg_crc32_md5_seed_corpus.zip $(files_corpus_fuzz_alg_crc32_md5)
|
||||
|
||||
files_corpus_fuzz_ds_libcache := $(wildcard corpus/fuzz_ds_libcache/*)
|
||||
fuzz_ds_libcache_seed_corpus.zip: $(files_corpus_fuzz_ds_libcache)
|
||||
zip -j fuzz_ds_libcache_seed_corpus.zip $(files_corpus_fuzz_ds_libcache)
|
||||
|
||||
files_corpus_fuzz_ds_tree := $(wildcard corpus/fuzz_ds_tree/*)
|
||||
fuzz_ds_tree_seed_corpus.zip: $(files_corpus_fuzz_ds_tree)
|
||||
zip -j fuzz_ds_tree_seed_corpus.zip $(files_corpus_fuzz_ds_tree)
|
||||
|
||||
files_corpus_fuzz_ds_ptree := $(wildcard corpus/fuzz_ds_ptree/*)
|
||||
fuzz_ds_ptree_seed_corpus.zip: $(files_corpus_fuzz_ds_ptree)
|
||||
zip -j fuzz_ds_ptree_seed_corpus.zip $(files_corpus_fuzz_ds_ptree)
|
||||
|
||||
files_corpus_fuzz_alg_bytestream := $(wildcard corpus/fuzz_alg_bytestream/*)
|
||||
fuzz_alg_bytestream_seed_corpus.zip: $(files_corpus_fuzz_alg_bytestream)
|
||||
zip -j fuzz_alg_bytestream_seed_corpus.zip $(files_corpus_fuzz_alg_bytestream)
|
||||
|
||||
files_corpus_fuzz_libinjection := $(wildcard corpus/fuzz_libinjection/*)
|
||||
fuzz_libinjection_seed_corpus.zip: $(files_corpus_fuzz_libinjection)
|
||||
zip -j fuzz_libinjection_seed_corpus.zip $(files_corpus_fuzz_libinjection)
|
||||
|
||||
files_corpus_fuzz_tls_certificate := $(wildcard corpus/fuzz_tls_certificate/*)
|
||||
fuzz_tls_certificate_seed_corpus.zip: $(files_corpus_fuzz_tls_certificate)
|
||||
zip -j fuzz_tls_certificate_seed_corpus.zip $(files_corpus_fuzz_tls_certificate)
|
||||
|
||||
files_corpus_fuzz_filecfg_protocols := $(wildcard corpus/fuzz_filecfg_protocols/*)
|
||||
fuzz_filecfg_protocols_seed_corpus.zip: $(files_corpus_fuzz_filecfg_protocols)
|
||||
zip -j fuzz_filecfg_protocols_seed_corpus.zip $(files_corpus_fuzz_filecfg_protocols)
|
||||
|
||||
files_corpus_fuzz_readerutils_workflow := $(wildcard corpus/fuzz_readerutils_workflow/*)
|
||||
fuzz_readerutils_workflow_seed_corpus.zip: $(files_corpus_fuzz_readerutils_workflow)
|
||||
zip -j fuzz_readerutils_workflow_seed_corpus.zip $(files_corpus_fuzz_readerutils_workflow)
|
||||
|
||||
files_corpus_fuzz_readerutils_parseprotolist := $(wildcard corpus/fuzz_readerutils_parseprotolist/*)
|
||||
fuzz_readerutils_parseprotolist_seed_corpus.zip: $(files_corpus_fuzz_readerutils_parseprotolist)
|
||||
zip -j fuzz_readerutils_parseprotolist_seed_corpus.zip $(files_corpus_fuzz_readerutils_parseprotolist)
|
||||
|
||||
files_corpus_fuzz_ds_bitmap64 := $(wildcard corpus/fuzz_ds_bitmap64/*)
|
||||
fuzz_ds_bitmap64_seed_corpus.zip: $(files_corpus_fuzz_ds_bitmap64)
|
||||
zip -j fuzz_ds_bitmap64_seed_corpus.zip $(files_corpus_fuzz_ds_bitmap64)
|
||||
|
||||
files_corpus_fuzz_ds_domain_classify := $(wildcard corpus/fuzz_ds_domain_classify/*)
|
||||
fuzz_ds_domain_classify_seed_corpus.zip: $(files_corpus_fuzz_ds_domain_classify)
|
||||
zip -j fuzz_ds_domain_classify_seed_corpus.zip $(files_corpus_fuzz_ds_domain_classify)
|
||||
|
||||
corpus: fuzz_ndpi_reader_seed_corpus.zip fuzz_ndpi_reader_alloc_fail_seed_corpus.zip fuzz_ndpi_reader_payload_analyzer_seed_corpus.zip fuzz_quic_get_crypto_data_seed_corpus.zip fuzz_config_seed_corpus.zip fuzz_ds_patricia_seed_corpus.zip fuzz_ds_ahocorasick_seed_corpus.zip fuzz_alg_ses_des_seed_corpus.zip fuzz_alg_hw_rsi_outliers_da_seed_corpus.zip fuzz_alg_bins_seed_corpus.zip fuzz_alg_hll_seed_corpus.zip fuzz_alg_jitter_seed_corpus.zip fuzz_ds_libcache_seed_corpus.zip fuzz_community_id_seed_corpus.zip fuzz_ds_tree_seed_corpus.zip fuzz_serialization_seed_corpus.zip fuzz_ds_ptree_seed_corpus.zip fuzz_alg_crc32_md5_seed_corpus.zip fuzz_alg_bytestream_seed_corpus.zip fuzz_libinjection_seed_corpus.zip fuzz_tls_certificate_seed_corpus.zip fuzz_filecfg_protocols_seed_corpus.zip fuzz_readerutils_workflow_seed_corpus.zip fuzz_readerutils_parseprotolist_seed_corpus.zip fuzz_ds_bitmap64_seed_corpus.zip fuzz_ds_domain_classify_seed_corpus.zip
|
||||
cp corpus/fuzz_*seed_corpus.zip .
|
||||
|
||||
#Create dictionaries exactly as expected by oss-fuzz.
|
||||
#This way, if we need to change/update/add something,
|
||||
#we don't need to update scripts in oss-fuzz repository
|
||||
dictionaries:
|
||||
cp dictionary.dict fuzz_ndpi_reader.dict
|
||||
cp dictionary.dict fuzz_ndpi_reader_alloc_fail.dict
|
||||
cp dictionary.dict fuzz_ndpi_reader_payload_analyzer.dict
|
||||
cp dictionary.dict fuzz_process_packet.dict
|
||||
cp dictionary_tls_certificate.dict fuzz_tls_certificate.dict
|
||||
|
||||
distdir:
|
||||
find . -type d | xargs -I'{}' mkdir -p '$(distdir)/{}'
|
||||
find . -type f -name '*.c' \
|
||||
-o -name '*.am' \
|
||||
-o -name '*.h' \
|
||||
-o -name '*.cpp' \
|
||||
-o -name '*.options' \
|
||||
-o -name 'ipv4_addresses.txt' \
|
||||
-o -name 'bd_param.txt' \
|
||||
-o -name 'splt_param.txt' \
|
||||
-o -name 'random_list.list' \
|
||||
-o -path './dictionary.dict' \
|
||||
-o -path './dictionary_tls_certificate.dict' \
|
||||
-o -path './corpus/fuzz_*.zip' \
|
||||
-o -path './corpus/fuzz_quic_get_crypto_data/*' \
|
||||
-o -path './corpus/fuzz_filecfg_protocols/*' \
|
||||
-o -path './corpus/fuzz_readerutils_workflow/*' \
|
||||
-o -path './corpus/fuzz_readerutils_parseprotolist/*' \
|
||||
-o -path './corpus/fuzz_config/*' \
|
||||
-o -path './corpus/fuzz_serialization/*' \
|
||||
-o -path './corpus/fuzz_community_id/*' \
|
||||
-o -path './corpus/fuzz_libinjection/*' \
|
||||
-o -path './corpus/fuzz_tls_certificate/*' \
|
||||
-o -path './corpus/fuzz_alg_ses_des/*' \
|
||||
-o -path './corpus/fuzz_alg_bins/*' \
|
||||
-o -path './corpus/fuzz_alg_hll/*' \
|
||||
-o -path './corpus/fuzz_alg_jitter/*' \
|
||||
-o -path './corpus/fuzz_alg_crc32_md5/*' \
|
||||
-o -path './corpus/fuzz_alg_hw_rsi_outliers_da/*' \
|
||||
-o -path './corpus/fuzz_alg_bytestream/*' \
|
||||
-o -path './corpus/fuzz_ds_ahocorasick/*' \
|
||||
-o -path './corpus/fuzz_ds_libcache/*' \
|
||||
-o -path './corpus/fuzz_ds_tree/*' \
|
||||
-o -path './corpus/fuzz_ds_bitmap64/*' \
|
||||
-o -path './corpus/fuzz_ds_domain_classify/*' \
|
||||
-o -path './corpus/fuzz_ds_ptree/*' \
|
||||
-o -path './corpus/fuzz_ds_patricia/*' | xargs -I'{}' cp -r '{}' '$(distdir)/{}'
|
||||
|
||||
all: corpus dictionaries
|
||||
|
||||
@@ -0,0 +1,627 @@
|
||||
-2.088057846500587456e+00
|
||||
7.763936238952200239e-05
|
||||
4.404309737393306595e-05
|
||||
-9.467385027293546973e-02
|
||||
4.348947142638090457e-01
|
||||
-2.091409170053043390e-04
|
||||
-5.788902107267982974e-04
|
||||
4.481443450852441001e-10
|
||||
-3.136135459023654537e+00
|
||||
-1.507730262127600751e+00
|
||||
-1.204663669965535977e+00
|
||||
-1.171839254318371104e+00
|
||||
4.329302247232582057e-01
|
||||
8.310653628092458334e+00
|
||||
3.299246725156660176e+00
|
||||
0.000000000000000000e+00
|
||||
1.847454931582027254e-02
|
||||
-1.498024139966201096e+00
|
||||
-7.660670007653060942e-01
|
||||
-2.908130300830076731e+00
|
||||
-1.252564844610269734e+00
|
||||
-1.910955328742287573e+00
|
||||
9.471710980110392697e-01
|
||||
2.352302758516665371e+00
|
||||
2.982269972214651954e+00
|
||||
4.280736383314343918e+00
|
||||
4.633629909719495288e+00
|
||||
-2.198052637823726840e+00
|
||||
-1.150759637168392580e+00
|
||||
3.420433363184381292e+00
|
||||
1.857878113059351077e-02
|
||||
-1.559806674919653746e+00
|
||||
4.197498183183401288e+00
|
||||
6.262186949633183453e+00
|
||||
1.100694844370524095e+01
|
||||
2.778688785515088000e+01
|
||||
3.679948298336883195e+00
|
||||
-2.432801394376875592e+00
|
||||
5.133442052706843617e-01
|
||||
2.181172654073517680e+00
|
||||
-8.577551729671881731e-01
|
||||
7.013844214023315926e-01
|
||||
3.138233436228588857e+00
|
||||
7.319940508466630247e-01
|
||||
0.000000000000000000e+00
|
||||
3.529209394581482861e+00
|
||||
1.464585117707144413e+01
|
||||
8.506550226820598359e-01
|
||||
-9.060397326548508268e-01
|
||||
6.787474954688997641e+00
|
||||
8.125411068867387954e+00
|
||||
4.515740684104064151e+00
|
||||
5.372135582950940069e+00
|
||||
9.210951196799497254e-01
|
||||
4.802177410869620466e+00
|
||||
2.945445016176073594e+01
|
||||
1.575032253128311632e+00
|
||||
-1.355276854364796946e-01
|
||||
-3.322474764169629502e-01
|
||||
3.018397817188666732e+00
|
||||
1.186503569922195744e+00
|
||||
0.000000000000000000e+00
|
||||
8.883242370198487503e-01
|
||||
7.248276146728496627e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-4.831246718433664711e+00
|
||||
6.124136970173365002e-01
|
||||
4.145693892559814686e-01
|
||||
2.683998941637626867e+00
|
||||
2.063906603639539039e+00
|
||||
2.989801217386735210e+00
|
||||
2.262965767379551962e-01
|
||||
2.240332214649647380e+00
|
||||
5.984550782416063086e+00
|
||||
4.587011255338186544e+00
|
||||
1.233118485315272039e+01
|
||||
1.115223490909697857e+00
|
||||
-3.682686422016995476e+00
|
||||
6.096498453291562258e-01
|
||||
1.119275528656461516e+00
|
||||
1.377886278915177731e-01
|
||||
3.828176805973048324e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
1.442927634029647344e+01
|
||||
0.000000000000000000e+00
|
||||
5.719118583309401593e-01
|
||||
1.993632609731877392e-01
|
||||
3.047472271520709430e+00
|
||||
5.736784864911910198e+00
|
||||
6.677826247219391220e+00
|
||||
6.307175478564531090e+00
|
||||
3.150295169417364249e+01
|
||||
3.738597740702392258e+00
|
||||
1.129754590514236234e+01
|
||||
6.108506268573830056e+00
|
||||
1.605489516792866667e+00
|
||||
2.929631990348545489e+00
|
||||
-2.832543082245212937e-02
|
||||
1.358286530670594461e+00
|
||||
1.655932469853677924e+00
|
||||
6.701964773769768513e-01
|
||||
2.131182050917533211e+00
|
||||
2.998351165769753468e+00
|
||||
7.772095996358327596e+00
|
||||
1.285014785269981141e+00
|
||||
4.407334784589962418e+00
|
||||
1.719858214230612026e+00
|
||||
-1.012765674651314063e+00
|
||||
-5.749271123172469133e-01
|
||||
-3.559614093795681278e+00
|
||||
-3.073088477387719397e+00
|
||||
-4.492469521371540431e+00
|
||||
-3.753286990415885427e+00
|
||||
-3.219255423324282273e+00
|
||||
-2.806436518181075090e+00
|
||||
-2.697305948568419875e+00
|
||||
-7.879608430851776646e-01
|
||||
4.625507221739111330e+00
|
||||
4.809280703883450414e+00
|
||||
-3.435194026629848629e+00
|
||||
-3.218943068168937049e+00
|
||||
3.335535704890596698e+00
|
||||
2.071359212435486263e+00
|
||||
4.538992059175040339e+00
|
||||
-2.770772323566738038e+01
|
||||
2.903047708571506735e+00
|
||||
-4.436143805989154032e+00
|
||||
-2.647991280011542381e-01
|
||||
1.737252348126810064e+00
|
||||
-4.121989655995259128e+00
|
||||
3.209709099445720581e-01
|
||||
1.012758514896711759e+01
|
||||
3.313255624721038295e+00
|
||||
4.631467619785444967e+00
|
||||
7.668642402146534032e+00
|
||||
6.780938812710099128e+00
|
||||
-3.256164342602652972e+00
|
||||
6.749565128319576779e-01
|
||||
0.000000000000000000e+00
|
||||
-4.407265954524525853e+00
|
||||
0.000000000000000000e+00
|
||||
-3.666522115024547901e+01
|
||||
-7.886029397826226273e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-2.261283814517791058e+01
|
||||
-4.024317426178160240e+00
|
||||
3.213063737030031342e-01
|
||||
5.079805145796887800e+00
|
||||
1.326813226475260343e+00
|
||||
1.233684078112145643e+00
|
||||
8.671852503871454232e+00
|
||||
-2.041800256066371944e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.607347800380474823e+01
|
||||
-4.430790279223246309e+00
|
||||
1.177552465851384511e+00
|
||||
6.342921220500139512e+00
|
||||
-2.466913734548706327e-02
|
||||
3.451642566010713065e-01
|
||||
-6.012767168531006234e+00
|
||||
7.328146570137336724e+00
|
||||
7.500088131707050465e+00
|
||||
0.000000000000000000e+00
|
||||
-3.547913249211809017e+01
|
||||
-3.130964814607208879e+00
|
||||
8.247326544297072237e-01
|
||||
3.757262485775580418e-01
|
||||
-2.136528302027558723e+00
|
||||
-2.631627236037529793e-01
|
||||
-2.016718799388414141e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-7.708602132869285528e-01
|
||||
-2.602868328868111814e+00
|
||||
1.435184800833797958e+00
|
||||
0.000000000000000000e+00
|
||||
-2.080420864280113413e+00
|
||||
1.169498351211070819e+00
|
||||
-1.798334115637199560e+01
|
||||
-1.193885252696202670e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
4.304089297965300709e+00
|
||||
-3.020893216686394656e+00
|
||||
-1.234427481614708721e+00
|
||||
0.000000000000000000e+00
|
||||
1.853340741926325697e+00
|
||||
-2.686000064995862147e+01
|
||||
-1.672275139058893600e+01
|
||||
-2.826268691607605987e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.547397429377200817e+00
|
||||
-4.018181657009961327e+00
|
||||
-7.289186736637049968e+00
|
||||
-7.458655219230571731e+00
|
||||
-9.625538282761622710e+00
|
||||
-1.103039457077456298e+01
|
||||
-6.262675161142102809e+01
|
||||
-9.265912629799268885e+00
|
||||
-8.961543476816615339e+00
|
||||
-9.622764435629340696e+00
|
||||
-1.097978292092879826e+01
|
||||
-1.097978292092879826e+01
|
||||
-2.088057846500587456e+00
|
||||
7.763936238952200239e-05
|
||||
4.404309737393306595e-05
|
||||
-9.467385027293546973e-02
|
||||
4.348947142638090457e-01
|
||||
-2.091409170053043390e-04
|
||||
-5.788902107267982974e-04
|
||||
4.481443450852441001e-10
|
||||
-3.136135459023654537e+00
|
||||
-1.507730262127600751e+00
|
||||
-1.204663669965535977e+00
|
||||
-1.171839254318371104e+00
|
||||
4.329302247232582057e-01
|
||||
8.310653628092458334e+00
|
||||
3.299246725156660176e+00
|
||||
0.000000000000000000e+00
|
||||
1.847454931582027254e-02
|
||||
-1.498024139966201096e+00
|
||||
-7.660670007653060942e-01
|
||||
-2.908130300830076731e+00
|
||||
-1.252564844610269734e+00
|
||||
-1.910955328742287573e+00
|
||||
9.471710980110392697e-01
|
||||
2.352302758516665371e+00
|
||||
2.982269972214651954e+00
|
||||
4.280736383314343918e+00
|
||||
4.633629909719495288e+00
|
||||
-2.198052637823726840e+00
|
||||
-1.150759637168392580e+00
|
||||
3.420433363184381292e+00
|
||||
1.857878113059351077e-02
|
||||
-1.559806674919653746e+00
|
||||
4.197498183183401288e+00
|
||||
6.262186949633183453e+00
|
||||
1.100694844370524095e+01
|
||||
2.778688785515088000e+01
|
||||
3.679948298336883195e+00
|
||||
-2.432801394376875592e+00
|
||||
5.133442052706843617e-01
|
||||
2.181172654073517680e+00
|
||||
-8.577551729671881731e-01
|
||||
7.013844214023315926e-01
|
||||
3.138233436228588857e+00
|
||||
7.319940508466630247e-01
|
||||
0.000000000000000000e+00
|
||||
3.529209394581482861e+00
|
||||
1.464585117707144413e+01
|
||||
8.506550226820598359e-01
|
||||
-9.060397326548508268e-01
|
||||
6.787474954688997641e+00
|
||||
8.125411068867387954e+00
|
||||
4.515740684104064151e+00
|
||||
5.372135582950940069e+00
|
||||
9.210951196799497254e-01
|
||||
4.802177410869620466e+00
|
||||
2.945445016176073594e+01
|
||||
1.575032253128311632e+00
|
||||
-1.355276854364796946e-01
|
||||
-3.322474764169629502e-01
|
||||
3.018397817188666732e+00
|
||||
1.186503569922195744e+00
|
||||
0.000000000000000000e+00
|
||||
8.883242370198487503e-01
|
||||
7.248276146728496627e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-4.831246718433664711e+00
|
||||
6.124136970173365002e-01
|
||||
4.145693892559814686e-01
|
||||
2.683998941637626867e+00
|
||||
2.063906603639539039e+00
|
||||
2.989801217386735210e+00
|
||||
2.262965767379551962e-01
|
||||
2.240332214649647380e+00
|
||||
5.984550782416063086e+00
|
||||
4.587011255338186544e+00
|
||||
1.233118485315272039e+01
|
||||
1.115223490909697857e+00
|
||||
-3.682686422016995476e+00
|
||||
6.096498453291562258e-01
|
||||
1.119275528656461516e+00
|
||||
1.377886278915177731e-01
|
||||
3.828176805973048324e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
1.442927634029647344e+01
|
||||
0.000000000000000000e+00
|
||||
5.719118583309401593e-01
|
||||
1.993632609731877392e-01
|
||||
3.047472271520709430e+00
|
||||
5.736784864911910198e+00
|
||||
6.677826247219391220e+00
|
||||
6.307175478564531090e+00
|
||||
3.150295169417364249e+01
|
||||
3.738597740702392258e+00
|
||||
1.129754590514236234e+01
|
||||
6.108506268573830056e+00
|
||||
1.605489516792866667e+00
|
||||
2.929631990348545489e+00
|
||||
-2.832543082245212937e-02
|
||||
1.358286530670594461e+00
|
||||
1.655932469853677924e+00
|
||||
6.701964773769768513e-01
|
||||
2.131182050917533211e+00
|
||||
2.998351165769753468e+00
|
||||
7.772095996358327596e+00
|
||||
1.285014785269981141e+00
|
||||
4.407334784589962418e+00
|
||||
1.719858214230612026e+00
|
||||
-1.012765674651314063e+00
|
||||
-5.749271123172469133e-01
|
||||
-3.559614093795681278e+00
|
||||
-3.073088477387719397e+00
|
||||
-4.492469521371540431e+00
|
||||
-3.753286990415885427e+00
|
||||
-3.219255423324282273e+00
|
||||
-2.806436518181075090e+00
|
||||
-2.697305948568419875e+00
|
||||
-7.879608430851776646e-01
|
||||
4.625507221739111330e+00
|
||||
4.809280703883450414e+00
|
||||
-3.435194026629848629e+00
|
||||
-3.218943068168937049e+00
|
||||
3.335535704890596698e+00
|
||||
2.071359212435486263e+00
|
||||
4.538992059175040339e+00
|
||||
-2.770772323566738038e+01
|
||||
2.903047708571506735e+00
|
||||
-4.436143805989154032e+00
|
||||
-2.647991280011542381e-01
|
||||
1.737252348126810064e+00
|
||||
-4.121989655995259128e+00
|
||||
3.209709099445720581e-01
|
||||
1.012758514896711759e+01
|
||||
3.313255624721038295e+00
|
||||
4.631467619785444967e+00
|
||||
7.668642402146534032e+00
|
||||
6.780938812710099128e+00
|
||||
-3.256164342602652972e+00
|
||||
6.749565128319576779e-01
|
||||
0.000000000000000000e+00
|
||||
-4.407265954524525853e+00
|
||||
0.000000000000000000e+00
|
||||
-3.666522115024547901e+01
|
||||
-7.886029397826226273e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-2.261283814517791058e+01
|
||||
-4.024317426178160240e+00
|
||||
3.213063737030031342e-01
|
||||
5.079805145796887800e+00
|
||||
1.326813226475260343e+00
|
||||
1.233684078112145643e+00
|
||||
8.671852503871454232e+00
|
||||
-2.041800256066371944e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.607347800380474823e+01
|
||||
-4.430790279223246309e+00
|
||||
1.177552465851384511e+00
|
||||
6.342921220500139512e+00
|
||||
-2.466913734548706327e-02
|
||||
3.451642566010713065e-01
|
||||
-6.012767168531006234e+00
|
||||
7.328146570137336724e+00
|
||||
7.500088131707050465e+00
|
||||
0.000000000000000000e+00
|
||||
-3.547913249211809017e+01
|
||||
-3.130964814607208879e+00
|
||||
8.247326544297072237e-01
|
||||
3.757262485775580418e-01
|
||||
-2.136528302027558723e+00
|
||||
-2.631627236037529793e-01
|
||||
-2.016718799388414141e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-7.708602132869285528e-01
|
||||
-2.602868328868111814e+00
|
||||
1.435184800833797958e+00
|
||||
0.000000000000000000e+00
|
||||
-2.080420864280113413e+00
|
||||
1.169498351211070819e+00
|
||||
-1.798334115637199560e+01
|
||||
-1.193885252696202670e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
4.304089297965300709e+00
|
||||
-3.020893216686394656e+00
|
||||
-1.234427481614708721e+00
|
||||
0.000000000000000000e+00
|
||||
1.853340741926325697e+00
|
||||
-2.686000064995862147e+01
|
||||
-1.672275139058893600e+01
|
||||
-2.826268691607605987e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.547397429377200817e+00
|
||||
-4.018181657009961327e+00
|
||||
-7.289186736637049968e+00
|
||||
-7.458655219230571731e+00
|
||||
-9.625538282761622710e+00
|
||||
-1.103039457077456298e+01
|
||||
-6.262675161142102809e+01
|
||||
-9.265912629799268885e+00
|
||||
-8.961543476816615339e+00
|
||||
-9.622764435629340696e+00
|
||||
-1.097978292092879826e+01
|
||||
-1.097978292092879826e+01
|
||||
-2.088057846500587456e+00
|
||||
7.763936238952200239e-05
|
||||
4.404309737393306595e-05
|
||||
-9.467385027293546973e-02
|
||||
4.348947142638090457e-01
|
||||
-2.091409170053043390e-04
|
||||
-5.788902107267982974e-04
|
||||
4.481443450852441001e-10
|
||||
-3.136135459023654537e+00
|
||||
-1.507730262127600751e+00
|
||||
-1.204663669965535977e+00
|
||||
-1.171839254318371104e+00
|
||||
4.329302247232582057e-01
|
||||
8.310653628092458334e+00
|
||||
3.299246725156660176e+00
|
||||
0.000000000000000000e+00
|
||||
1.847454931582027254e-02
|
||||
-1.498024139966201096e+00
|
||||
-7.660670007653060942e-01
|
||||
-2.908130300830076731e+00
|
||||
-1.252564844610269734e+00
|
||||
-1.910955328742287573e+00
|
||||
9.471710980110392697e-01
|
||||
2.352302758516665371e+00
|
||||
2.982269972214651954e+00
|
||||
4.280736383314343918e+00
|
||||
4.633629909719495288e+00
|
||||
-2.198052637823726840e+00
|
||||
-1.150759637168392580e+00
|
||||
3.420433363184381292e+00
|
||||
1.857878113059351077e-02
|
||||
-1.559806674919653746e+00
|
||||
4.197498183183401288e+00
|
||||
6.262186949633183453e+00
|
||||
1.100694844370524095e+01
|
||||
2.778688785515088000e+01
|
||||
3.679948298336883195e+00
|
||||
-2.432801394376875592e+00
|
||||
5.133442052706843617e-01
|
||||
2.181172654073517680e+00
|
||||
-8.577551729671881731e-01
|
||||
7.013844214023315926e-01
|
||||
3.138233436228588857e+00
|
||||
7.319940508466630247e-01
|
||||
0.000000000000000000e+00
|
||||
3.529209394581482861e+00
|
||||
1.464585117707144413e+01
|
||||
8.506550226820598359e-01
|
||||
-9.060397326548508268e-01
|
||||
6.787474954688997641e+00
|
||||
8.125411068867387954e+00
|
||||
4.515740684104064151e+00
|
||||
5.372135582950940069e+00
|
||||
9.210951196799497254e-01
|
||||
4.802177410869620466e+00
|
||||
2.945445016176073594e+01
|
||||
1.575032253128311632e+00
|
||||
-1.355276854364796946e-01
|
||||
-3.322474764169629502e-01
|
||||
3.018397817188666732e+00
|
||||
1.186503569922195744e+00
|
||||
0.000000000000000000e+00
|
||||
8.883242370198487503e-01
|
||||
7.248276146728496627e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-4.831246718433664711e+00
|
||||
6.124136970173365002e-01
|
||||
4.145693892559814686e-01
|
||||
2.683998941637626867e+00
|
||||
2.063906603639539039e+00
|
||||
2.989801217386735210e+00
|
||||
2.262965767379551962e-01
|
||||
2.240332214649647380e+00
|
||||
5.984550782416063086e+00
|
||||
4.587011255338186544e+00
|
||||
1.233118485315272039e+01
|
||||
1.115223490909697857e+00
|
||||
-3.682686422016995476e+00
|
||||
6.096498453291562258e-01
|
||||
1.119275528656461516e+00
|
||||
1.377886278915177731e-01
|
||||
3.828176805973048324e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
1.442927634029647344e+01
|
||||
0.000000000000000000e+00
|
||||
5.719118583309401593e-01
|
||||
1.993632609731877392e-01
|
||||
3.047472271520709430e+00
|
||||
5.736784864911910198e+00
|
||||
6.677826247219391220e+00
|
||||
6.307175478564531090e+00
|
||||
3.150295169417364249e+01
|
||||
3.738597740702392258e+00
|
||||
1.129754590514236234e+01
|
||||
6.108506268573830056e+00
|
||||
1.605489516792866667e+00
|
||||
2.929631990348545489e+00
|
||||
-2.832543082245212937e-02
|
||||
1.358286530670594461e+00
|
||||
1.655932469853677924e+00
|
||||
6.701964773769768513e-01
|
||||
2.131182050917533211e+00
|
||||
2.998351165769753468e+00
|
||||
7.772095996358327596e+00
|
||||
1.285014785269981141e+00
|
||||
4.407334784589962418e+00
|
||||
1.719858214230612026e+00
|
||||
-1.012765674651314063e+00
|
||||
-5.749271123172469133e-01
|
||||
-3.559614093795681278e+00
|
||||
-3.073088477387719397e+00
|
||||
-4.492469521371540431e+00
|
||||
-3.753286990415885427e+00
|
||||
-3.219255423324282273e+00
|
||||
-2.806436518181075090e+00
|
||||
-2.697305948568419875e+00
|
||||
-7.879608430851776646e-01
|
||||
4.625507221739111330e+00
|
||||
4.809280703883450414e+00
|
||||
-3.435194026629848629e+00
|
||||
-3.218943068168937049e+00
|
||||
3.335535704890596698e+00
|
||||
2.071359212435486263e+00
|
||||
4.538992059175040339e+00
|
||||
-2.770772323566738038e+01
|
||||
2.903047708571506735e+00
|
||||
-4.436143805989154032e+00
|
||||
-2.647991280011542381e-01
|
||||
1.737252348126810064e+00
|
||||
-4.121989655995259128e+00
|
||||
3.209709099445720581e-01
|
||||
1.012758514896711759e+01
|
||||
3.313255624721038295e+00
|
||||
4.631467619785444967e+00
|
||||
7.668642402146534032e+00
|
||||
6.780938812710099128e+00
|
||||
-3.256164342602652972e+00
|
||||
6.749565128319576779e-01
|
||||
0.000000000000000000e+00
|
||||
-4.407265954524525853e+00
|
||||
0.000000000000000000e+00
|
||||
-3.666522115024547901e+01
|
||||
-7.886029397826226273e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-2.261283814517791058e+01
|
||||
-4.024317426178160240e+00
|
||||
3.213063737030031342e-01
|
||||
5.079805145796887800e+00
|
||||
1.326813226475260343e+00
|
||||
1.233684078112145643e+00
|
||||
8.671852503871454232e+00
|
||||
-2.041800256066371944e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.607347800380474823e+01
|
||||
-4.430790279223246309e+00
|
||||
1.177552465851384511e+00
|
||||
6.342921220500139512e+00
|
||||
-2.466913734548706327e-02
|
||||
3.451642566010713065e-01
|
||||
-6.012767168531006234e+00
|
||||
7.328146570137336724e+00
|
||||
7.500088131707050465e+00
|
||||
0.000000000000000000e+00
|
||||
-3.547913249211809017e+01
|
||||
-3.130964814607208879e+00
|
||||
8.247326544297072237e-01
|
||||
3.757262485775580418e-01
|
||||
-2.136528302027558723e+00
|
||||
-2.631627236037529793e-01
|
||||
-2.016718799388414141e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-7.708602132869285528e-01
|
||||
-2.602868328868111814e+00
|
||||
1.435184800833797958e+00
|
||||
0.000000000000000000e+00
|
||||
-2.080420864280113413e+00
|
||||
1.169498351211070819e+00
|
||||
-1.798334115637199560e+01
|
||||
-1.193885252696202670e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
4.304089297965300709e+00
|
||||
-3.020893216686394656e+00
|
||||
-1.234427481614708721e+00
|
||||
0.000000000000000000e+00
|
||||
1.853340741926325697e+00
|
||||
-2.686000064995862147e+01
|
||||
-1.672275139058893600e+01
|
||||
-2.826268691607605987e+01
|
||||
0.000000000000000000e+00
|
||||
0.000000000000000000e+00
|
||||
-1.547397429377200817e+00
|
||||
-4.018181657009961327e+00
|
||||
-7.289186736637049968e+00
|
||||
-7.458655219230571731e+00
|
||||
-9.625538282761622710e+00
|
||||
-1.103039457077456298e+01
|
||||
-6.262675161142102809e+01
|
||||
-9.265912629799268885e+00
|
||||
-8.961543476816615339e+00
|
||||
-9.622764435629340696e+00
|
||||
-1.097978292092879826e+01
|
||||
-1.097978292092879826e+01
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
5�70
|
||||
@@ -0,0 +1 @@
|
||||
59708719594136008472212676481906
|
||||
@@ -0,0 +1 @@
|
||||
5コ705コ(770(777
|
||||
@@ -0,0 +1 @@
|
||||
2Bba5a7FEEcfced4fbbBfFEe16bfcaA4
|
||||
@@ -0,0 +1 @@
|
||||
5コ70(77247・906:
|
||||
@@ -0,0 +1 @@
|
||||
0
|
||||
@@ -0,0 +1 @@
|
||||
70
|
||||
@@ -0,0 +1 @@
|
||||
5コ700772212676481906:
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
�
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user