From ead8c4933e949ead23c77bb4dac7e80bb9b34d25 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Sun, 28 Feb 2016 23:19:13 +0100 Subject: Removed VEOHTV protocol and replaced with HTTPDownload Fixed bug that prevented content type to be properly detected --- src/include/ndpi_api.h | 2 +- src/include/ndpi_protocol_ids.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/include') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index a39acd536..5815f118c 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -172,7 +172,7 @@ extern "C" { ndpi_protocol ndpi_guess_undetected_protocol(struct ndpi_detection_module_struct *ndpi_struct, u_int8_t proto, u_int32_t shost, u_int16_t sport, u_int32_t dhost, u_int16_t dport); int ndpi_match_string_subprotocol(struct ndpi_detection_module_struct *ndpi_struct, - char *string_to_match, u_int string_to_match_len); + char *string_to_match, u_int string_to_match_len, u_int8_t is_host_match); int ndpi_match_host_subprotocol(struct ndpi_detection_module_struct *ndpi_struct, struct ndpi_flow_struct *flow, char *string_to_match, u_int string_to_match_len, u_int16_t master_protocol_id); diff --git a/src/include/ndpi_protocol_ids.h b/src/include/ndpi_protocol_ids.h index df213bfdd..77f50e9d4 100644 --- a/src/include/ndpi_protocol_ids.h +++ b/src/include/ndpi_protocol_ids.h @@ -49,7 +49,7 @@ #define NDPI_PROTOCOL_IP_ICMPV6 102 #define NDPI_PROTOCOL_HTTP 7 -#define NDPI_PROTOCOL_HTTP_APPLICATION_VEOHTV 60 +#define NDPI_PROTOCOL_HTTP_DOWNLOAD 60 #define NDPI_PROTOCOL_SSL_NO_CERT 64 /* SSL without certificate (Skype, Ultrasurf?) - ntop.org */ #define NDPI_PROTOCOL_SSL 91 #define NDPI_PROTOCOL_HTTP_APPLICATION_ACTIVESYNC 110 -- cgit v1.2.3