suricata
detect-ssl-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  SSLVersionData_
 
struct  DetectSslVersionData_
 

Macros

#define DETECT_SSL_VERSION_NEGATED   0x01
 

Typedefs

typedef struct SSLVersionData_ SSLVersionData
 
typedef struct DetectSslVersionData_ DetectSslVersionData
 

Enumerations

enum  {
  SSLv2 = 0, SSLv3 = 1, TLS10 = 2, TLS11 = 3,
  TLS12 = 4, TLS13 = 5, TLS_SIZE = 6, TLS_UNKNOWN = 7
}
 

Functions

void DetectSslVersionRegister (void)
 Registration function for keyword: ssl_version. More...
 

Detailed Description

Macro Definition Documentation

#define DETECT_SSL_VERSION_NEGATED   0x01

Definition at line 28 of file detect-ssl-version.h.

Referenced by DetectSslVersionRegister().

Typedef Documentation

Enumeration Type Documentation

anonymous enum
Enumerator
SSLv2 
SSLv3 
TLS10 
TLS11 
TLS12 
TLS13 
TLS_SIZE 
TLS_UNKNOWN 

Definition at line 30 of file detect-ssl-version.h.

Function Documentation

void DetectSslVersionRegister ( void  )

Registration function for keyword: ssl_version.

Definition at line 76 of file detect-ssl-version.c.

References ALPROTO_TLS, SigTableElmt_::AppLayerTxMatch, SSLState_::client_connp, SigMatch_::ctx, DetectSslVersionData_::data, SigTableElmt_::desc, DETECT_AL_SSL_VERSION, DETECT_SSL_VERSION_NEGATED, DetectBufferTypeRegister(), DetectSetupParseRegexes(), DetectSignatureSetAppProto(), DOC_URL, DOC_VERSION, SSLVersionData_::flags, flags, SigTableElmt_::Free, m, MAX_SUBSTRINGS, SigTableElmt_::name, PARSE_REGEX, 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, sigmatch_table, SigMatchAlloc(), SigMatchAppendSMToList(), SSL_VERSION_2, SSL_VERSION_3, SSLv2, SSLv3, str, STREAM_TOCLIENT, STREAM_TOSERVER, TLS10, TLS11, TLS12, TLS13, TLS_UNKNOWN, TLS_VERSION_10, TLS_VERSION_11, TLS_VERSION_12, TLS_VERSION_13, TLS_VERSION_13_DRAFT16, TLS_VERSION_13_DRAFT17, TLS_VERSION_13_DRAFT18, TLS_VERSION_13_DRAFT19, TLS_VERSION_13_DRAFT20, TLS_VERSION_13_DRAFT21, TLS_VERSION_13_DRAFT22, TLS_VERSION_13_DRAFT23, TLS_VERSION_13_DRAFT24, TLS_VERSION_13_DRAFT25, TLS_VERSION_13_DRAFT26, TLS_VERSION_13_DRAFT27, TLS_VERSION_13_DRAFT28, TLS_VERSION_13_PRE_DRAFT16, SigMatch_::type, unlikely, SigTableElmt_::url, SSLVersionData_::ver, and SSLStateConnp_::version.

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function: