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.
This commit is contained in:
+5
-2
@@ -5070,8 +5070,11 @@ void ndpi_free_flow_data(struct ndpi_flow_struct* flow) {
|
||||
if(flow->protos.tls_quic.server_names)
|
||||
ndpi_free(flow->protos.tls_quic.server_names);
|
||||
|
||||
if(flow->protos.tls_quic.alpn)
|
||||
ndpi_free(flow->protos.tls_quic.alpn);
|
||||
if(flow->protos.tls_quic.advertised_alpns)
|
||||
ndpi_free(flow->protos.tls_quic.advertised_alpns);
|
||||
|
||||
if(flow->protos.tls_quic.negotiated_alpn)
|
||||
ndpi_free(flow->protos.tls_quic.negotiated_alpn);
|
||||
|
||||
if(flow->protos.tls_quic.tls_supported_versions)
|
||||
ndpi_free(flow->protos.tls_quic.tls_supported_versions);
|
||||
|
||||
Reference in New Issue
Block a user