diff options
author | Luca Deri <deri@ntop.org> | 2024-10-11 19:23:29 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-10-11 19:24:06 +0200 |
commit | faaa5c5799440117f7a9cc78499433396dba7eb3 (patch) | |
tree | f57d84662d3e1fb76f108dae21819cb59ef1cead /example/ndpiReader.c | |
parent | 3e74c95d19093d27431e33c072adaab6ca653e78 (diff) |
Added support for printing JA4r when enabled
Diffstat (limited to 'example/ndpiReader.c')
-rw-r--r-- | example/ndpiReader.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpiReader.c b/example/ndpiReader.c index 12cd7fead..17a1a2457 100644 --- a/example/ndpiReader.c +++ b/example/ndpiReader.c @@ -2056,6 +2056,8 @@ static void printFlow(u_int32_t id, struct ndpi_flow_info *flow, u_int16_t threa if(flow->ssh_tls.ja4_client[0] != '\0') fprintf(out, "[JA4: %s%s]", flow->ssh_tls.ja4_client, print_cipher(flow->ssh_tls.client_unsafe_cipher)); + if(flow->ssh_tls.ja4_client_raw != NULL) fprintf(out, "[JA4_r: %s]", flow->ssh_tls.ja4_client_raw); + if(flow->ssh_tls.server_info[0] != '\0') fprintf(out, "[Server: %s]", flow->ssh_tls.server_info); if(flow->ssh_tls.server_names) fprintf(out, "[ServerNames: %s]", flow->ssh_tls.server_names); |