suricata
detect-template-rust-buffer.c File Reference
#include "suricata-common.h"
#include "conf.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-content-inspection.h"
#include "detect-template-rust-buffer.h"
#include "app-layer-parser.h"
Include dependency graph for detect-template-rust-buffer.c:

Go to the source code of this file.

Functions

void DetectTemplateRustBufferRegister (void)
 

Detailed Description

Author
FirstName LastName <yourname>

Set up of the "template_rust" keyword to allow content inspections on the decoded template application layer buffers.

Definition in file detect-template-rust-buffer.c.

Function Documentation

void DetectTemplateRustBufferRegister ( void  )

Definition at line 44 of file detect-template-rust-buffer.c.

References Flow_::alproto, ALPROTO_TEMPLATE, ALPROTO_TEMPLATE_RUST, Flow_::alstate, AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), ConfGetNode(), SigTableElmt_::desc, DETECT_AL_TEMPLATE_RUST_BUFFER, DETECT_CI_FLAGS_SINGLE, DETECT_ENGINE_CONTENT_INSPECTION_MODE_STATE, DetectAppLayerInspectEngineRegister(), DetectBufferTypeGetByName(), DetectEngineAppendSig(), DetectEngineContentInspection(), DetectEngineCtxFree(), DetectEngineCtxInit(), DetectEngineThreadCtxDeinit(), DetectEngineThreadCtxInit(), DetectSignatureSetAppProto(), DetectTemplateRustBufferRegister(), FAIL_IF, FAIL_IF_NULL, flags, Flow_::flags, Packet_::flags, SigTableElmt_::flags, Packet_::flow, FLOW_DESTROY, FLOW_INITIALIZE, FLOW_IPV4, FLOW_PKT_ESTABLISHED, FLOW_PKT_TOSERVER, Packet_::flowflags, FLOWLOCK_UNLOCK, FLOWLOCK_WRLOCK, Signature_::init_data, SignatureInitData_::list, SigTableElmt_::name, PacketAlertCheck(), PASS, PKT_HAS_FLOW, PKT_STREAM_EST, Flow_::proto, Flow_::protoctx, SigTableElmt_::RegisterTests, SCLogNotice, SigTableElmt_::Setup, SIG_FLAG_TOCLIENT, SIG_FLAG_TOSERVER, SigGroupBuild(), SigGroupCleanup(), SIGMATCH_NOOPT, sigmatch_table, SigMatchSignatures(), str, STREAM_TOCLIENT, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), TRUE, tx_id, UTHBuildPacket(), UTHFreePacket(), and UtRegisterTest().

Referenced by DetectTemplateRustBufferRegister(), and SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: