Test entropy w/out a sticky buffer.
Without the suricata fixes, the test will SEGV and thus fail.
With the suricata fixes, the calculated entropy value will be
matched with the value in the test specification.
--- /dev/null
+alert tcp-pkt any any -> any any (msg:"Entropy segfault test"; entropy: value >= 6; sid:1;)
--- /dev/null
+requires:
+ min-version: 8.0.1
+
+pcap: ../entropy-01/input.pcap
+
+checks:
+ - filter:
+ count: 1
+ match:
+ event_type: http
+ metadata.entropy.content: 4.137370175000773