diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2024-10-28 23:36:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-28 23:36:51 +0100 |
commit | 9da99075aa174a7ecfc00fb9a18d32d3056d8db3 (patch) | |
tree | e3ad461c6c651cc5b179f1c8dc7180523c1add69 /example/reader_util.c | |
parent | dc125dc2a8a3aebd9accfd2deaae7dbecb5aae5a (diff) |
TLS: export heuristic fingerprint as metadata (#2609)
Diffstat (limited to 'example/reader_util.c')
-rw-r--r-- | example/reader_util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c index efa42da22..6c463fdbb 100644 --- a/example/reader_util.c +++ b/example/reader_util.c @@ -1583,6 +1583,10 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl } } + if(flow->ndpi_flow->tls_quic.obfuscated_heur_state && flow->ndpi_flow->tls_quic.obfuscated_heur_matching_set) + memcpy(&flow->ssh_tls.obfuscated_heur_matching_set, flow->ndpi_flow->tls_quic.obfuscated_heur_matching_set, + sizeof(struct ndpi_tls_obfuscated_heuristic_matching_set)); + if(!monitoring_enabled) { add_to_address_port_list(&flow->stun.mapped_address, &flow->ndpi_flow->stun.mapped_address); add_to_address_port_list(&flow->stun.peer_address, &flow->ndpi_flow->stun.peer_address); |