--- /dev/null
+Test for issue 5868.
+
+## PCAP
+
+PCAP created by hosting
+/usr/share/texlive/texmf-dist/tex/xelatex/bidi/bidi-logo.pdf from a
+Fedora 38 system on an http URL.
--- /dev/null
+%YAML 1.1
+---
+
+outputs:
+ - eve-log:
+ enabled: yes
+ types:
+ - alert:
+ - http:
+ - flow:
+ - files:
+ - file-store:
+ version: 2
+ enabled: yes
+
+app-layer:
+ protocols:
+ http:
+ enabled: yes
+ libhtp:
+ default-config:
+ request-body-limit: 100kb
+ response-body-limit: 100kb
--- /dev/null
+alert http any any -> any any (msg:"PDF LOGO"; flow:established,to_client; file_data; content:"PDF"; filestore; classtype:policy-violation; sid:9000000; rev:1;)
--- /dev/null
+requires:
+ min-version: 7
+
+args:
+ - -k none
+
+checks:
+ - shell:
+ args: test -e filestore/c5/c59b846043b2cf6b6ac73bf67f9c5660f354a12311ce405927a8916bffc70c4f
+ - shell:
+ args: test -s filestore/c5/c59b846043b2cf6b6ac73bf67f9c5660f354a12311ce405927a8916bffc70c4f