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

Go to the source code of this file.

Macros

#define PARSE_REGEX1   "^(!?)([_a-zA-Z0-9]+)(.*)$"
 
#define PARSE_REGEX2   "^(?:\\s*[|,]\\s*(!?)([_a-zA-Z0-9]+))(.*)$"
 

Functions

void DetectSslStateRegister (void)
 Registers the keyword handlers for the "ssl_state" keyword. More...
 

Detailed Description

Author
Anoop Saldanha anoop.nosp@m.sald.nosp@m.anha@.nosp@m.gmai.nosp@m.l.com

Implements support for ssl_state keyword.

Definition in file detect-ssl-state.c.

Macro Definition Documentation

◆ PARSE_REGEX1

#define PARSE_REGEX1   "^(!?)([_a-zA-Z0-9]+)(.*)$"

Definition at line 54 of file detect-ssl-state.c.

◆ PARSE_REGEX2

#define PARSE_REGEX2   "^(?:\\s*[|,]\\s*(!?)([_a-zA-Z0-9]+))(.*)$"

Definition at line 57 of file detect-ssl-state.c.

Function Documentation

◆ DetectSslStateRegister()

void DetectSslStateRegister ( void  )

Registers the keyword handlers for the "ssl_state" keyword.

Definition at line 73 of file detect-ssl-state.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: