diff options
author | Luca <deri@ntop.org> | 2019-04-05 12:47:58 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2019-04-05 12:47:58 +0200 |
commit | 4e7fa82affc876245ab7f008271a49bde80bcf9f (patch) | |
tree | 8653fd3892e119f106b5649192ef38b1be9e088a /src/lib/protocols/directconnect.c | |
parent | 5656a41f696e8073de28be5bdbd909fda108ee78 (diff) |
Fixed false positive with FTP_DATA protocol
Added coherency in application protol guess by exploiting the host server name
Various protocol optimizations
Diffstat (limited to 'src/lib/protocols/directconnect.c')
-rw-r--r-- | src/lib/protocols/directconnect.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/directconnect.c b/src/lib/protocols/directconnect.c index 5088685e4..19582724d 100644 --- a/src/lib/protocols/directconnect.c +++ b/src/lib/protocols/directconnect.c @@ -318,7 +318,6 @@ static void ndpi_search_directconnect_udp(struct ndpi_detection_module_struct struct ndpi_id_struct *dst = flow->dst; int pos, count = 0; - if (dst != NULL && dst->detected_directconnect_udp_port == packet->udp->dest) { if ((u_int32_t) (packet->tick_timestamp - |