suricata
detect-http-client-body.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-content.h"
#include "detect-pcre.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 "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-htp.h"
#include "detect-http-client-body.h"
#include "stream-tcp.h"
#include "tests/detect-http-client-body.c"
Include dependency graph for detect-http-client-body.c:

Go to the source code of this file.

void DetectHttpClientBodyRegister (void)
 Registers the keyword handlers for the "http_client_body" keyword. More...
 

Detailed Description

Author
Anoop Saldanha anoop.nosp@m.sald.nosp@m.anha@.nosp@m.gmai.nosp@m.l.com

Implements support for the http_client_body keyword

Definition in file detect-http-client-body.c.

Function Documentation

void DetectHttpClientBodyRegister ( void  )

Registers the keyword handlers for the "http_client_body" keyword.

Definition at line 79 of file detect-http-client-body.c.

References ALPROTO_HTTP, Flow_::alstate, SigTableElmt_::alternative, AppLayerHtpEnableRequestBodyCallback(), AppLayerParserGetStateProgress(), HtpBody_::body_inspected, HTPCfgDir_::body_limit, BUG_ON, HtpState_::cfg, HtpBody_::content_len_so_far, SigTableElmt_::desc, DETECT_AL_HTTP_CLIENT_BODY, DETECT_HTTP_REQUEST_BODY, DetectAppLayerInspectEngineRegister2(), DetectAppLayerMpmRegister2(), DetectBufferSetActiveList(), DetectBufferTypeGetByName(), DetectBufferTypeRegisterSetupCallback(), DetectBufferTypeSetDescriptionByName(), DetectEngineContentModifierBufferSetup(), DetectEngineInspectBufferGeneric(), DetectHttpClientBodyRegisterTests(), DetectSignatureSetAppProto(), DOC_URL, DOC_VERSION, HtpBody_::first, flags, SigTableElmt_::flags, HTPCfgRec_::http_body_inline, Signature_::id, Signature_::init_data, SignatureInitData_::init_flags, InspectionBuffer::inspect, HTPCfgDir_::inspect_min_size, InspectionBuffer::inspect_offset, HTPCfgDir_::inspect_window, InspectionBufferGet(), InspectionBufferSetup(), SigTableElmt_::name, offset, PrefilterGenericMpmRegister(), SigTableElmt_::RegisterTests, HTPCfgRec_::request, HtpTxUserData_::request_body, HtpBody_::sb, SCEnter, SCLogDebug, SCReturnPtr, SigTableElmt_::Setup, SIG_FLAG_INIT_NEED_FLUSH, SIG_FLAG_TOSERVER, SIGMATCH_INFO_CONTENT_MODIFIER, SIGMATCH_INFO_STICKY_BUFFER, SIGMATCH_NOOPT, sigmatch_table, str, STREAM_EOF, StreamingBufferGetDataAtOffset(), and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: