diff options
author | lns <matzeton@googlemail.com> | 2023-09-24 21:15:50 +0200 |
---|---|---|
committer | lns <matzeton@googlemail.com> | 2023-09-24 21:15:50 +0200 |
commit | 8436990b756ae3bc7b527e3238989cef9cbdb1d3 (patch) | |
tree | 2efb0ba8481aaa80e97550feacd0c8cfb06a5865 /src/lib/protocols/tls.c | |
parent | 725fcf4852f06e2f54469c2439d13169d5d68d09 (diff) |
Added HAProxy protocol.add/haproxy-and-more
* new special subprotocol parameter: NDPI_PROTOCOL_CALL_EXCLUDED
* fixed tests/do.sh.in failure print
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/lib/protocols/tls.c')
-rw-r--r-- | src/lib/protocols/tls.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/protocols/tls.c b/src/lib/protocols/tls.c index bedc3be59..4263edeaf 100644 --- a/src/lib/protocols/tls.c +++ b/src/lib/protocols/tls.c @@ -1509,7 +1509,8 @@ static void ndpi_int_tls_add_connection(struct ndpi_detection_module_struct *ndp ndpi_set_detected_protocol(ndpi_struct, flow, protocol, protocol, NDPI_CONFIDENCE_DPI); - tlsInitExtraPacketProcessing(ndpi_struct, flow); + if(!flow->extra_packets_func) + tlsInitExtraPacketProcessing(ndpi_struct, flow); } /* **************************************** */ @@ -2543,7 +2544,7 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct, } } else if(extension_id == 65037 /* ECH: latest drafts */) { #ifdef DEBUG_TLS - printf("Client TLS: ECH version 0x%x\n", extension_id; + printf("Client TLS: ECH version 0x%x\n", extension_id); #endif /* Beginning with draft-08, the version is the same as the code point for the "encrypted_client_hello" extension. */ |