Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-1352: Added flag to stop processing SMTP headers in attached
messages
- Loading branch information
Showing
7 changed files
with
1,540 additions
and
1,508 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
testing/btest/Baseline/scripts.base.protocols.smtp.attachment-msg/smtp.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63. | ||
#separator \x09 | ||
#set_separator , | ||
#empty_field (empty) | ||
#unset_field - | ||
#path smtp | ||
#open XXXX-XX-XX-XX-XX-XX | ||
#fields ts uid id.orig_h id.orig_p id.resp_h id.resp_p trans_depth helo mailfrom rcptto date from to cc reply_to msg_id in_reply_to subject x_originating_ip first_received second_received last_reply path user_agent tls fuids | ||
#types time string addr port addr port count string string set[string] string string set[string] set[string] string string string string addr string string string vector[addr] string bool vector[string] | ||
XXXXXXXXXX.XXXXXX CHhAvVGS1DHFjwGM9 ::1 56660 ::1 25 1 localhost.localdomain sender@example.com recipient@example.com - sender@example.com recipient@example.com - - - - subject - - - - ::1,::1 - F FbiWxy1DVPZVVnWJYe,FRF0Sp1MNQgFjUxRy1 | ||
#close XXXX-XX-XX-XX-XX-XX |
260 changes: 130 additions & 130 deletions
260
testing/btest/Baseline/scripts.policy.misc.dump-events/all-events.log
Large diffs are not rendered by default.
Oops, something went wrong.
2,668 changes: 1,334 additions & 1,334 deletions
2,668
testing/btest/Baseline/scripts.policy.misc.dump-events/really-all-events.log
Large diffs are not rendered by default.
Oops, something went wrong.
84 changes: 42 additions & 42 deletions
84
testing/btest/Baseline/scripts.policy.misc.dump-events/smtp-events.log
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
4 changes: 4 additions & 0 deletions
4
testing/btest/scripts/base/protocols/smtp/attachment-msg.test
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# @TEST-EXEC: zeek -b -C -r $TRACES/smtp-attachment-msg.pcap %INPUT | ||
# @TEST-EXEC: btest-diff smtp.log | ||
|
||
@load base/protocols/smtp |