From: Victor Julien Date: Fri, 16 Jan 2026 12:11:07 +0000 (+0100) Subject: tests: add test for issue 8224 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce6434df8f68ba6d4cc047e0ba8d417020330a80;p=thirdparty%2Fsuricata-verify.git tests: add test for issue 8224 --- diff --git a/tests/bug-8224-01/example-s0.pcap b/tests/bug-8224-01/example-s0.pcap new file mode 100644 index 000000000..cd227ea64 Binary files /dev/null and b/tests/bug-8224-01/example-s0.pcap differ diff --git a/tests/bug-8224-01/test.rules b/tests/bug-8224-01/test.rules new file mode 100644 index 000000000..62fdde82c --- /dev/null +++ b/tests/bug-8224-01/test.rules @@ -0,0 +1 @@ +drop http 172.31.10.37 any -> 18.180.192.156 any (app-layer-event:http.request_field_too_long; flow:established; msg:"HTTP Dropped - Request too long"; priority:1; sid:2; gid:1; rev:1;) diff --git a/tests/bug-8224-01/test.yaml b/tests/bug-8224-01/test.yaml new file mode 100644 index 000000000..d231cb5b6 --- /dev/null +++ b/tests/bug-8224-01/test.yaml @@ -0,0 +1,16 @@ +requires: + min-version: 9 + +args: + - --simulate-ips + - -k none + # disable exception policy to avoid dropping the flow before rules could match + - --set exception-policy=ignore + +checks: + - filter: + count: 1 + match: + event_type: alert + alert.signature_id: 2 + pcap_cnt: 19