QUIC: export QUIC version as metadata

This commit is contained in:
Nardi Ivan
2023-10-11 15:15:20 +02:00
committed by Ivan Nardi
parent a76b9d151f
commit 4a0eda69ad
50 changed files with 308 additions and 249 deletions
+1
View File
@@ -1167,6 +1167,7 @@ extern "C" {
ndpi_protocol const * const l7_protocol);
char* ndpi_ssl_version2str(char *buf, int buf_len,
u_int16_t version, u_int8_t *unknown_tls_version);
char *ndpi_quic_version2str(char *buf, int buf_len, u_int32_t version);
int ndpi_netbios_name_interpret(u_char *in, u_int in_len, u_char *out, u_int out_len);
void ndpi_patchIPv6Address(char *str);
void ndpi_user_pwd_payload_copy(u_int8_t *dest, u_int dest_len, u_int offset,
+4 -2
View File
@@ -1591,6 +1591,8 @@ struct ndpi_flow_struct {
} encrypted_ch;
ndpi_cipher_weakness server_unsafe_cipher;
u_int32_t quic_version;
} tls_quic; /* Used also by DTLS and POPS/IMAPS/SMTPS/FTPS */
struct {
@@ -1749,8 +1751,8 @@ 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) <= 210,
"Size of the struct member protocols increased to more than 210 bytes, "
_Static_assert(sizeof(((struct ndpi_flow_struct *)0)->protos) <= 216,
"Size of the struct member protocols increased to more than 216 bytes, "
"please check if this change is necessary.");
_Static_assert(sizeof(struct ndpi_flow_struct) <= 968,
"Size of the flow struct increased to more than 968 bytes, "