From: Philippe Antoine Date: Thu, 27 Mar 2025 13:43:29 +0000 (+0100) Subject: http: add test about http parser error X-Git-Tag: suricata-7.0.11~116 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b05d4e451c440d4c38303639c7afa85157794279;p=thirdparty%2Fsuricata-verify.git http: add test about http parser error --- diff --git a/tests/http-data-after-09/README.md b/tests/http-data-after-09/README.md new file mode 100644 index 000000000..2fad1282f --- /dev/null +++ b/tests/http-data-after-09/README.md @@ -0,0 +1,5 @@ +# HTTP data after 0.9 + +Test that we do not fully error on data after HTTP/0.9 + +The pcap file is hand crafted diff --git a/tests/http-data-after-09/input.pcap b/tests/http-data-after-09/input.pcap new file mode 100644 index 000000000..bcf39b01d Binary files /dev/null and b/tests/http-data-after-09/input.pcap differ diff --git a/tests/http-data-after-09/test.yaml b/tests/http-data-after-09/test.yaml new file mode 100644 index 000000000..e32df6bd6 --- /dev/null +++ b/tests/http-data-after-09/test.yaml @@ -0,0 +1,12 @@ +requires: + min-version: 8 + +args: +- -k none + +checks: + - filter: + count: 1 + match: + event_type: stats + stats.app_layer.error.http.parser: 0 \ No newline at end of file