Implemented Kerberos metadata extraction
This commit is contained in:
@@ -966,6 +966,14 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
|
||||
else if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_UBNTAC2) {
|
||||
snprintf(flow->info, sizeof(flow->info), "%s", flow->ndpi_flow->protos.ubntac2.version);
|
||||
}
|
||||
/* KERBEROS */
|
||||
else if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_KERBEROS) {
|
||||
if(flow->ndpi_flow->protos.kerberos.cname[0] != '\0') {
|
||||
snprintf(flow->info, sizeof(flow->info), "%s (%s)",
|
||||
flow->ndpi_flow->protos.kerberos.cname,
|
||||
flow->ndpi_flow->protos.kerberos.realm);
|
||||
}
|
||||
}
|
||||
/* HTTP */
|
||||
else if(flow->detected_protocol.master_protocol == NDPI_PROTOCOL_HTTP) {
|
||||
if(flow->ndpi_flow->http.url != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user