FTP: fix support for START-TLS sessions

When TLS-over-FTP is used, the credentials are encrypted. So we must not
wait for the username and the password commands, otherwise we elaborate a
lot of packets for nothing.
This commit is contained in:
Nardi Ivan
2021-09-21 20:53:04 +02:00
parent bb52f1362c
commit 017c1a4239
7 changed files with 30 additions and 11 deletions
+1 -1
View File
@@ -1086,7 +1086,7 @@ struct ndpi_flow_struct {
} http;
struct {
uint8_t auth_found:1, auth_failed:1, _pad:5;
uint8_t auth_found:1, auth_failed:1, auth_tls:1, _pad:5;
char username[16], password[16];
} ftp_imap_pop_smtp;