diff options
author | Luca Deri <deri@ntop.org> | 2016-02-28 23:19:13 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2016-02-28 23:19:13 +0100 |
commit | ead8c4933e949ead23c77bb4dac7e80bb9b34d25 (patch) | |
tree | ab2bf50a6da72ed2846641c0295c053a42b5150e /src/include | |
parent | 20374b542d9830564cc9f50aabbf47656a9db4b0 (diff) |
Removed VEOHTV protocol and replaced with HTTPDownload
Fixed bug that prevented content type to be properly detected
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_api.h | 2 | ||||
-rw-r--r-- | src/include/ndpi_protocol_ids.h | 2 |
2 files changed, 2 insertions, 2 deletions
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 |