--- /dev/null
+# Description
+
+Test http_header keywors for signature support when connection closes during the headers transmission.
+
+# PCAP
+
+The pcap comes from https://redmine.openinfosecfoundation.org/issues/2969
--- /dev/null
+alert http any any -> any any (msg: "'ng1nx' Server header found"; flow: established, from_server; content: "ng1nx"; nocase; http_header; classtype: attempted-admin; sid: 1; rev: 1; )
--- /dev/null
+requires:
+ features:
+ - HAVE_LIBJANSSON
+
+# disables checksum verification
+args:
+ - -k none
+
+checks:
+ - filter:
+ count: 1
+ match:
+ event_type: alert
+ alert.signature_id: 1