suricata
detect-tls-cert-validity.h File Reference
This graph shows which files directly or indirectly include this file:

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. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_TLS_TYPE_NOTAFTER

#define DETECT_TLS_TYPE_NOTAFTER   1

Definition at line 40 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_TYPE_NOTBEFORE

#define DETECT_TLS_TYPE_NOTBEFORE   0

Definition at line 39 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_EQ

#define DETECT_TLS_VALIDITY_EQ   (1) /* equal */

Definition at line 28 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_EX

#define DETECT_TLS_VALIDITY_EX   (1<<4) /* expired */

Definition at line 34 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_GT

#define DETECT_TLS_VALIDITY_GT   (1<<2) /* greater than */

Definition at line 30 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_LT

#define DETECT_TLS_VALIDITY_LT   (1<<1) /* less than */

Definition at line 29 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_RA

#define DETECT_TLS_VALIDITY_RA   (1<<3) /* range */

Definition at line 31 of file detect-tls-cert-validity.h.

◆ DETECT_TLS_VALIDITY_VA

#define DETECT_TLS_VALIDITY_VA   (1<<5) /* valid */

Definition at line 37 of file detect-tls-cert-validity.h.

Typedef Documentation

◆ DetectTlsValidityData

Function Documentation

◆ DetectTlsValidityRegister()

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_AL_TLS_NOTBEFORE, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: