@ -89,4 +89,6 @@ alert http any any -> any any (msg:"SURICATA HTTP file name too long"; flow:esta
alert http any any -> any any (msg:"SURICATA HTTP failed protocol change"; flow:established; app-layer-event:http.failed_protocol_change; flowint:http.anomaly.count,+,1; classtype:protocol-command-decode; sid:2221053; rev:1;)
# next sid 2221054
#alert http any any -> any any (msg:"SURICATA HTTP request chunk extension"; flow:established; app-layer-event:http.request_chunk_extension; classtype:protocol-command-decode; sid:2221054; rev:1;)
{"Request field invalid",HTTP_DECODER_EVENT_REQUEST_HEADER_INVALID},
{"Response field invalid",HTTP_DECODER_EVENT_RESPONSE_HEADER_INVALID},
{"Request header name is not a token",HTTP_DECODER_EVENT_REQUEST_HEADER_INVALID},
{"Response header name is not a token",HTTP_DECODER_EVENT_RESPONSE_HEADER_INVALID},
/* { "Host information in request headers required by HTTP/1.1", HTTP_DECODER_EVENT_MISSING_HOST_HEADER}, <- tx flag HTP_HOST_MISSING
{"Host information ambiguous",HTTP_DECODER_EVENT_HOST_HEADER_AMBIGUOUS},<-txflagHTP_HOST_AMBIGUOUS*/
{"Invalid request field folding",HTTP_DECODER_EVENT_INVALID_REQUEST_FIELD_FOLDING},
{"Invalid response field folding",HTTP_DECODER_EVENT_INVALID_RESPONSE_FIELD_FOLDING},
/* line is now: htp_log(connp, HTP_LOG_MARK, HTP_LOG_ERROR, 0, "Request server port=%d number differs from the actual TCP port=%d", port, connp->conn->server_port);
*luckily,"Request server port="isunique*/
/* { "Request server port number differs from the actual TCP port", HTTP_DECODER_EVENT_REQUEST_SERVER_PORT_TCP_PORT_MISMATCH}, */
{"Request server port=",HTTP_DECODER_EVENT_REQUEST_SERVER_PORT_TCP_PORT_MISMATCH},
{"Request line: URI contains non-compliant delimiter",HTTP_DECODER_EVENT_URI_DELIM_NON_COMPLIANT},
{"Request line: non-compliant delimiter between Method and URI",HTTP_DECODER_EVENT_METHOD_DELIM_NON_COMPLIANT},
{"Request line: leading whitespace",HTTP_DECODER_EVENT_REQUEST_LINE_LEADING_WHITESPACE},
{"Too many response content encoding layers",HTTP_DECODER_EVENT_TOO_MANY_ENCODING_LAYERS},
{"C-E gzip has abnormal value",HTTP_DECODER_EVENT_ABNORMAL_CE_HEADER},
{"C-E deflate has abnormal value",HTTP_DECODER_EVENT_ABNORMAL_CE_HEADER},