aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.c
diff options
context:
space:
mode:
authorLuca <deri@ntop.org>2021-05-06 21:42:06 +0200
committerLuca <deri@ntop.org>2021-05-06 21:42:06 +0200
commitae2470fad40d1865c6fd17f686f43555cc47b92b (patch)
tree520bd1e9f7892418a32fe842b8d1777565f5ce8f /example/reader_util.c
parent808050e6357f0c84826828f1922ac1a29803845b (diff)
Initial work towards detection via TLS of browser types
Diffstat (limited to 'example/reader_util.c')
-rw-r--r--example/reader_util.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/reader_util.c b/example/reader_util.c
index af58d8db5..18c8c6e2a 100644
--- a/example/reader_util.c
+++ b/example/reader_util.c
@@ -1170,6 +1170,8 @@ void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_fl
flow->ssh_tls.sha1_cert_fingerprint_set = 1;
}
+ flow->ssh_tls.browser_euristics = flow->ndpi_flow->protos.tls_quic_stun.tls_quic.browser_euristics;
+
if(flow->ndpi_flow->protos.tls_quic_stun.tls_quic.alpn) {
if((flow->ssh_tls.tls_alpn = ndpi_strdup(flow->ndpi_flow->protos.tls_quic_stun.tls_quic.alpn)) != NULL)
correct_csv_data_field(flow->ssh_tls.tls_alpn);