From 406ac7e8c825ba05bc6371ed3088226bdef21b02 Mon Sep 17 00:00:00 2001 From: Luca Deri Date: Thu, 13 Jan 2022 19:03:17 +0100 Subject: Added the ability to specify trusted issueDN often used in companies to self-signed certificates This allows to avoid triggering alerts for trusted albeit private certificate issuers. Extended the example/protos.txt with the new syntax for specifying trusted issueDN. Example: trusted_issuer_dn:"CN=813845657003339838, O=Code42, OU=TEST, ST=MN, C=US" --- example/ndpiReader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ndpiReader.c') diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 7b883ab71..a84f1e0d0 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -3004,7 +3004,7 @@ static void printResults(u_int64_t processing_time_usec, u_int64_t setup_time_us for(i = 0; i < sizeof(cumulative_stats.flow_confidence)/sizeof(cumulative_stats.flow_confidence[0]); i++) { if(cumulative_stats.flow_confidence[i] != 0) - printf("\tConfidence %-17s: %-10llu (flows)\n", ndpi_confidence_get_name(i), + printf("\tConfidence: %-10s %-13llu (flows)\n", ndpi_confidence_get_name(i), (long long unsigned int)cumulative_stats.flow_confidence[i]); } } -- cgit v1.2.3