suricata
log-droplog.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 "log-droplog.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 dependency graph for log-droplog.c:

Go to the source code of this file.

Data Structures

struct  LogDropLogThread_
 

Macros

#define DEFAULT_LOG_FILENAME   "drop.log"
 
#define MODULE_NAME   "LogDropLog"
 

Typedefs

typedef struct LogDropLogThread_ LogDropLogThread
 

Functions

void LogDropLogRegister (void)
 function to register the drop log module More...
 

Detailed Description

Author
Gurvinder Singh gurvi.nosp@m.nder.nosp@m.singh.nosp@m.dahi.nosp@m.ya@gm.nosp@m.ail..nosp@m.com
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Drop log module to log the dropped packet information in a format compatible to Linux' Netfilter.

Definition in file log-droplog.c.

Macro Definition Documentation

#define DEFAULT_LOG_FILENAME   "drop.log"

Definition at line 57 of file log-droplog.c.

#define MODULE_NAME   "LogDropLog"

Definition at line 59 of file log-droplog.c.

Referenced by LogDropLogRegister().

Typedef Documentation

Function Documentation

void LogDropLogRegister ( void  )

function to register the drop log module

Definition at line 498 of file log-droplog.c.

References LOGGER_DROP, MODULE_NAME, and OutputRegisterPacketModule().

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: