From 5429e8223b8d34bed90d6c1e54ee8e64ea742f51 Mon Sep 17 00:00:00 2001 From: "wu.zhihui" Date: Wed, 8 Mar 2017 21:44:18 +0800 Subject: regexes for dpi/ramspeed/ssl - Add dpi/ramspeed/ssl logfiles - update regexes for dpi/ramspeed/ssl result sample: dpi: { "bps": "4.57", "pps": "1.55" } ramspeed:{ "float_add": "9967.13", "float_copy": "7908.64", "float_scale": "7870.16", "float_triad": "10073.43", "float_average": "8954.84", "integer_add": "11649.55", "integer_copy": "11562.63", "integer_scale": "11563.77", "integer_triad": "11671.22", "integer_average": "11611.79" } ssl:{ "aes_128_cbc_1024_bytes": "584568.83k", "aes_128_cbc_16_bytes": "533103.05k", "aes_128_cbc_256_bytes": "580021.25k", "aes_128_cbc_64_bytes": "570042.22k", "aes_128_cbc_8192_bytes": "599470.83k" "rsa_sign_1024": "3.9", "rsa_sign_2048": "1.4", "rsa_sign_4096": "0.8", "rsa_sign_512": "8.4", "rsa_verify_1024": "88397.9", "rsa_verify_2048": "26951.3", "rsa_verify_4096": "7633.7", "rsa_verify_512": "222903.5" } Change-Id: I6db22a699111dd55d9dc48c6e8c2cf148b345563 Signed-off-by: wu.zhihui --- tests/data/benchmarks/plan/compute.yaml | 74 +++ tests/data/external/dpi/dpi_dump.txt | 809 +++++++++++++++++++++++++++++++ tests/data/external/ramspeed/Floatmem | 52 ++ tests/data/external/ramspeed/Intmem | 52 ++ tests/data/external/ssl/AES-128-CBC_dump | 7 + tests/data/external/ssl/RSA_dump | 9 + 6 files changed, 1003 insertions(+) create mode 100644 tests/data/external/dpi/dpi_dump.txt create mode 100644 tests/data/external/ramspeed/Floatmem create mode 100644 tests/data/external/ramspeed/Intmem create mode 100644 tests/data/external/ssl/AES-128-CBC_dump create mode 100644 tests/data/external/ssl/RSA_dump (limited to 'tests') diff --git a/tests/data/benchmarks/plan/compute.yaml b/tests/data/benchmarks/plan/compute.yaml index 8529d8dc..f4a7a2dc 100644 --- a/tests/data/benchmarks/plan/compute.yaml +++ b/tests/data/benchmarks/plan/compute.yaml @@ -14,6 +14,80 @@ info: config: driver: ansible collectors: + - type: logfile + paths: + - '../../external/dpi/' + logs: + - filename: dpi_dump.txt + parsers: + - type: grep + regex: |- + ^\s+nDPI throughput:.+?(?P\d+.\d+)\sM\spps.+ + ?(?P\d+.\d+)\sGb\/sec + - type: logfile + paths: + - '../../external/ramspeed/' + logs: + - filename: Intmem + parsers: + - type: grep + regex: '^INTEGER\s+BatchRun\s+Copy:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^INTEGER\s+BatchRun\s+Scale:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^INTEGER\s+BatchRun\s+Add:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^INTEGER\s+BatchRun\s+Triad:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^INTEGER\s+BatchRun\s+AVERAGE:\s+?(?P\d+\.\d+)\sMB/s$' + - filename: Floatmem + parsers: + - type: grep + regex: '^FL-POINT\s+BatchRun\s+Copy:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^FL-POINT\s+BatchRun\s+Scale:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^FL-POINT\s+BatchRun\s+Add:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^FL-POINT\s+BatchRun\s+Triad:\s+?(?P\d+\.\d+)\sMB/s$' + - type: grep + regex: '^FL-POINT\s+BatchRun\s+AVERAGE:\s+?(?P\d+\.\d+)\sMB/s$' + - type: logfile + paths: + - '../../external/ssl/' + logs: + - filename: RSA_dump + parsers: + - type: grep + regex: |- + ^rsa\s+512\sbits\s.+ + ?(?P\d+\.\d)\s+ + ?(?P\d+\.\d)$ + - type: grep + regex: |- + ^rsa\s+1024\sbits\s.+ + ?(?P\d+\.\d)\s+ + ?(?P\d+\.\d)$ + - type: grep + regex: |- + ^rsa\s+2048\sbits\s.+ + ?(?P\d+\.\d)\s+ + ?(?P\d+\.\d)$ + - type: grep + regex: |- + ^rsa\s+4096\sbits\s.+ + ?(?P\d+\.\d)\s+ + ?(?P\d+\.\d)$ + - filename: AES-128-CBC_dump + parsers: + - type: grep + regex: |- + ^aes-128-cbc\s+ + ?(?P\d+\.\w+)\s+ + ?(?P\d+\.\w+)\s+ + ?(?P\d+\.\w+)\s+ + ?(?P\d+\.\w+)\s+ + ?(?P\d+\.\w+)$ - type: logfile paths: - '../../external/sysinfo' diff --git a/tests/data/external/dpi/dpi_dump.txt b/tests/data/external/dpi/dpi_dump.txt new file mode 100644 index 00000000..1f4e2839 --- /dev/null +++ b/tests/data/external/dpi/dpi_dump.txt @@ -0,0 +1,809 @@ +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.56 M pps / 14.62 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.31 M pps / 12.31 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.54 M pps / 14.45 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.35 M pps / 12.71 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.55 M pps / 14.53 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.32 M pps / 12.42 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.54 M pps / 14.46 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.54 M pps / 14.49 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.37 M pps / 12.89 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes + +----------------------------------------------------------- +* NOTE: This is demo app to show *some* nDPI features. +* In this demo we have implemented only some basic features +* just to show you what you can do with the library. Feel +* free to extend it and send us the patches for inclusion +------------------------------------------------------------ + +Using nDPI (1.8.0-dev-707-6a27b62) [1 thread(s)] +Reading packets from pcap file test.pcap... +Running thread 0... + +nDPI Memory statistics: + nDPI Memory (once): 110.55 KB + Flow Memory (per flow): 1.95 KB + Actual Memory: 3.46 MB + Peak Memory: 3.46 MB + +Traffic statistics: + Ethernet bytes: 75948198 (includes ethernet CRC/IFC/trailer) + Discarded bytes: 55256 + IP packets: 60265 of 61155 packets total + IP bytes: 74501838 (avg pkt size 1218 bytes) + Unique flows: 545 + TCP Packets: 21188 + UDP Packets: 39042 + VLAN Packets: 0 + MPLS Packets: 0 + PPPoE Packets: 0 + Fragmented Packets: 4 + Max Packet size: 64260 + Packet Len < 64: 30624 + Packet Len 64-128: 1158 + Packet Len 128-256: 674 + Packet Len 256-1024: 817 + Packet Len 1024-1500: 21924 + Packet Len > 1500: 5068 + nDPI throughput: 1.55 M pps / 14.57 Gb/sec + Traffic throughput: 228.03 pps / 2.19 Mb/sec + Traffic duration: 264.290 sec + Guessed flow protos: 9 + + +Detected protocols: + Unknown packets: 6126 bytes: 10913415 flows: 46 + FTP_CONTROL packets: 42 bytes: 4384 flows: 1 + DNS packets: 66 bytes: 6520 flows: 23 + IPP packets: 46 bytes: 12059 flows: 1 + HTTP packets: 377 bytes: 113616 flows: 24 + MDNS packets: 43 bytes: 11742 flows: 9 + NetBIOS packets: 48 bytes: 4754 flows: 12 + SSDP packets: 101 bytes: 32533 flows: 21 + DHCP packets: 21 bytes: 7346 flows: 2 + BitTorrent packets: 37639 bytes: 29656716 flows: 65 + ICMP packets: 15 bytes: 4956 flows: 5 + IGMP packets: 10 bytes: 600 flows: 9 + SSL packets: 1199 bytes: 622508 flows: 24 + ICMPV6 packets: 2 bytes: 172 flows: 2 + DHCPV6 packets: 1 bytes: 144 flows: 1 + Facebook packets: 349 bytes: 206444 flows: 21 + Twitter packets: 137 bytes: 45679 flows: 8 + Dropbox packets: 155 bytes: 45358 flows: 12 + GMail packets: 35 bytes: 10470 flows: 3 + YouTube packets: 11721 bytes: 31050728 flows: 33 + Skype packets: 237 bytes: 35082 flows: 30 + Google packets: 558 bytes: 164639 flows: 52 + WhatsApp packets: 969 bytes: 1477350 flows: 17 + Viber packets: 60 bytes: 27602 flows: 1 + LLMNR packets: 71 bytes: 5297 flows: 36 + Amazon packets: 89 bytes: 23572 flows: 9 + QUIC packets: 41 bytes: 3474 flows: 1 + BJNP packets: 72 bytes: 4320 flows: 72 + Microsoft packets: 35 bytes: 10358 flows: 5 + + +Protocol statistics: + Safe 632978 bytes + Acceptable 31693889 bytes + Fun 31257172 bytes + Unsafe 4384 bytes + Unrated 10913415 bytes \ No newline at end of file diff --git a/tests/data/external/ramspeed/Floatmem b/tests/data/external/ramspeed/Floatmem new file mode 100644 index 00000000..f3cc1e6d --- /dev/null +++ b/tests/data/external/ramspeed/Floatmem @@ -0,0 +1,52 @@ +RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 + +8Gb per pass mode, 1 processes + +5-benchmark FLOATmem BatchRun mode + +Benchmark #1: +FL-POINT Copy: 8220.47 MB/s +FL-POINT Scale: 8195.78 MB/s +FL-POINT Add: 10319.18 MB/s +FL-POINT Triad: 10403.87 MB/s +--- +FL-POINT AVERAGE: 9284.83 MB/s + +Benchmark #2: +FL-POINT Copy: 8086.66 MB/s +FL-POINT Scale: 7842.82 MB/s +FL-POINT Add: 9900.13 MB/s +FL-POINT Triad: 10029.43 MB/s +--- +FL-POINT AVERAGE: 8964.76 MB/s + +Benchmark #3: +FL-POINT Copy: 7766.98 MB/s +FL-POINT Scale: 7837.62 MB/s +FL-POINT Add: 9827.57 MB/s +FL-POINT Triad: 9918.89 MB/s +--- +FL-POINT AVERAGE: 8837.77 MB/s + +Benchmark #4: +FL-POINT Copy: 7647.89 MB/s +FL-POINT Scale: 7594.00 MB/s +FL-POINT Add: 9873.93 MB/s +FL-POINT Triad: 9970.89 MB/s +--- +FL-POINT AVERAGE: 8771.68 MB/s + +Benchmark #5: +FL-POINT Copy: 7821.21 MB/s +FL-POINT Scale: 7880.56 MB/s +FL-POINT Add: 9914.84 MB/s +FL-POINT Triad: 10044.05 MB/s +--- +FL-POINT AVERAGE: 8915.17 MB/s + +FL-POINT BatchRun Copy: 7908.64 MB/s +FL-POINT BatchRun Scale: 7870.16 MB/s +FL-POINT BatchRun Add: 9967.13 MB/s +FL-POINT BatchRun Triad: 10073.43 MB/s +--- +FL-POINT BatchRun AVERAGE: 8954.84 MB/s \ No newline at end of file diff --git a/tests/data/external/ramspeed/Intmem b/tests/data/external/ramspeed/Intmem new file mode 100644 index 00000000..08fffe47 --- /dev/null +++ b/tests/data/external/ramspeed/Intmem @@ -0,0 +1,52 @@ +RAMspeed/SMP (Linux) v3.5.0 by Rhett M. Hollander and Paul V. Bolotoff, 2002-09 + +8Gb per pass mode, 1 processes + +5-benchmark INTmem BatchRun mode + +Benchmark #1: +INTEGER Copy: 11493.80 MB/s +INTEGER Scale: 11527.61 MB/s +INTEGER Add: 11567.60 MB/s +INTEGER Triad: 11546.06 MB/s +--- +INTEGER AVERAGE: 11533.77 MB/s + +Benchmark #2: +INTEGER Copy: 11580.06 MB/s +INTEGER Scale: 11617.25 MB/s +INTEGER Add: 11748.95 MB/s +INTEGER Triad: 11837.43 MB/s +--- +INTEGER AVERAGE: 11695.92 MB/s + +Benchmark #3: +INTEGER Copy: 11674.45 MB/s +INTEGER Scale: 11566.59 MB/s +INTEGER Add: 11643.59 MB/s +INTEGER Triad: 11633.42 MB/s +--- +INTEGER AVERAGE: 11629.51 MB/s + +Benchmark #4: +INTEGER Copy: 11496.38 MB/s +INTEGER Scale: 11528.06 MB/s +INTEGER Add: 11641.10 MB/s +INTEGER Triad: 11742.61 MB/s +--- +INTEGER AVERAGE: 11602.04 MB/s + +Benchmark #5: +INTEGER Copy: 11568.45 MB/s +INTEGER Scale: 11579.32 MB/s +INTEGER Add: 11646.55 MB/s +INTEGER Triad: 11596.57 MB/s +--- +INTEGER AVERAGE: 11597.72 MB/s + +INTEGER BatchRun Copy: 11562.63 MB/s +INTEGER BatchRun Scale: 11563.77 MB/s +INTEGER BatchRun Add: 11649.55 MB/s +INTEGER BatchRun Triad: 11671.22 MB/s +--- +INTEGER BatchRun AVERAGE: 11611.79 MB/s \ No newline at end of file diff --git a/tests/data/external/ssl/AES-128-CBC_dump b/tests/data/external/ssl/AES-128-CBC_dump new file mode 100644 index 00000000..32568e14 --- /dev/null +++ b/tests/data/external/ssl/AES-128-CBC_dump @@ -0,0 +1,7 @@ +OpenSSL 1.0.2f 28 Jan 2016 +built on: reproducible build, date unspecified +options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) +compiler: gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM +The 'numbers' are in 1000s of bytes per second processed. +type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes +aes-128-cbc 533103.05k 570042.22k 580021.25k 584568.83k 599470.83k \ No newline at end of file diff --git a/tests/data/external/ssl/RSA_dump b/tests/data/external/ssl/RSA_dump new file mode 100644 index 00000000..55e40792 --- /dev/null +++ b/tests/data/external/ssl/RSA_dump @@ -0,0 +1,9 @@ +OpenSSL 1.0.2f 28 Jan 2016 +built on: reproducible build, date unspecified +options:bn(64,64) rc4(16x,int) des(idx,cisc,16,int) aes(partial) idea(int) blowfish(idx) +compiler: gcc -I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -Wa,--noexecstack -m64 -DL_ENDIAN -O3 -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM + sign verify sign/s verify/s +rsa 512 bits 0.000056s 0.000004s 17828.4 222903.5 +rsa 1024 bits 0.000169s 0.000011s 5923.9 88397.9 +rsa 2048 bits 0.000793s 0.000037s 1261.4 26951.3 +rsa 4096 bits 0.008280s 0.000131s 120.8 7633.7 -- cgit 1.2.3-korg