aboutsummaryrefslogtreecommitdiff
path: root/python/ndpi.py
diff options
context:
space:
mode:
authorNardi Ivan <nardi.ivan@gmail.com>2021-09-21 17:56:31 +0200
committerNardi Ivan <nardi.ivan@gmail.com>2021-09-21 20:53:04 +0200
commit017c1a42394501914f850fd54411884545105879 (patch)
treeff6f3b34143dd7031950d53734a06032b4091a04 /python/ndpi.py
parentbb52f1362ca80f58eb2bb4a76bb4840fa30afab3 (diff)
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.
Diffstat (limited to 'python/ndpi.py')
-rw-r--r--python/ndpi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/ndpi.py b/python/ndpi.py
index a7b568451..3eea870e2 100644
--- a/python/ndpi.py
+++ b/python/ndpi.py
@@ -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;