suricata
|
#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-prefilter.h"
#include "detect-engine-content-inspection.h"
#include "detect-content.h"
#include "detect-pcre.h"
#include "detect-tls-certs.h"
#include "detect-engine-uint.h"
#include "flow.h"
#include "flow-util.h"
#include "flow-var.h"
#include "util-debug.h"
#include "util-spm.h"
#include "util-print.h"
#include "stream-tcp.h"
#include "app-layer.h"
#include "app-layer-ssl.h"
#include "util-profiling.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "tests/detect-tls-certs.c"
Go to the source code of this file.
Macros | |
#define | BUFFER_NAME "tls_validity" |
#define | KEYWORD_ID DETECT_AL_TLS_CHAIN_LEN |
#define | KEYWORD_NAME "tls.cert_chain_len" |
#define | KEYWORD_DESC "match TLS certificate chain length" |
#define | KEYWORD_URL "/rules/tls-keywords.html#tls-cert-chain-len" |
Functions | |
void | DetectTlsCertsRegister (void) |
Registration function for keyword: tls.certs. More... | |
void | DetectTlsCertChainLenRegister (void) |
Implements support for tls.certs keyword.
Definition in file detect-tls-certs.c.
#define BUFFER_NAME "tls_validity" |
Definition at line 161 of file detect-tls-certs.c.
#define KEYWORD_DESC "match TLS certificate chain length" |
Definition at line 164 of file detect-tls-certs.c.
#define KEYWORD_ID DETECT_AL_TLS_CHAIN_LEN |
Definition at line 162 of file detect-tls-certs.c.
#define KEYWORD_NAME "tls.cert_chain_len" |
Definition at line 163 of file detect-tls-certs.c.
#define KEYWORD_URL "/rules/tls-keywords.html#tls-cert-chain-len" |
Definition at line 165 of file detect-tls-certs.c.
void DetectTlsCertChainLenRegister | ( | void | ) |
Definition at line 246 of file detect-tls-certs.c.
References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, KEYWORD_DESC, KEYWORD_ID, KEYWORD_NAME, KEYWORD_URL, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
void DetectTlsCertsRegister | ( | void | ) |
Registration function for keyword: tls.certs.
Definition at line 113 of file detect-tls-certs.c.
References SigTableElmt_::desc, DETECT_AL_TLS_CERTS, SigTableElmt_::name, SigTableElmt_::Setup, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().