Add IMAPS protocol on stack for use on detection giveup

This commit is contained in:
emanuele-f
2016-08-12 14:28:16 +02:00
parent b34e9bf42a
commit e7613a3851
+1
View File
@@ -144,6 +144,7 @@ void ndpi_search_mail_imap_tcp(struct ndpi_detection_module_struct *ndpi_struct,
&& (packet->payload[command_start + 7] == 'S' || packet->payload[command_start + 7] == 's')) {
flow->l4.tcp.mail_imap_stage += 1;
flow->l4.tcp.mail_imap_starttls = 1;
flow->detected_protocol_stack[0] = NDPI_PROTOCOL_MAIL_IMAPS;
saw_command = 1;
}
}