Reduce the size of some traces used as unit test (#1845)
No traces and no flows has been removed; only long sessions has been reduced, keeping only their first packets. This is quite important in fuzzing systems, since these pcaps are used as initial seed. There is no value in fuzzing long sessions, because only the very first packets are really used/processed by nDPI. Before: ``` du -h tests/pcap/ 200M tests/pcap/ ``` After: ``` du -h tests/pcap/ 98M tests/pcap/ ```
This commit is contained in:
@@ -23,10 +23,10 @@ Patricia risk: 0/0 (search/found)
|
||||
Patricia protocols: 16/0 (search/found)
|
||||
|
||||
Unknown 4 1696 2
|
||||
Kontiki 3278 3852324 2
|
||||
Kontiki 44 35476 2
|
||||
ICMP 7 494 4
|
||||
|
||||
1 UDP 10.25.32.59:19948 <-> 64.200.148.86:8888 [proto: 32/Kontiki][IP: 0/Unknown][ClearText][Confidence: DPI][cat: Media/1][261 pkts/17297 bytes <-> 3013 pkts/3834779 bytes][Goodput ratio: 37/97][4.59 sec][bytes ratio: -0.991 (Download)][IAT c2s/s2c min/avg/max/stddev: 0/0 35/1 212/60 61/4][Pkt Len c2s/s2c min/avg/max/stddev: 46/60 66/1273 259/1283 28/99][Risk: ** Unsafe Protocol **][Risk Score: 10][Risk Info: No server to client traffic][PLAIN TEXT (ZuetBitjw)][Plen Bins: 9,0,1,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,88,0,0,0,0,0,0,0,0,0]
|
||||
1 UDP 10.25.32.59:19948 <-> 64.200.148.86:8888 [proto: 32/Kontiki][IP: 0/Unknown][ClearText][Confidence: DPI][cat: Media/1][11 pkts/1069 bytes <-> 29 pkts/34159 bytes][Goodput ratio: 57/96][0.72 sec][bytes ratio: -0.939 (Download)][IAT c2s/s2c min/avg/max/stddev: 3/0 94/3 212/29 93/7][Pkt Len c2s/s2c min/avg/max/stddev: 46/70 97/1178 259/1283 77/315][Risk: ** Unsafe Protocol **][Risk Score: 10][Risk Info: No server to client traffic][PLAIN TEXT (ZuetBitjw)][Plen Bins: 22,0,2,0,0,2,5,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,66,0,0,0,0,0,0,0,0,0]
|
||||
2 ICMP 10.25.32.3:0 -> 10.25.32.59:0 [proto: 81/ICMP][IP: 0/Unknown][ClearText][Confidence: DPI][cat: Network/14][4 pkts/280 bytes -> 0 pkts/0 bytes][Goodput ratio: 40/0][4.59 sec][Risk: ** Unidirectional Traffic **][Risk Score: 10][Risk Info: No client to server traffic][Plen Bins: 100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||
3 UDP 10.25.32.59:19948 -> 64.200.148.88:80 [proto: 32/Kontiki][IP: 0/Unknown][ClearText][Confidence: DPI][cat: Media/1][4 pkts/248 bytes -> 0 pkts/0 bytes][Goodput ratio: 32/0][4.59 sec][Risk: ** Unsafe Protocol **** Unidirectional Traffic **][Risk Score: 20][Risk Info: No server to client traffic][Plen Bins: 100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||
4 ICMP 10.25.249.14:0 -> 10.25.32.59:0 [proto: 81/ICMP][IP: 0/Unknown][ClearText][Confidence: DPI][cat: Network/14][1 pkts/74 bytes -> 0 pkts/0 bytes][Goodput ratio: 43/0][< 1 sec][Risk: ** Unidirectional Traffic **][Risk Score: 10][Risk Info: No server to client traffic][Plen Bins: 0,100,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]
|
||||
|
||||
Reference in New Issue
Block a user