aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2018-09-18 18:13:04 +0200
committerLuca <deri@ntop.org>2018-09-18 18:13:04 +0200
commitc6b427c2521c0916866f932ea1db43334a01b2f4 (patch)
tree303104b40191cbc32e11ed7dd27ddf72d3db7678 /tests
parentb0f9f76b798dad7f63999537df8918885fbd37ac (diff)
Implementation of Bitcoin, Ethereum, ZCash, Monero dissectors all identified as mining
Implements #503
Diffstat (limited to 'tests')
-rw-r--r--tests/pcap/bitcoin.pcapbin0 -> 591290 bytes
-rw-r--r--tests/pcap/ethereum.pcapbin0 -> 147293 bytes
-rw-r--r--tests/pcap/monero.pcapbin0 -> 171804 bytes
-rw-r--r--tests/pcap/zcash.pcapbin0 -> 22988 bytes
-rw-r--r--tests/result/bitcoin.pcap.out8
-rw-r--r--tests/result/ethereum.pcap.out4
-rw-r--r--tests/result/monero.pcap.out4
-rw-r--r--tests/result/zcash.pcap.out3
8 files changed, 19 insertions, 0 deletions
diff --git a/tests/pcap/bitcoin.pcap b/tests/pcap/bitcoin.pcap
new file mode 100644
index 000000000..ce62ed779
--- /dev/null
+++ b/tests/pcap/bitcoin.pcap
Binary files differ
diff --git a/tests/pcap/ethereum.pcap b/tests/pcap/ethereum.pcap
new file mode 100644
index 000000000..f77637d62
--- /dev/null
+++ b/tests/pcap/ethereum.pcap
Binary files differ
diff --git a/tests/pcap/monero.pcap b/tests/pcap/monero.pcap
new file mode 100644
index 000000000..67d796882
--- /dev/null
+++ b/tests/pcap/monero.pcap
Binary files differ
diff --git a/tests/pcap/zcash.pcap b/tests/pcap/zcash.pcap
new file mode 100644
index 000000000..213585dbd
--- /dev/null
+++ b/tests/pcap/zcash.pcap
Binary files differ
diff --git a/tests/result/bitcoin.pcap.out b/tests/result/bitcoin.pcap.out
new file mode 100644
index 000000000..d10fa583d
--- /dev/null
+++ b/tests/result/bitcoin.pcap.out
@@ -0,0 +1,8 @@
+Mining 637 581074 6
+
+ 1 TCP 192.168.1.142:55328 <-> 69.118.54.122:8333 [proto: 42/Mining][cat: Unspecified/99][2 pkts/281 bytes <-> 137 pkts/191029 bytes]
+ 2 TCP 192.168.1.142:55348 <-> 74.89.181.229:8333 [proto: 42/Mining][cat: Unspecified/99][55 pkts/28663 bytes <-> 117 pkts/134830 bytes]
+ 3 TCP 192.168.1.142:55383 <-> 66.68.83.22:8333 [proto: 42/Mining][cat: Unspecified/99][65 pkts/45271 bytes <-> 96 pkts/70339 bytes]
+ 4 TCP 192.168.1.142:55400 <-> 195.218.16.178:8333 [proto: 42/Mining][cat: Unspecified/99][47 pkts/26824 bytes <-> 72 pkts/55927 bytes]
+ 5 TCP 192.168.1.142:55317 <-> 188.165.213.169:8333 [proto: 42/Mining][cat: Unspecified/99][16 pkts/21673 bytes <-> 3 pkts/1771 bytes]
+ 6 TCP 192.168.1.142:55487 <-> 184.58.165.119:8333 [proto: 42/Mining][cat: Unspecified/99][24 pkts/3082 bytes <-> 3 pkts/1384 bytes]
diff --git a/tests/result/ethereum.pcap.out b/tests/result/ethereum.pcap.out
new file mode 100644
index 000000000..a4c607d2d
--- /dev/null
+++ b/tests/result/ethereum.pcap.out
@@ -0,0 +1,4 @@
+Mining 819 134165 2
+
+ 1 TCP 192.168.2.92:57726 <-> 94.23.36.128:4444 [proto: 42/Mining][cat: Unspecified/99][478 pkts/52883 bytes <-> 308 pkts/76667 bytes]
+ 2 TCP 192.168.2.92:41680 <-> 91.121.222.33:4444 [proto: 42/Mining][cat: Unspecified/99][20 pkts/2159 bytes <-> 13 pkts/2456 bytes]
diff --git a/tests/result/monero.pcap.out b/tests/result/monero.pcap.out
new file mode 100644
index 000000000..732ada2ed
--- /dev/null
+++ b/tests/result/monero.pcap.out
@@ -0,0 +1,4 @@
+Mining 319 166676 2
+
+ 1 TCP 192.168.2.148:46838 <-> 94.23.199.191:3333 [proto: 42/Mining][cat: Unspecified/99][159 pkts/143155 bytes <-> 113 pkts/13204 bytes]
+ 2 TCP 192.168.2.148:53846 <-> 116.211.167.195:3333 [proto: 42/Mining][cat: Unspecified/99][24 pkts/4455 bytes <-> 23 pkts/5862 bytes]
diff --git a/tests/result/zcash.pcap.out b/tests/result/zcash.pcap.out
new file mode 100644
index 000000000..eb3e155ee
--- /dev/null
+++ b/tests/result/zcash.pcap.out
@@ -0,0 +1,3 @@
+Mining 145 20644 1
+
+ 1 TCP 192.168.2.92:55190 <-> 178.32.196.217:9050 [proto: 42/Mining][cat: Unspecified/99][83 pkts/11785 bytes <-> 62 pkts/8859 bytes]