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
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user