diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-01-18 07:19:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 07:19:44 +0100 |
commit | de24206adccf2347addc05d6d62b3bf743fef411 (patch) | |
tree | 925b6e769f41746269ccd6617eb970efd0ea11c9 /src | |
parent | 97014c53f3855b657ad876df2d1e5954ae52a075 (diff) |
POP3: improve detection (#1856)
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/protocols/mail_pop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/mail_pop.c b/src/lib/protocols/mail_pop.c index cbcc65a5b..16190fd15 100644 --- a/src/lib/protocols/mail_pop.c +++ b/src/lib/protocols/mail_pop.c @@ -206,7 +206,7 @@ void ndpi_search_mail_pop_tcp(struct ndpi_detection_module_struct if(flow->l4.tcp.mail_pop_stage > 0) { if((flow->l4.tcp.ftp_imap_pop_smtp.password[0] != '\0') - || (flow->l4.tcp.mail_pop_stage > 3)) { + || (flow->l4.tcp.mail_pop_stage >= 3)) { ndpi_int_mail_pop_add_connection(ndpi_struct, flow, NDPI_PROTOCOL_MAIL_POP); if(flow->l4.tcp.ftp_imap_pop_smtp.password[0] == '\0') popInitExtraPacketProcessing(flow); |