Some small fixes (#1481)

FTP: if the authentication fails, stop analyzing the flow
WSD: call the initialization routine; the dissector code has never been
triggered
MINING: fix dissection
This commit is contained in:
Ivan Nardi
2022-03-08 00:21:51 +01:00
committed by GitHub
parent f91218360b
commit 269be6c7ef
6 changed files with 25 additions and 19 deletions
+2 -1
View File
@@ -87,7 +87,8 @@ void ndpi_search_mining_tcp(struct ndpi_detection_module_struct *ndpi_struct,
/* Check connection over TCP */
if(packet->tcp && (packet->payload_packet_len > 10)) {
if(packet->tcp->source == htons(8333)) {
if(packet->tcp->source == htons(8333) ||
packet->tcp->dest == htons(8333)) {
/*
Bitcoin