diff options
author | Luca Deri <deri@ntop.org> | 2024-10-15 21:20:32 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-10-15 21:21:05 +0200 |
commit | 6b6dad4fdb2e60cd2887f7d381bcab2387ba9507 (patch) | |
tree | bed0d0898743ecab5210e0247ce812fff13255c8 /example/ndpiReader.c | |
parent | ff14b369206c30711ed6fb74573ece0fee83c0df (diff) |
Implemented nDPI TCP fingerprint
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 3 |
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)); |