Added flow risk score
This commit is contained in:
@@ -1444,8 +1444,10 @@ static void printFlow(u_int16_t id, struct ndpi_flow_info *flow, u_int16_t threa
|
||||
fprintf(out, "** %s **", ndpi_risk2str(i));
|
||||
|
||||
fprintf(out, "]");
|
||||
}
|
||||
|
||||
fprintf(out, "[Risk Score: %u]", ndpi_risk2score(flow->risk));
|
||||
}
|
||||
|
||||
if(flow->ssh_tls.ssl_version != 0) fprintf(out, "[%s]", ndpi_ssl_version2str(flow->ndpi_flow, flow->ssh_tls.ssl_version, &known_tls));
|
||||
if(flow->ssh_tls.client_requested_server_name[0] != '\0') fprintf(out, "[Client: %s]", flow->ssh_tls.client_requested_server_name);
|
||||
if(flow->ssh_tls.client_hassh[0] != '\0') fprintf(out, "[HASSH-C: %s]", flow->ssh_tls.client_hassh);
|
||||
|
||||
Reference in New Issue
Block a user