suricata
detect-tls.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-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-ssl.h"
#include "detect-tls.h"
#include "stream-tcp.h"
Include dependency graph for detect-tls.c:

Go to the source code of this file.

Macros

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

Functions

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

Detailed Description

Author
Pierre Chifflier pierr.nosp@m.e.ch.nosp@m.iffli.nosp@m.er@s.nosp@m.si.go.nosp@m.uv.f.nosp@m.r

Implements the tls.* keywords

Definition in file detect-tls.c.

Macro Definition Documentation

◆ PARSE_REGEX

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

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

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

◆ PARSE_REGEX_FINGERPRINT

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

Definition at line 69 of file detect-tls.c.

Function Documentation

◆ DetectTlsRegister()

void DetectTlsRegister ( void  )

Registration function for keyword: tls.version.

Definition at line 113 of file detect-tls.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: