aboutsummaryrefslogtreecommitdiff
path: root/example/reader_util.h
diff options
context:
space:
mode:
authorIvan Nardi <12729895+IvanNardi@users.noreply.github.com>2022-10-25 17:06:29 +0200
committerGitHub <noreply@github.com>2022-10-25 17:06:29 +0200
commitca5ffc498873805c07a29c6d8af3e995963c055d (patch)
treeefbc859babc7668069c9576b54439ffe10cc9859 /example/reader_util.h
parent2ed2e5dc7e072d41065a7c04da5db598150c71fa (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 'example/reader_util.h')
-rw-r--r--example/reader_util.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/example/reader_util.h b/example/reader_util.h
index 6a9c7cd40..d8c02c8b6 100644
--- a/example/reader_util.h
+++ b/example/reader_util.h
@@ -165,8 +165,6 @@ enum info_type {
INFO_SOFTETHER,
INFO_TIVOCONNECT,
INFO_FTP_IMAP_POP_SMTP,
- INFO_TLS_QUIC_ALPN_VERSION,
- INFO_TLS_QUIC_ALPN_ONLY,
INFO_NATPMP,
};
@@ -217,10 +215,6 @@ typedef struct ndpi_flow_info {
union {
char info[256];
struct {
- char alpn[128];
- char tls_supported_versions[128];
- } tls_quic;
- struct {
unsigned char auth_failed;
char username[127];
char password[128];
@@ -263,7 +257,7 @@ typedef struct ndpi_flow_info {
u_int16_t ssl_version;
char server_info[64],
client_hassh[33], server_hassh[33], *server_names,
- *tls_alpn, *tls_supported_versions,
+ *advertised_alpns, *negotiated_alpn, *tls_supported_versions,
*tls_issuerDN, *tls_subjectDN,
ja3_client[33], ja3_server[33],
sha1_cert_fingerprint[20];