suricata
|
#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"
Go to the source code of this file.
#define | KEYWORD_NAME "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_TX_STEP 4 |
#define | BUFFER_SIZE_STEP 256 |
void | DetectHttpHeaderNamesRegister (void) |
Registers the keyword handlers for the "http_header" keyword. More... | |
Implements support http_header_names
Definition in file detect-http-header-names.c.
#define BUFFER_DESC "http header names" |
Definition at line 71 of file detect-http-header-names.c.
Referenced by DetectHttpHeaderNamesRegister().
#define BUFFER_NAME "http_header_names" |
Definition at line 70 of file detect-http-header-names.c.
Referenced by DetectHttpHeaderNamesRegister().
#define BUFFER_SIZE_STEP 256 |
Definition at line 76 of file detect-http-header-names.c.
#define BUFFER_TX_STEP 4 |
Definition at line 75 of file detect-http-header-names.c.
#define KEYWORD_DOC "http-keywords.html#http-header-names" |
Definition at line 69 of file detect-http-header-names.c.
Referenced by DetectHttpHeaderNamesRegister().
#define KEYWORD_NAME "http_header_names" |
Definition at line 68 of file detect-http-header-names.c.
Referenced by DetectHttpHeaderNamesRegister().
void DetectHttpHeaderNamesRegister | ( | void | ) |
Registers the keyword handlers for the "http_header" keyword.
Definition at line 373 of file detect-http-header-names.c.
References ALPROTO_HTTP, BUFFER_DESC, BUFFER_NAME, SigTableElmt_::desc, DETECT_AL_HTTP_HEADER_NAMES, DetectAppLayerInspectEngineRegister(), DetectAppLayerMpmRegister(), DetectBufferTypeGetByName(), DetectBufferTypeSetDescriptionByName(), DetectRegisterThreadCtxGlobalFuncs(), DOC_URL, DOC_VERSION, SigTableElmt_::flags, HttpHeaderThreadDataFree(), HttpHeaderThreadDataInit(), KEYWORD_DOC, KEYWORD_NAME, SigTableElmt_::name, SCLogDebug, SigTableElmt_::Setup, SIG_FLAG_TOCLIENT, SIG_FLAG_TOSERVER, SIGMATCH_NOOPT, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().