suricata
detect-http-header.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 "util-debug.h"
#include "util-print.h"
#include "util-memcmp.h"
#include "util-profiling.h"
#include "util-validate.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
#include "detect-http-header.h"
#include "detect-http-header-common.h"
#include "tests/detect-http-header.c"
Include dependency graph for detect-http-header.c:

Go to the source code of this file.

Data Structures

struct  PrefilterMpmHttpHeaderCtx
 
struct  HttpMultiBufItem
 
struct  HttpMultiBufHeaderThreadData
 
#define BUFFER_SIZE_STEP   1024
 
typedef struct PrefilterMpmHttpHeaderCtx PrefilterMpmHttpHeaderCtx
 
typedef struct HttpMultiBufItem HttpMultiBufItem
 
typedef struct HttpMultiBufHeaderThreadData HttpMultiBufHeaderThreadData
 
void DetectHttpHeaderRegister (void)
 Registers the keyword handlers for the "http_header" keyword. More...
 
void DetectHttpRequestHeaderRegister (void)
 
void DetectHttpResponseHeaderRegister (void)
 

Detailed Description

Author
Pablo Rincon pablo.nosp@m..rin.nosp@m.con.c.nosp@m.resp.nosp@m.o@gma.nosp@m.il.c.nosp@m.om

Implements support for http_header keyword.

Definition in file detect-http-header.c.

Macro Definition Documentation

◆ BUFFER_SIZE_STEP

#define BUFFER_SIZE_STEP   1024

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

Typedef Documentation

◆ HttpMultiBufHeaderThreadData

◆ HttpMultiBufItem

◆ PrefilterMpmHttpHeaderCtx

Function Documentation

◆ DetectHttpHeaderRegister()

void DetectHttpHeaderRegister ( void  )

Registers the keyword handlers for the "http_header" keyword.

Definition at line 410 of file detect-http-header.c.

References SigTableElmt_::desc, DETECT_AL_HTTP_HEADER, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectHttpRequestHeaderRegister()

void DetectHttpRequestHeaderRegister ( void  )

Definition at line 627 of file detect-http-header.c.

References SigTableElmt_::desc, DETECT_HTTP_REQUEST_HEADER, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectHttpResponseHeaderRegister()

void DetectHttpResponseHeaderRegister ( void  )

Definition at line 660 of file detect-http-header.c.

References SigTableElmt_::desc, DETECT_HTTP_RESPONSE_HEADER, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: