diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2022-10-25 17:06:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-25 17:06:29 +0200 |
commit | ca5ffc498873805c07a29c6d8af3e995963c055d (patch) | |
tree | efbc859babc7668069c9576b54439ffe10cc9859 /src/include | |
parent | 2ed2e5dc7e072d41065a7c04da5db598150c71fa (diff) |
TLS: improve handling of ALPN(s) (#1784)
Tell "Advertised" ALPN list from "Negotiated" ALPN; the former is
extracted from the CH, the latter from the SH.
Add some entries to the known ALPN list.
Fix printing of "TLS Supported Versions" field.
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_typedefs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index 5b8a9c52b..33ccd93ec 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -1404,7 +1404,7 @@ struct ndpi_flow_struct { } softether; struct { - char *server_names, *alpn, *tls_supported_versions, *issuerDN, *subjectDN; + char *server_names, *advertised_alpns, *negotiated_alpn, *tls_supported_versions, *issuerDN, *subjectDN; u_int32_t notBefore, notAfter; char ja3_client[33], ja3_server[33]; u_int16_t server_cipher; @@ -1578,11 +1578,11 @@ struct ndpi_flow_struct { #if !defined(NDPI_CFFI_PREPROCESSING) && defined(__linux__) #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L -_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 200, - "Size of the struct member protocols increased to more than 200 bytes, " +_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 208, + "Size of the struct member protocols increased to more than 208 bytes, " "please check if this change is necessary."); -_Static_assert(sizeof(struct ndpi_flow_struct) <= 920, - "Size of the flow struct increased to more than 920 bytes, " +_Static_assert(sizeof(struct ndpi_flow_struct) <= 928, + "Size of the flow struct increased to more than 928 bytes, " "please check if this change is necessary."); #endif #endif |