suricata
detect-tls-version.c File Reference
#include "suricata-common.h"
#include "threads.h"
#include "decode.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "flow.h"
#include "flow-var.h"
#include "flow-util.h"
#include "util-debug.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "app-layer.h"
#include "app-layer-parser.h"
#include "app-layer-ssl.h"
#include "detect-tls-version.h"
#include "stream-tcp.h"
#include "tests/detect-tls-version.c"
Include dependency graph for detect-tls-version.c:

Go to the source code of this file.

Macros

#define PARSE_REGEX   "^\\s*([A-z0-9\\.]+|\"[A-z0-9\\.]+\")\\s*$"
 Regex for parsing "id" option, matching number or "number". More...
 

Functions

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

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements the tls.version keyword

Definition in file detect-tls-version.c.

Macro Definition Documentation

◆ PARSE_REGEX

#define PARSE_REGEX   "^\\s*([A-z0-9\\.]+|\"[A-z0-9\\.]+\")\\s*$"

Regex for parsing "id" option, matching number or "number".

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

Function Documentation

◆ DetectTlsVersionRegister()

void DetectTlsVersionRegister ( void  )

Registration function for keyword: tls.version.

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

References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_AL_TLS_VERSION, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: