Added scripts to auto generate hostname/SNI *.inc files. (#1984)

* add illegal gambling sites (Belgium)

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2023-05-20 15:41:15 +02:00
committed by GitHub
parent 9004d5c2ca
commit c97e2d67ff
8 changed files with 540 additions and 4 deletions
+4
View File
@@ -71,6 +71,7 @@
#include "inc_generated/ndpi_ms_onedrive_match.c.inc"
#include "inc_generated/ndpi_ms_outlook_match.c.inc"
#include "inc_generated/ndpi_ms_skype_teams_match.c.inc"
#include "inc_generated/ndpi_gambling_match.c.inc"
#include "inc_generated/ndpi_google_match.c.inc"
#include "inc_generated/ndpi_google_cloud_match.c.inc"
#include "inc_generated/ndpi_crawlers_match.c.inc"
@@ -928,6 +929,9 @@ static void init_string_based_protocols(struct ndpi_detection_module_struct *ndp
for(i = 0; host_match[i].string_to_match != NULL; i++)
ndpi_init_protocol_match(ndpi_str, &host_match[i]);
for(i = 0; ndpi_protocol_gambling_hostname_list[i].string_to_match != NULL; i++)
ndpi_init_protocol_match(ndpi_str, &ndpi_protocol_gambling_hostname_list[i]);
/* ************************ */
for(i = 0; tls_certificate_match[i].string_to_match != NULL; i++) {