suricata
detect-http-header-names.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "detect-engine-prefilter.h"
#include "detect-engine-content-inspection.h"
#include "detect-content.h"
#include "detect-pcre.h"
#include "detect-http-header-common.h"
#include "detect-http-header-names.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-spm.h"
#include "util-print.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
#include "detect-http-header.h"
#include "stream-tcp.h"
Include dependency graph for detect-http-header-names.c:

Go to the source code of this file.

#define KEYWORD_NAME   "http.header_names"
 
#define KEYWORD_NAME_LEGACY   "http_header_names"
 
#define KEYWORD_DOC   "http-keywords.html#http-header-names"
 
#define BUFFER_NAME   "http_header_names"
 
#define BUFFER_DESC   "http header names"
 
#define BUFFER_SIZE_STEP   256
 
void DetectHttpHeaderNamesRegister (void)
 Registers the keyword handlers for the "http.header_names" keyword. More...
 

Detailed Description

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

Implements support http_header_names

Definition in file detect-http-header-names.c.

Macro Definition Documentation

◆ BUFFER_DESC

#define BUFFER_DESC   "http header names"

Definition at line 71 of file detect-http-header-names.c.

◆ BUFFER_NAME

#define BUFFER_NAME   "http_header_names"

Definition at line 70 of file detect-http-header-names.c.

◆ BUFFER_SIZE_STEP

#define BUFFER_SIZE_STEP   256

Definition at line 75 of file detect-http-header-names.c.

◆ KEYWORD_DOC

#define KEYWORD_DOC   "http-keywords.html#http-header-names"

Definition at line 69 of file detect-http-header-names.c.

◆ KEYWORD_NAME

#define KEYWORD_NAME   "http.header_names"

Definition at line 67 of file detect-http-header-names.c.

◆ KEYWORD_NAME_LEGACY

#define KEYWORD_NAME_LEGACY   "http_header_names"

Definition at line 68 of file detect-http-header-names.c.

Function Documentation

◆ DetectHttpHeaderNamesRegister()

void DetectHttpHeaderNamesRegister ( void  )

Registers the keyword handlers for the "http.header_names" keyword.

Definition at line 211 of file detect-http-header-names.c.

References SigTableElmt_::alias, BUFFER_NAME, SigTableElmt_::desc, DETECT_AL_HTTP_HEADER_NAMES, KEYWORD_DOC, KEYWORD_NAME, KEYWORD_NAME_LEGACY, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: