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 "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
 
#define BUFFER_TX_STEP   4
 
#define BUFFER_SIZE_STEP   1024
 
typedef struct PrefilterMpmHttpHeaderCtx PrefilterMpmHttpHeaderCtx
 
void DetectHttpHeaderRegister (void)
 Registers the keyword handlers for the "http_header" keyword. More...
 

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 67 of file detect-http-header.c.

◆ BUFFER_TX_STEP

#define BUFFER_TX_STEP   4

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

Typedef Documentation

◆ PrefilterMpmHttpHeaderCtx

Function Documentation

◆ DetectHttpHeaderRegister()

void DetectHttpHeaderRegister ( void  )

Registers the keyword handlers for the "http_header" keyword.

Definition at line 406 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: