Added POP3 metadata extraction

This commit is contained in:
Luca Deri
2019-10-20 23:06:05 +02:00
parent 437e8bd706
commit 58daa5ed7d
6 changed files with 183 additions and 163 deletions
+3
View File
@@ -837,6 +837,9 @@ extern "C" {
char *outbuf, u_int outbuf_len);
char* ndpi_ssl_version2str(u_int16_t version, u_int8_t *unknown_tls_version);
void ndpi_patchIPv6Address(char *str);
void ndpi_user_pwd_payload_copy(u_int8_t *dest, u_int dest_len,
const u_int8_t *src, u_int src_len);
int ndpi_flow2json(struct ndpi_detection_module_struct *ndpi_struct,
struct ndpi_flow_struct *flow,
u_int8_t ip_version,
+4
View File
@@ -1242,6 +1242,10 @@ struct ndpi_flow_struct {
char username[16], password[16];
} imap;
struct {
char username[16], password[16];
} pop;
struct {
/* Bittorrent hash */
u_char hash[20];