diff options
author | Luca Deri <deri@ntop.org> | 2021-02-22 22:37:33 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2021-02-22 22:37:33 +0100 |
commit | fc3db8f1691e913b03ca88a47770c5abf3104ef8 (patch) | |
tree | c0340d68fffe201fe4b1753e77cd0b2cdb1489a0 /example | |
parent | a21ad2fbe43170db7ea7519070dd6e9d71a2058d (diff) |
Implemented TLS Certificate Sibject matching
Improved AnyDesk detection
Diffstat (limited to 'example')
-rw-r--r-- | example/ndpiReader.c | 6 | ||||
-rw-r--r-- | example/ndpiSimpleIntegration.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 591480ff3..729d04d52 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -273,7 +273,7 @@ void ndpiCheckHostStringMatch(char *testChar) { return; ndpi_str = ndpi_init_detection_module(ndpi_no_prefs); - ndpi_finalize_initalization(ndpi_str); + ndpi_finalize_initialization(ndpi_str); // Display ALL Host strings ie host_match[] ? // void ac_automata_display (AC_AUTOMATA_t * thiz, char repcast); @@ -2060,7 +2060,7 @@ static void setupDetection(u_int16_t thread_id, pcap_t * pcap_handle) { if(_riskyDomainFilePath) ndpi_load_risk_domain_file(ndpi_thread_info[thread_id].workflow->ndpi_struct, _riskyDomainFilePath); - ndpi_finalize_initalization(ndpi_thread_info[thread_id].workflow->ndpi_struct); + ndpi_finalize_initialization(ndpi_thread_info[thread_id].workflow->ndpi_struct); if(enable_doh_dot_detection) ndpi_set_detection_preferences(ndpi_thread_info[thread_id].workflow->ndpi_struct, ndpi_pref_enable_tls_block_dissection, 1); @@ -3505,7 +3505,7 @@ static void dgaUnitTest() { NDPI_BITMASK_SET_ALL(all); ndpi_set_protocol_detection_bitmask2(ndpi_str, &all); - ndpi_finalize_initalization(ndpi_str); + ndpi_finalize_initialization(ndpi_str); assert(ndpi_str != NULL); diff --git a/example/ndpiSimpleIntegration.c b/example/ndpiSimpleIntegration.c index 5f0b6d87d..70423afbc 100644 --- a/example/ndpiSimpleIntegration.c +++ b/example/ndpiSimpleIntegration.c @@ -166,7 +166,7 @@ static struct nDPI_workflow * init_workflow(char const * const file_or_device) NDPI_PROTOCOL_BITMASK protos; NDPI_BITMASK_SET_ALL(protos); ndpi_set_protocol_detection_bitmask2(workflow->ndpi_struct, &protos); - ndpi_finalize_initalization(workflow->ndpi_struct); + ndpi_finalize_initialization(workflow->ndpi_struct); return workflow; } |