suricata
output-json-drop.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "flow.h"
#include "conf.h"
#include "threads.h"
#include "tm-threads.h"
#include "threadvars.h"
#include "util-debug.h"
#include "decode-ipv4.h"
#include "detect-parse.h"
#include "detect-engine.h"
#include "detect-engine-mpm.h"
#include "detect-reference.h"
#include "output.h"
#include "output-json.h"
#include "output-json-alert.h"
#include "output-json-drop.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-classification-config.h"
#include "util-privs.h"
#include "util-print.h"
#include "util-proto-name.h"
#include "util-logopenfile.h"
#include "util-time.h"
#include "util-buffer.h"
Include dependency graph for output-json-drop.c:

Go to the source code of this file.

Data Structures

struct  JsonDropOutputCtx_
 
struct  JsonDropLogThread_
 

Macros

#define MODULE_NAME   "JsonDropLog"
 
#define LOG_DROP_ALERTS   1
 
#define DEFAULT_LOG_FILENAME   "drop.json"
 

Typedefs

typedef struct JsonDropOutputCtx_ JsonDropOutputCtx
 
typedef struct JsonDropLogThread_ JsonDropLogThread
 

Functions

void JsonDropLogRegister (void)
 

Detailed Description

Author
Tom DeCanio td@np.nosp@m.ulse.nosp@m.tech..nosp@m.com

JSON Drop log module to log the dropped packet information

Definition in file output-json-drop.c.

Macro Definition Documentation

#define DEFAULT_LOG_FILENAME   "drop.json"

Definition at line 254 of file output-json-drop.c.

#define LOG_DROP_ALERTS   1

Definition at line 61 of file output-json-drop.c.

#define MODULE_NAME   "JsonDropLog"

Definition at line 59 of file output-json-drop.c.

Referenced by JsonDropLogRegister().

Typedef Documentation

Function Documentation

void JsonDropLogRegister ( void  )

Definition at line 438 of file output-json-drop.c.

References LOGGER_JSON_DROP, MODULE_NAME, OutputRegisterPacketModule(), and OutputRegisterPacketSubModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: