Allow to disable TLS processing for the section

This commit is contained in:
Vadim Vetrov
2024-12-06 18:25:43 +03:00
parent b452ed2d55
commit 9b5c8a729d
5 changed files with 28 additions and 4 deletions

View File

@@ -170,6 +170,9 @@ int process_tcp_packet(const struct section_config_t *section, const uint8_t *ra
if (tcph->syn) goto continue_flow;
if (!section->tls_enabled)
goto continue_flow;
struct tls_verdict vrd = analyze_tls_data(section, data, dlen);
lgtrace_addp("TLS analyzed");