Added POP3 metadata extraction

This commit is contained in:
Luca Deri
2019-10-20 23:06:05 +02:00
parent 437e8bd706
commit 58daa5ed7d
6 changed files with 183 additions and 163 deletions
+7
View File
@@ -961,6 +961,13 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ndpi_flow->protos.imap.username,
flow->ndpi_flow->protos.imap.password);
}
/* POP */
else if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_MAIL_POP) {
if(flow->ndpi_flow->protos.pop.username[0] != '\0')
snprintf(flow->info, sizeof(flow->info), "User: %s][Pwd: %s",
flow->ndpi_flow->protos.pop.username,
flow->ndpi_flow->protos.pop.password);
}
/* KERBEROS */
else if(flow->detected_protocol.app_protocol == NDPI_PROTOCOL_KERBEROS) {
if(flow->ndpi_flow->protos.kerberos.cname[0] != '\0') {