Skip to content

Commit

Permalink
Adds test about mime when stream depth is reached
Browse files Browse the repository at this point in the history
  • Loading branch information
catenacyber committed Sep 19, 2023
1 parent c31735b commit ab62681
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/mime/mime-stream-depth/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Description

Test mime base64 decoding completeness when stream depth is reached
See https://redmine.openinfosecfoundation.org/issues/6367

# PCAP

The pcap comes from QA TLPW1
Binary file added tests/mime/mime-stream-depth/input.pcap
Binary file not shown.
15 changes: 15 additions & 0 deletions tests/mime/mime-stream-depth/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
requires:
min-version: 7

checks:
- filter:
count: 2
match:
event_type: fileinfo
fileinfo.size: 326976
- filter:
count: 1
match:
event_type: fileinfo
fileinfo.size: 63891
fileinfo.state: TRUNCATED

0 comments on commit ab62681

Please sign in to comment.