diff options
author | Luca Deri <deri@ntop.org> | 2024-02-22 22:23:23 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-02-22 22:23:23 +0100 |
commit | 31c706c3dbbf0afc4c8e0a6d0bb6f20796296549 (patch) | |
tree | b76ee62d0aec211d574f3b1d39989233afae7f3d /src | |
parent | 2399abd27292774821525c0bd3e27c8cdee26551 (diff) |
Improved telegram detection
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/ndpi_main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c index df2f3aa00..ee50e7bed 100644 --- a/src/lib/ndpi_main.c +++ b/src/lib/ndpi_main.c @@ -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: |