due to request.body_limit configuration value
--- /dev/null
+# Description
+
+Test http mime truncated file
+
+# PCAP
+
+The pcap is an extract from SURI_TLPW1_files_sha256
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ types:
+ - files:
+ force-hash: [sha256]
+
+app-layer:
+ protocols:
+ http:
+ libhtp:
+ default-config:
+ request-body-limit: 100kb
--- /dev/null
+requires:
+ min-version: 7.0.0
+
+# disables checksum verification
+args:
+ - -k none
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ app_proto: http
+ fileinfo.sha256: "0adad78526c1b9c35f349a2cc7014c458aa87adcb9ec86f052fd8a9a80584e39"
+ fileinfo.state: TRUNCATED
+ fileinfo.size: 101422