Merge branch 'dev' of https://github.com/ntop/nDPI into dev

This commit is contained in:
Luca
2019-11-05 12:15:27 +00:00
12 changed files with 283 additions and 36 deletions
+2
View File
@@ -941,6 +941,8 @@ extern "C" {
const char* ndpi_data_ratio2str(float ratio);
void ndpi_data_print_window_values(struct ndpi_analyze_struct *s); /* debug */
ndpi_url_risk ndpi_validate_url(char *url);
#ifdef __cplusplus
}
#endif
+6
View File
@@ -49,6 +49,12 @@ typedef enum {
ndpi_tzsp_tunnel,
} ndpi_packet_tunnel;
typedef enum {
ndpi_url_no_problem = 0,
ndpi_url_possible_xss,
ndpi_url_possible_sql_injection
} ndpi_url_risk;
/* NDPI_VISIT */
typedef enum {
ndpi_preorder,