suricata
log-dnslog.c File Reference
#include "suricata-common.h"
#include "debug.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threads.h"
#include "threadvars.h"
#include "tm-threads.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "output.h"
#include "log-dnslog.h"
#include "app-layer-dns-common.h"
#include "app-layer-dns-udp.h"
#include "app-layer.h"
#include "util-privs.h"
#include "util-buffer.h"
#include "util-logopenfile.h"
#include "util-time.h"
Include dependency graph for log-dnslog.c:

Go to the source code of this file.

Data Structures

struct  LogDnsFileCtx_
 
struct  LogDnsLogThread_
 

Macros

#define DEFAULT_LOG_FILENAME   "dns.log"
 
#define MODULE_NAME   "LogDnsLog"
 
#define OUTPUT_BUFFER_SIZE   65535
 
#define QUERY   0
 

Typedefs

typedef struct LogDnsFileCtx_ LogDnsFileCtx
 
typedef struct LogDnsLogThread_ LogDnsLogThread
 

Functions

void LogDnsLogRegister (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Implements dns logging portion of the engine.

Definition in file log-dnslog.c.

Macro Definition Documentation

#define DEFAULT_LOG_FILENAME   "dns.log"

Definition at line 54 of file log-dnslog.c.

#define MODULE_NAME   "LogDnsLog"

Definition at line 56 of file log-dnslog.c.

Referenced by LogDnsLogRegister().

#define OUTPUT_BUFFER_SIZE   65535

Definition at line 58 of file log-dnslog.c.

Referenced by OutputJsonRegister().

#define QUERY   0

Definition at line 62 of file log-dnslog.c.

Typedef Documentation

typedef struct LogDnsFileCtx_ LogDnsFileCtx

Function Documentation

void LogDnsLogRegister ( void  )

Definition at line 364 of file log-dnslog.c.

References ALPROTO_DNS, LOGGER_DNS_TC, LOGGER_DNS_TS, MODULE_NAME, OutputRegisterTxModuleWithProgress(), and SCLogDebug.

Referenced by OutputRegisterLoggers().

Here is the call graph for this function:

Here is the caller graph for this function: