Implementation of Bitcoin, Ethereum, ZCash, Monero dissectors all identified as mining
Implements #503
This commit is contained in:
+6
-3
@@ -1222,10 +1222,10 @@ static void ndpi_init_protocol_defaults(struct ndpi_detection_module_struct *ndp
|
||||
no_master, "SMBv23", NDPI_PROTOCOL_CATEGORY_SYSTEM_OS,
|
||||
ndpi_build_default_ports(ports_a, 445, 0, 0, 0, 0) /* TCP */,
|
||||
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
|
||||
ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_FREE_42,
|
||||
ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_MINING,
|
||||
no_master,
|
||||
no_master, "Free", NDPI_PROTOCOL_CATEGORY_CUSTOM_1 /* dummy */,
|
||||
ndpi_build_default_ports(ports_a, 0, 0, 0, 0, 0) /* TCP */,
|
||||
no_master, "Mining", CUSTOM_CATEGORY_MINING /* dummy */,
|
||||
ndpi_build_default_ports(ports_a, 8333, 0, 0, 0, 0) /* TCP */,
|
||||
ndpi_build_default_ports(ports_b, 0, 0, 0, 0, 0) /* UDP */);
|
||||
ndpi_set_proto_defaults(ndpi_mod, NDPI_PROTOCOL_FUN, NDPI_PROTOCOL_FREE_43,
|
||||
no_master,
|
||||
@@ -2929,6 +2929,9 @@ void ndpi_set_protocol_detection_bitmask2(struct ndpi_detection_module_struct *n
|
||||
/* SMB */
|
||||
init_smb_dissector(ndpi_struct, &a, detection_bitmask);
|
||||
|
||||
/* MINING */
|
||||
init_mining_dissector(ndpi_struct, &a, detection_bitmask);
|
||||
|
||||
/* TELNET */
|
||||
init_telnet_dissector(ndpi_struct, &a, detection_bitmask);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user