suricata
|
#include "suricata-common.h"
#include "detect.h"
#include "pkt-var.h"
#include "conf.h"
#include "threadvars.h"
#include "tm-modules.h"
#include "threads.h"
#include "app-layer-parser.h"
#include "detect-filemagic.h"
#include "stream.h"
#include "util-print.h"
#include "util-unittest.h"
#include "util-privs.h"
#include "util-debug.h"
#include "util-atomic.h"
#include "util-file.h"
#include "util-time.h"
#include "util-buffer.h"
#include "util-byte.h"
#include "util-validate.h"
#include "util-logopenfile.h"
#include "output.h"
#include "output-json.h"
#include "output-json-file.h"
#include "output-json-http.h"
#include "output-json-smtp.h"
#include "output-json-email-common.h"
#include "output-json-nfs.h"
#include "output-json-smb.h"
#include "app-layer-htp.h"
#include "app-layer-htp-xff.h"
#include "util-memcmp.h"
#include "stream-tcp-reassemble.h"
Go to the source code of this file.
Data Structures | |
struct | OutputFileCtx_ |
struct | JsonFileLogThread_ |
Typedefs | |
typedef struct OutputFileCtx_ | OutputFileCtx |
typedef struct JsonFileLogThread_ | JsonFileLogThread |
Functions | |
JsonBuilder * | JsonBuildFileInfoRecord (const Packet *p, const File *ff, void *tx, const uint64_t tx_id, const bool stored, uint8_t dir, HttpXFFCfg *xff_cfg, OutputJsonCtx *eve_ctx) |
void | JsonFileLogRegister (void) |
Log files we track.
Definition in file output-json-file.c.
typedef struct JsonFileLogThread_ JsonFileLogThread |
typedef struct OutputFileCtx_ OutputFileCtx |
JsonBuilder* JsonBuildFileInfoRecord | ( | const Packet * | p, |
const File * | ff, | ||
void * | tx, | ||
const uint64_t | tx_id, | ||
const bool | stored, | ||
uint8_t | dir, | ||
HttpXFFCfg * | xff_cfg, | ||
OutputJsonCtx * | eve_ctx | ||
) |
Definition at line 82 of file output-json-file.c.
References DEBUG_VALIDATE_BUG_ON, HttpXFFCfg_::flags, json_addr_info_zero, JsonAddrInfoInit(), LOG_DIR_FLOW, LOG_DIR_FLOW_TOCLIENT, LOG_DIR_FLOW_TOSERVER, XFF_DISABLED, and XFF_MAXLEN.
void JsonFileLogRegister | ( | void | ) |
Definition at line 352 of file output-json-file.c.
References LOGGER_JSON_FILE, and OutputRegisterFileSubModule().