suricata
detect-smb-share.c File Reference
#include "suricata-common.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-engine-state.h"
#include "detect-engine-prefilter.h"
#include "detect-engine-content-inspection.h"
#include "detect-smb-share.h"
#include "rust.h"
Include dependency graph for detect-smb-share.c:

Go to the source code of this file.

Macros

#define BUFFER_NAME   "smb_named_pipe"
 
#define KEYWORD_NAME   "smb.named_pipe"
 
#define KEYWORD_NAME_LEGACY   BUFFER_NAME
 
#define KEYWORD_ID   DETECT_SMB_NAMED_PIPE
 
#define BUFFER_NAME   "smb_share"
 
#define KEYWORD_NAME   "smb.share"
 
#define KEYWORD_NAME_LEGACY   BUFFER_NAME
 
#define KEYWORD_ID   DETECT_SMB_SHARE
 

Functions

void DetectSmbNamedPipeRegister (void)
 
void DetectSmbShareRegister (void)
 

Detailed Description

Macro Definition Documentation

◆ BUFFER_NAME [1/2]

#define BUFFER_NAME   "smb_named_pipe"

Definition at line 101 of file detect-smb-share.c.

◆ BUFFER_NAME [2/2]

#define BUFFER_NAME   "smb_share"

Definition at line 101 of file detect-smb-share.c.

◆ KEYWORD_ID [1/2]

#define KEYWORD_ID   DETECT_SMB_NAMED_PIPE

Definition at line 104 of file detect-smb-share.c.

◆ KEYWORD_ID [2/2]

#define KEYWORD_ID   DETECT_SMB_SHARE

Definition at line 104 of file detect-smb-share.c.

◆ KEYWORD_NAME [1/2]

#define KEYWORD_NAME   "smb.named_pipe"

Definition at line 102 of file detect-smb-share.c.

◆ KEYWORD_NAME [2/2]

#define KEYWORD_NAME   "smb.share"

Definition at line 102 of file detect-smb-share.c.

◆ KEYWORD_NAME_LEGACY [1/2]

#define KEYWORD_NAME_LEGACY   BUFFER_NAME

Definition at line 103 of file detect-smb-share.c.

◆ KEYWORD_NAME_LEGACY [2/2]

#define KEYWORD_NAME_LEGACY   BUFFER_NAME

Definition at line 103 of file detect-smb-share.c.

Function Documentation

◆ DetectSmbNamedPipeRegister()

void DetectSmbNamedPipeRegister ( void  )

Definition at line 78 of file detect-smb-share.c.

References SigTableElmt_::alias, KEYWORD_ID, KEYWORD_NAME, KEYWORD_NAME_LEGACY, SigTableElmt_::name, SigTableElmt_::Setup, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function:

◆ DetectSmbShareRegister()

void DetectSmbShareRegister ( void  )

Definition at line 139 of file detect-smb-share.c.

References SigTableElmt_::alias, KEYWORD_ID, KEYWORD_NAME, KEYWORD_NAME_LEGACY, SigTableElmt_::name, SigTableElmt_::Setup, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function: