suricata
|
Go to the source code of this file.
Data Structures | |
struct | DetectTlsValidityData_ |
Macros | |
#define | DETECT_TLS_VALIDITY_EQ (1) /* equal */ |
#define | DETECT_TLS_VALIDITY_LT (1<<1) /* less than */ |
#define | DETECT_TLS_VALIDITY_GT (1<<2) /* greater than */ |
#define | DETECT_TLS_VALIDITY_RA (1<<3) /* range */ |
#define | DETECT_TLS_VALIDITY_EX (1<<4) /* expired */ |
#define | DETECT_TLS_VALIDITY_VA (1<<5) /* valid */ |
#define | DETECT_TLS_TYPE_NOTBEFORE 0 |
#define | DETECT_TLS_TYPE_NOTAFTER 1 |
Typedefs | |
typedef struct DetectTlsValidityData_ | DetectTlsValidityData |
Functions | |
void | DetectTlsValidityRegister (void) |
Registration function for tls validity keywords. | |
Definition in file detect-tls-cert-validity.h.
#define DETECT_TLS_TYPE_NOTAFTER 1 |
Definition at line 39 of file detect-tls-cert-validity.h.
#define DETECT_TLS_TYPE_NOTBEFORE 0 |
Definition at line 38 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_EQ (1) /* equal */ |
Definition at line 27 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_EX (1<<4) /* expired */ |
Definition at line 33 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_GT (1<<2) /* greater than */ |
Definition at line 29 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_LT (1<<1) /* less than */ |
Definition at line 28 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_RA (1<<3) /* range */ |
Definition at line 30 of file detect-tls-cert-validity.h.
#define DETECT_TLS_VALIDITY_VA (1<<5) /* valid */ |
Definition at line 36 of file detect-tls-cert-validity.h.
typedef struct DetectTlsValidityData_ DetectTlsValidityData |
void DetectTlsValidityRegister | ( | void | ) |
Registration function for tls validity keywords.
Definition at line 80 of file detect-tls-cert-validity.c.
References SigTableElmt_::AppLayerTxMatch, SigTableElmt_::desc, DETECT_TLS_EXPIRED, DETECT_TLS_NOTAFTER, DETECT_TLS_NOTBEFORE, DETECT_TLS_VALID, DetectBufferTypeGetByName(), DetectSetupParseRegexes(), SigTableElmt_::flags, SigTableElmt_::Free, SigTableElmt_::name, PARSE_REGEX, SigTableElmt_::RegisterTests, SigTableElmt_::Setup, SIGMATCH_NOOPT, sigmatch_table, TlsExpiredRegisterTests(), TlsNotAfterRegisterTests(), TlsNotBeforeRegisterTests(), TlsValidRegisterTests(), and SigTableElmt_::url.
Referenced by SigTableSetup().