suricata
detect-tls-ja3-string.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "debug.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-prefilter.h"
#include "detect-content.h"
#include "detect-pcre.h"
#include "detect-tls-ja3-string.h"
#include "flow.h"
#include "flow-util.h"
#include "flow-var.h"
#include "conf.h"
#include "conf-yaml-loader.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-spm.h"
#include "util-print.h"
#include "util-ja3.h"
#include "stream-tcp.h"
#include "app-layer.h"
#include "app-layer-ssl.h"
#include "util-unittest-helper.h"
Include dependency graph for detect-tls-ja3-string.c:

Go to the source code of this file.

Functions

void DetectTlsJa3StringRegister (void)
 Registration function for keyword: ja3_string. More...
 

Detailed Description

Author
Mats Klepsland mats..nosp@m.klep.nosp@m.sland.nosp@m.@gma.nosp@m.il.co.nosp@m.m

Implements support for ja3_string keyword.

Definition in file detect-tls-ja3-string.c.

Function Documentation

void DetectTlsJa3StringRegister ( void  )

Registration function for keyword: ja3_string.

Definition at line 72 of file detect-tls-ja3-string.c.

References Flow_::alproto, Signature_::alproto, ALPROTO_TLS, Flow_::alstate, AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), JA3Buffer_::data, DE_QUIET, SigTableElmt_::desc, DETECT_AL_TLS_JA3_STRING, DetectAppLayerInspectEngineRegister2(), DetectAppLayerMpmRegister2(), DetectBufferSetActiveList(), DetectBufferTypeGetByName(), DetectBufferTypeSetDescriptionByName(), DetectEngineAppendSig(), DetectEngineCtxFree(), DetectEngineCtxInit(), DetectEngineInspectBufferGeneric(), DetectEngineThreadCtxDeinit(), DetectEngineThreadCtxInit(), DOC_URL, DOC_VERSION, FAIL_IF, FAIL_IF_NOT, FAIL_IF_NULL, Flow_::flags, Packet_::flags, DetectEngineCtx_::flags, SigTableElmt_::flags, Packet_::flow, FLOW_DESTROY, FLOW_INITIALIZE, FLOW_IPV4, FLOW_PKT_ESTABLISHED, FLOW_PKT_TOSERVER, Packet_::flowflags, FlowGetProtoMapping(), FLOWLOCK_UNLOCK, FLOWLOCK_WRLOCK, SigTableElmt_::Free, InspectionBuffer::inspect, InspectionBufferApplyTransforms(), InspectionBufferGet(), InspectionBufferSetup(), SSLState_::ja3_str, Ja3IsDisabled(), SigTableElmt_::Match, mpm_default_matcher, DetectEngineCtx_::mpm_matcher, SigTableElmt_::name, PacketAlertCheck(), PASS, PKT_HAS_FLOW, PKT_STREAM_EST, PrefilterGenericMpmRegister(), Flow_::proto, Flow_::protoctx, Flow_::protomap, SigTableElmt_::RegisterTests, RunmodeIsUnittests(), SigTableElmt_::Setup, SIG_FLAG_TOSERVER, SigGroupBuild(), SIGMATCH_NOOPT, sigmatch_table, SigMatchSignatures(), str, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), TRUE, SigTableElmt_::url, UTHBuildPacketReal(), UTHFreePacket(), and UtRegisterTest().

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: