suricata
detect-tls-sni.h File Reference
#include "app-layer-ssl.h"
Include dependency graph for detect-tls-sni.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void DetectTlsSniRegister (void)
 Registration function for keyword: tls_sni. More...
 
uint32_t DetectTlsSniInspectMpm (DetectEngineThreadCtx *det_ctx, SSLState *ssl_state)
 

Detailed Description

Function Documentation

uint32_t DetectTlsSniInspectMpm ( DetectEngineThreadCtx det_ctx,
SSLState ssl_state 
)
void DetectTlsSniRegister ( void  )

Registration function for keyword: tls_sni.

Definition at line 68 of file detect-tls-sni.c.

References Flow_::alproto, Signature_::alproto, ALPROTO_TLS, Flow_::alstate, AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), SSLState_::client_connp, DE_QUIET, SigTableElmt_::desc, DETECT_AL_TLS_SNI, 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(), 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, SigTableElmt_::Setup, SIG_FLAG_TOSERVER, SigGroupBuild(), SIGMATCH_NOOPT, sigmatch_table, SigMatchSignatures(), SSLStateConnp_::sni, 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: