Fixed false positive with FTP_DATA protocol

Added coherency in application protol guess by exploiting the host server name
Various protocol optimizations
This commit is contained in:
Luca
2019-04-05 12:47:58 +02:00
parent 5656a41f69
commit 4e7fa82aff
10 changed files with 71 additions and 73 deletions
+2
View File
@@ -64,6 +64,8 @@ void ndpi_search_icecast_tcp(struct ndpi_detection_module_struct *ndpi_struct, s
goto icecast_exclude;
}
if(flow == NULL) return;
if((packet->packet_direction == flow->setup_packet_direction)
&& (flow->packet_counter < 10)) {
return;