From: Philippe Antoine Date: Thu, 25 Jan 2024 15:00:02 +0000 (+0100) Subject: http2: adds test with continuation frames X-Git-Tag: suricata-6.0.17~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=405b691a1a272d9eeaf11e201655372ccce3bb58;p=thirdparty%2Fsuricata-verify.git http2: adds test with continuation frames Ticket: 5926 --- diff --git a/tests/http2-continuation/README.md b/tests/http2-continuation/README.md new file mode 100644 index 000000000..f8f2717b1 --- /dev/null +++ b/tests/http2-continuation/README.md @@ -0,0 +1,9 @@ +# Description + +Test http2 reassembly of header + continuation frames + +https://redmine.openinfosecfoundation.org/issues/5926 + +# PCAP + +The pcap was produced with a crafted client against a go server diff --git a/tests/http2-continuation/input.pcap b/tests/http2-continuation/input.pcap new file mode 100644 index 000000000..8aa3823de Binary files /dev/null and b/tests/http2-continuation/input.pcap differ diff --git a/tests/http2-continuation/test.yaml b/tests/http2-continuation/test.yaml new file mode 100644 index 000000000..ce0e27ccf --- /dev/null +++ b/tests/http2-continuation/test.yaml @@ -0,0 +1,17 @@ +requires: + min-version: 7 + +args: +- -k none + +checks: +- filter: + count: 1 + match: + event_type: http + http.request_headers[6].name: namenamenamenamenamenamenamenamenamename + http.request_headers[6].value: valuevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevaluevalue +- filter: + count: 0 + match: + event_type: anomaly