diff options
author | Luca <deri@ntop.org> | 2021-05-06 08:56:01 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2021-05-06 08:56:01 +0200 |
commit | 808050e6357f0c84826828f1922ac1a29803845b (patch) | |
tree | 3400abdd4402e55d1f6cda10a5295952d12485f6 /src/include | |
parent | ce54a6ab5742d387cc50f6d4b0682663dfb1d2ad (diff) |
Add extraction for TLS signature algorithms
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_typedefs.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index fb8bd7d1b..56927be53 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1209,6 +1209,8 @@ typedef enum { ndpi_cipher_insecure = NDPI_CIPHER_INSECURE } ndpi_cipher_weakness; +#define MAX_NUM_TLS_SIGNATURE_ALGORITHMS 16 + /* NOTE When the struct below is modified don't forget to update @@ -1319,8 +1321,9 @@ struct ndpi_flow_struct { *server_names, *alpn, *tls_supported_versions, *issuerDN, *subjectDN; u_int32_t notBefore, notAfter; char ja3_client[33], ja3_server[33]; - u_int16_t server_cipher; - u_int8_t sha1_certificate_fingerprint[20]; + u_int16_t server_cipher; + u_int16_t client_signature_algorithms[MAX_NUM_TLS_SIGNATURE_ALGORITHMS]; + u_int8_t num_tls_signature_algorithms, sha1_certificate_fingerprint[20]; struct { u_int16_t cipher_suite; |