Improved telegram detection

This commit is contained in:
Luca Deri
2024-02-22 22:23:23 +01:00
parent 2399abd272
commit 31c706c3db
5 changed files with 39 additions and 30 deletions
+5 -1
View File
@@ -7358,7 +7358,11 @@ static void ndpi_reconcile_protocols(struct ndpi_detection_module_struct *ndpi_s
NDPI_PROTOCOL_SKYPE_TEAMS, NDPI_PROTOCOL_TLS,
NDPI_CONFIDENCE_DPI_PARTIAL);
}
}
} else if(flow->guessed_protocol_id_by_ip == NDPI_PROTOCOL_TELEGRAM) {
ndpi_int_change_protocol(ndpi_str, flow,
flow->guessed_protocol_id_by_ip, flow->detected_protocol_stack[1],
NDPI_CONFIDENCE_DPI_PARTIAL);
}
break;
case NDPI_PROTOCOL_SKYPE_TEAMS: