diff options
author | Luca Deri <deri@ntop.org> | 2020-05-15 18:57:49 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2020-05-15 18:57:49 +0200 |
commit | da22aa5fc71eb7cd18d0b3269ff9bc0fb784a782 (patch) | |
tree | 7ac290a1017d785d520396e1c97c8ea00ebcdefa /src/lib/protocols/http.c | |
parent | adfe6b763c2b8063cc64df91d4bede08cfbb3984 (diff) |
Added NDPI_TLS_CERTIFICATE_EXPIRED, NDPI_TLS_CERTIFICATE_MISMATCH, to ndpi_risk
Diffstat (limited to 'src/lib/protocols/http.c')
-rw-r--r-- | src/lib/protocols/http.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/protocols/http.c b/src/lib/protocols/http.c index 5f62d730f..e050a69a8 100644 --- a/src/lib/protocols/http.c +++ b/src/lib/protocols/http.c @@ -127,7 +127,6 @@ static ndpi_protocol_category_t ndpi_http_check_content(struct ndpi_detection_mo for (int i = 0; binary_file_ext[i] != NULL; i++) { if (ndpi_strncasestr((const char*)&packet->content_disposition_line.ptr[attachment_len], binary_file_ext[i], filename_len)) { - printf("got %s\n", binary_file_ext[i]); flow->guessed_category = flow->category = NDPI_PROTOCOL_CATEGORY_DOWNLOAD_FT; NDPI_SET_BIT_16(flow->risk, NDPI_BINARY_APPLICATION_TRANSFER); NDPI_LOG_INFO(ndpi_struct, "found executable HTTP transfer"); |