Added extraction of hostname in SMTP

Fixed mail incalid subprotocol calculation
This commit is contained in:
Luca Deri
2021-08-11 11:52:24 +02:00
parent 846b546dbc
commit 5c33fbf19b
6 changed files with 33 additions and 3 deletions
+2
View File
@@ -45,6 +45,8 @@
static void ndpi_int_mail_pop_add_connection(struct ndpi_detection_module_struct
*ndpi_struct, struct ndpi_flow_struct *flow) {
flow->guessed_protocol_id = NDPI_PROTOCOL_UNKNOWN; /* Avoid POP3S to be used s sub-protocol */
ndpi_set_detected_protocol(ndpi_struct, flow, NDPI_PROTOCOL_MAIL_POP, NDPI_PROTOCOL_UNKNOWN);
}