BitTorrent detection improvements

This commit is contained in:
Luca Deri
2021-11-17 22:41:35 +01:00
parent 2a6e5c6341
commit 2e2d4c911a
4 changed files with 181 additions and 128 deletions
+5
View File
@@ -7252,6 +7252,11 @@ u_int8_t ndpi_extra_dissection_possible(struct ndpi_detection_module_struct *ndp
if(flow->extra_packets_func)
return(1);
break;
case NDPI_PROTOCOL_BITTORRENT:
if(flow->protos.bittorrent.hash[0] == '\0')
return(1);
break;
}
return(0);