suricata
detect-tls-version.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectTlsVersionData_
 

Macros

#define DETECT_TLS_VERSION_FLAG_RAW   BIT_U8(0)
 

Typedefs

typedef struct DetectTlsVersionData_ DetectTlsVersionData
 

Functions

void DetectTlsVersionRegister (void)
 Registration function for keyword: tls.version. More...
 

Detailed Description

Macro Definition Documentation

#define DETECT_TLS_VERSION_FLAG_RAW   BIT_U8(0)

Definition at line 27 of file detect-tls-version.h.

Referenced by DetectTlsVersionRegister().

Typedef Documentation

Function Documentation

void DetectTlsVersionRegister ( void  )

Registration function for keyword: tls.version.

Definition at line 73 of file detect-tls-version.c.

References Flow_::alproto, ALPROTO_TLS, Flow_::alstate, AppLayerParserParse(), AppLayerParserThreadCtxAlloc(), AppLayerParserThreadCtxFree(), SigTableElmt_::AppLayerTxMatch, SSLState_::client_connp, SSLStateConnp_::content_type, SigMatch_::ctx, DE_QUIET, SigTableElmt_::desc, DETECT_AL_TLS_VERSION, DETECT_TLS_VERSION_FLAG_RAW, DetectBufferTypeRegister(), DetectEngineCtxFree(), DetectEngineCtxInit(), DetectEngineThreadCtxDeinit(), DetectEngineThreadCtxInit(), DetectSetupParseRegexes(), DetectSignatureSetAppProto(), DOC_URL, DOC_VERSION, FAIL_IF, FAIL_IF_NOT, FAIL_IF_NOT_NULL, FAIL_IF_NULL, DetectTlsVersionData_::flags, flags, Packet_::flags, DetectEngineCtx_::flags, Packet_::flow, FLOW_DESTROY, FLOW_INITIALIZE, FLOW_PKT_ESTABLISHED, FLOW_PKT_TOSERVER, Packet_::flowflags, FLOWLOCK_UNLOCK, FLOWLOCK_WRLOCK, SigTableElmt_::Free, m, MAX_SUBSTRINGS, SigTableElmt_::name, PacketAlertCheck(), PARSE_REGEX, PASS, PKT_HAS_FLOW, PKT_STREAM_EST, Flow_::proto, Flow_::protoctx, SigTableElmt_::RegisterTests, res, SC_ERR_INVALID_VALUE, SC_ERR_PCRE_GET_SUBSTRING, SC_ERR_PCRE_MATCH, SCCalloc, SCEnter, SCFree, SCLogDebug, SCLogError, SCReturnInt, SCStrdup, SSLState_::server_connp, SigTableElmt_::Setup, DetectEngineCtx_::sig_list, SigCleanSignatures(), SigGroupBuild(), SigGroupCleanup(), SigInit(), sigmatch_table, SigMatchAlloc(), SigMatchAppendSMToList(), SigMatchSignatures(), str, STREAM_TOCLIENT, STREAM_TOSERVER, StreamTcpFreeConfig(), StreamTcpInitConfig(), TLS_VERSION_10, TLS_VERSION_11, TLS_VERSION_12, TLS_VERSION_13, TRUE, SigMatch_::type, unlikely, SigTableElmt_::url, UTHBuildPacket(), UTHFreePackets(), UtRegisterTest(), DetectTlsVersionData_::ver, SSLStateConnp_::version, and version.

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: