suricata
detect-http-content-type.c File Reference
Include dependency graph for detect-http-content-type.c:

Go to the source code of this file.

#define KEYWORD_NAME_LEGACY   "http_content_type"
 
#define KEYWORD_NAME   "http.content_type"
 
#define KEYWORD_DOC   "http-keywords.html#http-content-type"
 
#define BUFFER_NAME   "http_content_type"
 
#define BUFFER_DESC   "http content type header"
 
#define HEADER_NAME   "Content-Type"
 
#define KEYWORD_ID   DETECT_AL_HTTP_HEADER_CONTENT_TYPE
 
#define KEYWORD_TOSERVER   1
 
#define KEYWORD_TOCLIENT   1
 
void RegisterHttpHeadersContentType (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implement http_content_type sticky buffer

Definition in file detect-http-content-type.c.

Macro Definition Documentation

◆ BUFFER_DESC

#define BUFFER_DESC   "http content type header"

Definition at line 38 of file detect-http-content-type.c.

◆ BUFFER_NAME

#define BUFFER_NAME   "http_content_type"

Definition at line 37 of file detect-http-content-type.c.

◆ HEADER_NAME

#define HEADER_NAME   "Content-Type"

Definition at line 39 of file detect-http-content-type.c.

◆ KEYWORD_DOC

#define KEYWORD_DOC   "http-keywords.html#http-content-type"

Definition at line 36 of file detect-http-content-type.c.

◆ KEYWORD_ID

#define KEYWORD_ID   DETECT_AL_HTTP_HEADER_CONTENT_TYPE

Definition at line 40 of file detect-http-content-type.c.

◆ KEYWORD_NAME

#define KEYWORD_NAME   "http.content_type"

Definition at line 35 of file detect-http-content-type.c.

◆ KEYWORD_NAME_LEGACY

#define KEYWORD_NAME_LEGACY   "http_content_type"

Definition at line 34 of file detect-http-content-type.c.

◆ KEYWORD_TOCLIENT

#define KEYWORD_TOCLIENT   1

Definition at line 42 of file detect-http-content-type.c.

◆ KEYWORD_TOSERVER

#define KEYWORD_TOSERVER   1

Definition at line 41 of file detect-http-content-type.c.

Function Documentation

◆ RegisterHttpHeadersContentType()

void RegisterHttpHeadersContentType ( void  )

Definition at line 46 of file detect-http-content-type.c.

Referenced by DetectHttpHeadersRegister().

Here is the caller graph for this function: