aboutsummaryrefslogtreecommitdiff
path: root/example/ndpiReader.c
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-10-15 21:20:32 +0200
committerLuca Deri <deri@ntop.org>2024-10-15 21:21:05 +0200
commit6b6dad4fdb2e60cd2887f7d381bcab2387ba9507 (patch)
treebed0d0898743ecab5210e0247ce812fff13255c8 /example/ndpiReader.c
parentff14b369206c30711ed6fb74573ece0fee83c0df (diff)
Implemented nDPI TCP fingerprint
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r--example/ndpiReader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c
index b98bb3374..22f7f3215 100644
--- a/example/ndpiReader.c
+++ b/example/ndpiReader.c
@@ -2056,6 +2056,9 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa
fprintf(out, "[Risk Info: %s]", flow->risk_str);
}
+ if(flow->tcp_fingerprint)
+ fprintf(out, "[TCP Fingerprint: %s]", flow->tcp_fingerprint);
+
if(flow->ssh_tls.ssl_version != 0) fprintf(out, "[%s]", ndpi_ssl_version2str(buf_ver, sizeof(buf_ver),
flow->ssh_tls.ssl_version, &known_tls));