From aab8f6575a450b0fce8a9aea2c8cba8df3bfb453 Mon Sep 17 00:00:00 2001 From: Tim Wojtulewicz Date: Thu, 23 Jan 2025 09:48:43 -0700 Subject: [PATCH] Add missing export blocks to init-bare.zeek --- scripts/base/init-bare.zeek | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/scripts/base/init-bare.zeek b/scripts/base/init-bare.zeek index 9082bcfc4a..ab8080fcab 100644 --- a/scripts/base/init-bare.zeek +++ b/scripts/base/init-bare.zeek @@ -581,16 +581,20 @@ const running_under_test: bool = F &redef; module FTP; -## Limits the size of commands accepted by the FTP analyzer. Longer commands -## raise a FTP_max_command_length_exceeded weird and are discarded. -const max_command_length = 100 &redef; +export { + ## Limits the size of commands accepted by the FTP analyzer. Longer commands + ## raise a FTP_max_command_length_exceeded weird and are discarded. + const max_command_length = 100 &redef; +} module SMTP; -## The maximum line length within a BDAT chunk before a forceful linebreak -## is introduced and a weird is raised. Conventionally, MIME messages -## have a maximum line length of 1000 octets when properly encoded. -const bdat_max_line_length = 4096 &redef; +export { + ## The maximum line length within a BDAT chunk before a forceful linebreak + ## is introduced and a weird is raised. Conventionally, MIME messages + ## have a maximum line length of 1000 octets when properly encoded. + const bdat_max_line_length = 4096 &redef; +} module TCP; export {