diff options
author | Luca Deri <deri@ntop.org> | 2019-06-16 10:08:21 +0200 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2019-06-16 10:08:21 +0200 |
commit | 5b7a08bac331d3d30f4ed29acb18f5c99c57883d (patch) | |
tree | 79851e9943dc52cbd297b9d473541b59080de87f /example/ndpi_util.h | |
parent | 709a87c8d442c40aa9f32e450d8e7665732dd9c3 (diff) |
Added SSL cipher print
Diffstat (limited to 'example/ndpi_util.h')
-rw-r--r-- | example/ndpi_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/example/ndpi_util.h b/example/ndpi_util.h index 538753834..301647b1c 100644 --- a/example/ndpi_util.h +++ b/example/ndpi_util.h @@ -100,6 +100,7 @@ typedef struct ndpi_flow_info { u_int16_t ssl_version; char client_info[64], server_info[64], server_organization[64], ja3_client[33], ja3_server[33]; + u_int16_t server_cipher; ndpi_cipher_weakness client_unsafe_cipher, server_unsafe_cipher; } ssh_ssl; @@ -200,6 +201,7 @@ int ndpi_workflow_node_cmp(const void *a, const void *b); void process_ndpi_collected_info(struct ndpi_workflow * workflow, struct ndpi_flow_info *flow); u_int32_t ethernet_crc32(const void* data, size_t n_bytes); void ndpi_flow_info_freer(void *node); +const char* print_cipher_id(u_int32_t cipher); extern int nDPI_LogLevel; |