mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
SMTP: Add enable_mail_data_file_analysis
Enabling this option will instantiate a new fa_file instance for every mail data (message content) transferred over an SMTP connection. A new event smtp_mail_data_file() can be used to intercept and identify the creation of such files.
This commit is contained in:
parent
74dc2efccc
commit
f9b72bc332
5 changed files with 53 additions and 2 deletions
|
@ -667,6 +667,12 @@ export {
|
|||
## 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;
|
||||
|
||||
## Whether to send data of individual top-level RFC822 messages
|
||||
## in SMTP transactions to the file analysis framework.
|
||||
##
|
||||
## :zeek:see:`smtp_mail_data_file`.
|
||||
const enable_mail_data_file_analysis = F &redef;
|
||||
}
|
||||
|
||||
module TCP;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue