diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-12-10 18:32:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-10 18:32:25 +0100 |
commit | 8c7071e040865b3b70b98ff8d8ad18c41f3fb74c (patch) | |
tree | b52a3e84e4997d53049226611584e820767bb5b6 /example | |
parent | 79931b2ec7dffc88df4cdd6855d7b1ec95cca20f (diff) |
DTLS: handle (certificate) fragments (#1811)
Keep using the existing function to handle reassembling buffer: rename
it from `ndpi_search_tls_tcp_memory` to
`ndpi_search_tls_memory` and make it "transport" agnostic
Diffstat (limited to 'example')
-rw-r--r-- | example/reader_util.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index 5b85c4784..2e285a7f1 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1151,7 +1151,9 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl inet_ntop(AF_INET, &flow->ndpi_flow->protos.natpmp.external_address.ipv4, &flow->natpmp.ip[0], sizeof(flow->natpmp.ip)); } /* DISCORD */ - else if(is_ndpi_proto(flow, NDPI_PROTOCOL_DISCORD) && !is_ndpi_proto(flow, NDPI_PROTOCOL_TLS) && + else if(is_ndpi_proto(flow, NDPI_PROTOCOL_DISCORD) && + !is_ndpi_proto(flow, NDPI_PROTOCOL_TLS) && + !is_ndpi_proto(flow, NDPI_PROTOCOL_DTLS) && flow->ndpi_flow->protos.discord.client_ip[0] != '\0') { flow->info_type = INFO_GENERIC; ndpi_snprintf(flow->info, sizeof(flow->info), "Client IP: %s", |