Added risky domain flow-risk support

This commit is contained in:
Luca Deri
2021-02-21 21:45:46 +01:00
parent 6db20b3ba9
commit fc16c9368e
7 changed files with 135 additions and 19 deletions
+10
View File
@@ -695,6 +695,16 @@ extern "C" {
*/
int ndpi_load_categories_file(struct ndpi_detection_module_struct *ndpi_str, const char* path);
/**
* Read a file and load the list of risky domains
*
* @par ndpi_mod = the detection module
* @par path = the path of the file
* @return 0 if the file is loaded correctly;
* -1 else
*/
int ndpi_load_risk_domain_file(struct ndpi_detection_module_struct *ndpi_str, const char* path);
/**
* Get the total number of the supported protocols
*