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"
This commit is contained in:
Luca Deri
2022-01-13 19:06:21 +01:00
parent dc60cd09c4
commit 406ac7e8c8
7 changed files with 126 additions and 146 deletions
+1 -1
View File
@@ -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]);
}
}