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

Go to the source code of this file.

Macros

#define PARSE_REGEX
 Regex for parsing "id" option, matching number or "number". More...
 
#define MAX_SUBSTRINGS   30
 

Functions

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

Macro Definition Documentation

#define MAX_SUBSTRINGS   30
#define PARSE_REGEX
Value:
"^\\s*(!?[A-z0-9.]+)\\s*,?\\s*(!?[A-z0-9.]+)?\\s*\\,?\\s*" \
"(!?[A-z0-9.]+)?\\s*,?\\s*(!?[A-z0-9.]+)?\\s*,?\\s*(!?[A-z0-9.]+)?\\s*$"

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

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

Referenced by DetectSslVersionRegister().

Function Documentation

void DetectSslVersionRegister ( void  )