--- /dev/null
+# Description
+
+Test http over IPv6
+
+# PCAP
+
+The pcap comes from running
+`python -m SimpleHTTPServer 8000` or `python3 -m http.server` as a server and the following command
+`curl "[::1]:8000/"` as a client
--- /dev/null
+alert http any any -> any any (msg:"SURICATA HTTP Host header invalid"; flow:established,to_server; app-layer-event:http.request_header_host_invalid; flowint:http.anomaly.count,+,1; classtype:protocol-command-decode; sid:2221028; rev:1;)
+
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+
+# disables checksum verification
+args:
+ - -k none
+
+checks:
+ - filter:
+ count: 0
+ match:
+ event_type: anomaly
+ # no false positive
+ - filter:
+ count: 0
+ match:
+ event_type: alert