--- /dev/null
+# Description
+
+Test http2 event for mismatch between authority and host
+
+# PCAP
+
+The pcap comes from https://redmine.openinfosecfoundation.org/issues/6425
--- /dev/null
+alert http2 any any -> any any (msg:"SURICATA HTTP2 authority host mismatch"; flow:established,to_server; app-layer-event:http2.authority_host_mismatch; classtype:protocol-command-decode; sid:2290013; rev:1;)
+
--- /dev/null
+requires:
+ min-version: 6.0.0
+
+# disables checksum verification
+args:
+ - -k none --set app-layer.protocols.http2.enabled=true
+
+checks:
+
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 2290013